summaryrefslogtreecommitdiffstats
path: root/scripts/pkgmaint.py
AgeCommit message (Collapse)AuthorFilesLines
2016-09-29Add a main() method to all Python scriptsLukas Fleischer1-8/+15
Move the main program logic of all scripts to main() methods such that they can be used as modules and easily be invoked by setuptools wrapper scripts. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2015-09-29Remove empty package bases after 24 hoursLukas Fleischer1-0/+25
By using the setup-repo command, it is currently possible to create empty package bases, which can be used to make package base reservations. Add a maintenance script to remove such empty package bases after 24 hours. Fixes FS#46279. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>