Closed ndcampbell closed 6 years ago
a policy can use this like:
def purgelist(artifactory): """Moves artifacts to yum-local after 3 days.""" movable = artifactory.time_based_retention(keep_days=3) artifactory.move_artifacts(artifacts=movable, dest_repository='yum-local') return []
Can we have a unit test for this one?
@bazimov includes a unit test as well as restructured the documentation, part of restructuring included adding an example of using this new move functionality.
a policy can use this like: