-
Notifications
You must be signed in to change notification settings - Fork 28
Description
After basic SWR support has been added in 0.31.0, it would be helpful to be able to list tags with their meta information (especially created/updated) and to delete specific tags.
So far I wasn't able to get this information from the current implementation.
Interestingly, conn.swr.get_repository('my-org', 'my-repo') returns an empty list for the tags attribute.
When querying the repository list using conn.swr.repositories() each repository item has all the tags in tags attribute but only the tag name without meta information.
My Use case:
since it is not possible in any useful way to bulk delete old image tags from SWR or to define an auto delete policy, I would like to clean up some repositories using the client.
As far as I understand, the OTC API already support the appropriate endpoints (https://docs.otc.t-systems.com/software-repository-container/api-ref/api/image_tag_management/index.html).