Skip to content

Build: Add snapshot detail endpoint with package diffs#1535

Draft
dominikvagner wants to merge 1 commit into
content-services:mainfrom
dominikvagner:snapshot-diffs
Draft

Build: Add snapshot detail endpoint with package diffs#1535
dominikvagner wants to merge 1 commit into
content-services:mainfrom
dominikvagner:snapshot-diffs

Conversation

@dominikvagner

Copy link
Copy Markdown
Member

Summary

  • add GET /repositories/{repo_uuid}/snapshots/{snapshot_uuid} for repo-scoped snapshot detail
  • include added and removed package diffs from Pulp using the stored snapshot version href, with name, version, release, and arch
  • cover the new DAO and handler paths with tests and refresh generated mocks plus OpenAPI docs

Test plan

  • go test ./pkg/dao -run TestSnapshotsSuite
  • go test ./pkg/handler -run TestSnapshotSuite

Made with Cursor

Expose repo-scoped snapshot details and package diffs so clients can
show snapshot changes from a single API call.

Co-authored-by: Cursor <cursoragent@cursor.com>
@dominikvagner dominikvagner requested a review from a team as a code owner June 10, 2026 14:53
@dominikvagner dominikvagner changed the title Add snapshot detail endpoint with package diffs Build: Add snapshot detail endpoint with package diffs Jun 10, 2026
@TenSt TenSt self-assigned this Jun 10, 2026
@dominikvagner dominikvagner marked this pull request as draft June 10, 2026 15:10
@xbhouse

xbhouse commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

/retest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants