acr icon indicating copy to clipboard operation
acr copied to clipboard

Make --filter a global parameter

Open JayyTurakhia opened this issue 4 years ago • 3 comments

What is the problem you're trying to solve

  • --filter if added to az acr repository show-tags --filter ".test-image" can be used to separate container images based on regex
  • --filter if added to az acr repository list --filter ".my-awesome-image" can be used to separate repos based on regex

Note - This param is already implemented in az acr purge as documented here

Describe the solution you'd like Make --filter a global parameter

JayyTurakhia avatar Sep 01 '21 20:09 JayyTurakhia

Hello @JayyTurakhia , thanks for the feature request! Could you help us to understand the E2E scenario that you are interested in? What would you do with the filtered repositories/tags?

Wwwsylvia avatar Sep 03 '21 09:09 Wwwsylvia

@Wwwsylvia

Sure. We tag some containers as "rc" meaning release candidates. It would be great to be able to list fetch these with a regex rather than having a filtering logic on client side.

Another use is to list containers having semver master. This could be again done via regex by filtering those having Major.Minor.Version as opposed to Major.Minor.Version-feature

At times, we also want to list repositories that belong to CICD, Helm and the business logic containers. This is done by having special naming for these, but then no way filter these out by reading back or referring

JayyTurakhia avatar Sep 03 '21 13:09 JayyTurakhia

Thanks @JayyTurakhia for the information. @toddysm This is a feature request. Do we want to support --filter parameter in az acr commands?

Wwwsylvia avatar Sep 06 '21 07:09 Wwwsylvia

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Nov 15 '23 01:11 github-actions[bot]

This issue was closed because it has been stalled for 30 days with no activity.

github-actions[bot] avatar Dec 16 '23 01:12 github-actions[bot]