Currently mash pulls the most recently tagged version of every package in the tag it's mashing.
It would be nice if there was a config option to pull instead the most recent N packages in the tag (defaulting to 1).
Right now there is an option for "latest". If it's true (default) it only gets the latest package in the tag. If it's false, it gets all packages in the tag. It would be nice to have a middle ground.
Optionally, perhaps there could be a way to pull in non latest packages into the tag only if they are newer than some time limit. Ie, pull latest always, pull N more only if they were tagged in newer than N days ago.
This option would be handy for users who wish to downgrade to just the most recent previous version.
Created attachment 882816 [details]
Patch to let the "latest" config option be either an int or a boo
This depends on a similar feature being introduced to koji itself.
Rebased and re-submitted patch as a pull-request here:
That pull request was merged today: https://pagure.io/mash/pull-request/2