Skip to content

Acr Purge: Improve purge command to support untagged manifest cleanup independently #486

@estebanreyl

Description

@estebanreyl

Description:

The current implementation of the purge command introduces the --untagged flag, which enables cleanup of untagged manifests when a specific filter is applied. However, this behavior combines the cleanup of both tagged and untagged manifests, making it cumbersome to perform a cleanup of only untagged manifests.

Additionally, the date filters do not apply to untagged manifests, further complicating targeted cleanup operations.

Expected Behavior:

Allow users to clean up untagged manifests independently of tagged ones. Ensure that filters (such as date filters) can be applied or are more clearly documented as inapplicable to untagged manifests.

Suggested Improvement:

Introduce a dedicated flag or mode that enables exclusive cleanup of untagged manifests without requiring tagged filters. This would simplify the process and improve usability for users targeting untagged manifest cleanup only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions