Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-visit the deprecation design of oras.Pack #568

Closed
Wwwsylvia opened this issue Aug 9, 2023 · 0 comments · Fixed by #570
Closed

Re-visit the deprecation design of oras.Pack #568

Wwwsylvia opened this issue Aug 9, 2023 · 0 comments · Fixed by #570
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Wwwsylvia
Copy link
Member

Wwwsylvia commented Aug 9, 2023

Recently we introduced a new PackOption called PackManifestTypeImageV1_1_0_RC2 for oras.Pack but marked it as deprecated (See #532).
This might not be appropriate as it will cause linter error on the caller side.
We need to re-visit the design for oras.Pack.

@Wwwsylvia Wwwsylvia added the enhancement New feature or request label Aug 9, 2023
@Wwwsylvia Wwwsylvia added this to the v2.3.0 milestone Aug 9, 2023
@Wwwsylvia Wwwsylvia self-assigned this Aug 9, 2023
Wwwsylvia added a commit that referenced this issue Aug 22, 2023
This PR refactors `oras.Pack` that was updated by #532.

1. Move the support of Image Manifest `v1.1.0-rc4` to `PackManifest`
2. Deprecate `Pack`

Resolves: #568
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging a pull request may close this issue.

1 participant