Skip to content

docs: add oras-go v3 migration follow-up proposal - #2268

Closed
TerryHowe wants to merge 2 commits into
oras-project:mainfrom
TerryHowe:docs/oras-go-v3-migration-proposal
Closed

TerryHowe wants to merge 2 commits into
oras-project:mainfrom
TerryHowe:docs/oras-go-v3-migration-proposal

Conversation

@TerryHowe

Copy link
Copy Markdown
Member

What this PR does / why we need it:

Adds docs/proposals/oras-go-v3-migration.md, a proposal for the work remaining after the mechanical oras-go v2 → v3 migration in #2002:

  • Part 1 — replace code v3 now provides: process-safe cache via oci.NewStorage(), drop internal/cache for content/cache, remote.NewWarningLogger(), remote.NewLoggingTransport()
  • Part 2 — adopt new v3 features: ClientBuilder + properties.Registry, config.LoadConfigs() (Podman auth.json, certs.d TLS, registries.conf mirrors), oras.CopyError
  • Part 3 — future work needing new flags: policy enforcement, signature verification, objects, multi-tag references
  • An implementation order for follow-up PRs

API names are checked against oras-go v3.0.0-rc.3. Split out of #2002 so that PR stays focused on the migration.

Which issue(s) this PR fixes:
Refs #2118

Please check the following list:

  • Does the affected code have corresponding tests, e.g. unit test, E2E test? N/A, docs only
  • Does this change require a documentation update? This is the documentation
  • Does this introduce breaking changes that would require an announcement or bumping the major version? No
  • Do all new files have an appropriate license header? Proposal docs in docs/proposals/ have no license header

@codecov

codecov Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.81%. Comparing base (ed26899) to head (36df3c8).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2268   +/-   ##
=======================================
  Coverage   60.81%   60.81%           
=======================================
  Files         140      140           
  Lines        6091     6091           
=======================================
  Hits         3704     3704           
  Misses       2166     2166           
  Partials      221      221           

☔ View full report in Codecov by Harness.
📢 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.

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.

1 participant