--recent flag for annotate
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
Research direction
Start with the annotate command and compare its flag behavior with purge, especially the existing --ago convention mentioned in the issue. Review how the current oras and az cli workflow identifies images pushed within 24 hours; done means annotate can be run from a cron job to target those ACR images without the manual workflow.
Written by the indexing model from the issue text.
Description
What is the problem you're trying to solve
Wondering if you folks are open to a contribution which adds the --recent flag to annotate.
Annotate images that were pushed to the ACR within the last 24hrs.
Was thinking of using --ago naming for the flag here as well, but that runs counter to the purge command where all images > 1d are purged.
Our usecase is as follows:
We'd like to annotate all images pushed to our acr with a cron job.
I'm aware the book method of annotating images at push time is not a cron, but a ACR webhooks + serverless functions.
It's really heavy on infra & management overhead, which is why we'd rather go with a cron job.
We currently do this manually using oras & az cli, but would rather have 1 tool to do the annotation.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Additional context
Add any other context or screenshots about the feature request here.
- Dominant language
- Go
- Stars
- 70
- Forks
- 52
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 10
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/acr-cli
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 52/100
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 30/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
enhancement needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100