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

add an option to allow skip dangling referrers index deletion error for oras.Copy #510

Closed
qweeah opened this issue May 18, 2023 · 1 comment · Fixed by #515
Closed

add an option to allow skip dangling referrers index deletion error for oras.Copy #510

qweeah opened this issue May 18, 2023 · 1 comment · Fixed by #515

Comments

@qweeah
Copy link
Contributor

qweeah commented May 18, 2023

To support oras-project/oras#952, need to introduce a new option to

  1. ignore ReferrersError occurred for oras.Copy, or
  2. skip deleting dangling referrer index for oras.Copy

Open for any other suggestion.

@qweeah
Copy link
Contributor Author

qweeah commented May 19, 2023

We should add a repository-level switch, say ReferrersGc, which user can use to disable deleting dangling referrers index for all command operated on the remote registry.

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 a pull request may close this issue.

1 participant