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

Support filtering predecessors by annotation on ExtendedCopy #203

Closed
Wwwsylvia opened this issue Jun 27, 2022 · 4 comments
Closed

Support filtering predecessors by annotation on ExtendedCopy #203

Wwwsylvia opened this issue Jun 27, 2022 · 4 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Wwwsylvia
Copy link
Member

Wwwsylvia commented Jun 27, 2022

When using ExtendedCopy, clients may want to filter predecessors of a node by their annotation. Specifically,

  • Include predecessors whose annotation matches a given regex
  • Exclude predecessors whose annotation matches a given regex

To support this, we can provide some utility methods that configure the FindPredecessors option for clients.

Original issue: #29

@Wwwsylvia Wwwsylvia added the enhancement New feature or request label Jun 27, 2022
@Wwwsylvia Wwwsylvia added this to the v2.0.0-rc.1 milestone Jun 27, 2022
@Wwwsylvia
Copy link
Member Author

@wangxiaoxuan273 Could you help with this?

@wangxiaoxuan273
Copy link
Contributor

Sure. Please assign this to me.

@shizhMSFT
Copy link
Contributor

Scenario: oras-project/oras#307

@shizhMSFT
Copy link
Contributor

Resolved by #259

Repository owner moved this from PR review to Done in ORAS-Planning Aug 8, 2022
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
No open projects
Status: Done
Development

No branches or pull requests

3 participants