#9 Implement image cleanup policy for Azure
Closed by jcline. Opened by jcline.

This runs image cleanup after processing a new Azure image.

The policy is arbitrarily as follows:

 - For each image definition (Fedora 40, for example), only the 7 latest
   images which are marked as "excluded from latest" are kept. Images
   that are not excluded are kept until their EOL is reached.
 - Images which have an end-of-life date older than the current time are
   removed.
 - Any image definitions which have no images in them are removed.
 - Rawhide is treated as a special case; only the latest 7 are kept
   regardless of whether they are marked as "excluded from latest" or
   not.

rebased onto d7264b8aedf562ecbcf3edb6a3f687de550c52b4

rebased onto f8d64f55a15e561291e74247c33cc1389b55eaf9

Ugh, I forgot Pagure doesn't handle using the CLI. This actually did get merged.

Pull-Request has been closed by jcline