summaryrefslogtreecommitdiffstats
path: root/mga-move-pkg
Commit message (Collapse)AuthorAgeFilesLines
* move: Bail if we pass --no-confirm, but do not supply all SRPM names.Colin Guthrie2014-07-311-16/+24
| | | | | As --no-confirm may be used from automated scripts, better bail out here rather than waiting for user input that will never come.
* move: Totally rewrite mga-move-pkg to handle multiple arguments.Colin Guthrie2014-07-311-131/+196
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows us to specify multiple packages (from various distro releases and sections) to be processed. All the arguments are parsed into arrays and then these arrays are looped over and processed all at once. If the --sync option is given then it will only update the affected hdlists and md5sums once. The idea next is to write a wrapper in python which will take advisory bug numbers as arguments and then: 1. Ensure each has an ID assigned (this has to be done first) 2. Calculate all the packages involved. 3. Run this script with the --sync --no-confirm options 4. Close all the bugs with a comment + link to the Advisory (hence the need for the advisory ID in step 1 and the desire to use python as this is how the git->bz integration works). This scheme should save a lot of time, but stops just short of fully automating things. Sadly the cronjob that runs "mgaadv mksite" would likely have to be disabled, but we should be able to add a new status field that does these moves too and incorporate that into mgaadv and thus provide full automation \o/
* move: Fix confirmation check (again)Colin Guthrie2014-07-301-1/+1
|
* move: Fix sanity check display.user/colin/improvementsColin Guthrie2014-07-291-8/+8
| | | | | Also some cosmetic changes and fixes for the handling of the sanity check response.
* Move the --dry-run handling into the functions file.Colin Guthrie2014-07-291-5/+0
|
* Support running the scripts from a direct git clone.Colin Guthrie2014-07-291-1/+6
|
* move: Rename mga-move-update to mga-move-pkgColin Guthrie2014-07-291-0/+200
The -update suffix was no longer relevant since support for other subsections than 'updates' was added. Also install it :)