Skip to content

feat: add ParseReferenceList method - #1045

Closed
TerryHowe wants to merge 3 commits into
oras-project:mainfrom
TerryHowe:claude/add-reference-list-struct-01PQ8S2i1bGhg7a8xaGXWvhS
Closed

TerryHowe wants to merge 3 commits into
oras-project:mainfrom
TerryHowe:claude/add-reference-list-struct-01PQ8S2i1bGhg7a8xaGXWvhS

Conversation

@TerryHowe

Copy link
Copy Markdown
Member

Add support for parsing comma-separated lists of tags or digests into a list of references. This allows users to specify multiple references to the same repository in a compact format.

Examples:

  • "localhost:5000/hello:v1,v2,v3" (tags)
  • "localhost:5000/hello@sha256:digest1,sha256:digest2" (digests)

The implementation handles registry ports correctly and validates all individual references.

@codecov

codecov Bot commented Nov 14, 2025 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 91.30435% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.59%. Comparing base (0324380) to head (496164c).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
registry/reference_list.go 91.30% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1045      +/-   ##
==========================================
+ Coverage   82.54%   82.59%   +0.04%     
==========================================
  Files          64       65       +1     
  Lines        4779     4802      +23     
==========================================
+ Hits         3945     3966      +21     
- Misses        510      511       +1     
- Partials      324      325       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@TerryHowe TerryHowe added the v3 Things belongs to version 3.x label Nov 17, 2025
@TerryHowe TerryHowe added this to the v3.0.0 milestone Nov 17, 2025
@TerryHowe
TerryHowe force-pushed the claude/add-reference-list-struct-01PQ8S2i1bGhg7a8xaGXWvhS branch 2 times, most recently from 096d7a7 to e355b9e Compare November 19, 2025 14:15
@TerryHowe TerryHowe changed the title feat: add NewReferenceList method feat: add ParseReferenceList method Nov 19, 2025
Add support for parsing comma-separated lists of tags or digests
into a list of references. This allows users to specify multiple
references to the same repository in a compact format.

Examples:
- "localhost:5000/hello:v1,v2,v3" (tags)
- "localhost:5000/hello@sha256:digest1,sha256:digest2" (digests)

The implementation handles registry ports correctly and validates
all individual references.

Signed-off-by: Terry Howe <[email protected]>
@TerryHowe
TerryHowe force-pushed the claude/add-reference-list-struct-01PQ8S2i1bGhg7a8xaGXWvhS branch from e355b9e to e340e81 Compare November 23, 2025 21:30
TerryHowe added a commit to TerryHowe/oras-go that referenced this pull request Feb 17, 2026
@TerryHowe

Copy link
Copy Markdown
Member Author

Going a different route

@TerryHowe TerryHowe closed this Mar 9, 2026
@TerryHowe
TerryHowe deleted the claude/add-reference-list-struct-01PQ8S2i1bGhg7a8xaGXWvhS branch October 16, 2026 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v3 Things belongs to version 3.x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants