KeepLatestNFilesInFolder not working properly when more than one repository is selected #69
Labels
bug
Something isn't working
good first issue
Good for newcomers
hacktoberfest
help wanted
Extra attention is needed
Hi all,
When filtering by
RepoByMask
instead ofRepo
, multiple repositories could be selected.In this case, the rule
KeepLatestNFilesInFolder
won't work properly because doesn't use the repository name for grouping the artifacts: https://github.com/devopshq/artifactory-cleanup/blob/master/artifactory_cleanup/rules/keep.py#L134My proposal is to modify it to something like this:
It would be nice to add the repo name to this print too: https://github.com/devopshq/artifactory-cleanup/blob/master/artifactory_cleanup/rules/keep.py#L146
Thanks for this awesome tool!
The text was updated successfully, but these errors were encountered: