diff options
author | Colin Guthrie <colin@mageia.org> | 2014-07-31 00:30:24 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2014-07-31 00:30:30 +0100 |
commit | 6efe180a02aa2c41808b817df504781a434673d0 (patch) | |
tree | 3e4dc13c1470e78693f64d902b1e585e3a3e21e7 /mga-hdlists | |
parent | d8aa2da056671a57d40a0a52d53d288df2257e68 (diff) | |
download | mgatools-6efe180a02aa2c41808b817df504781a434673d0.tar mgatools-6efe180a02aa2c41808b817df504781a434673d0.tar.gz mgatools-6efe180a02aa2c41808b817df504781a434673d0.tar.bz2 mgatools-6efe180a02aa2c41808b817df504781a434673d0.tar.xz mgatools-6efe180a02aa2c41808b817df504781a434673d0.zip |
move: Totally rewrite mga-move-pkg to handle multiple arguments.
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/
Diffstat (limited to 'mga-hdlists')
0 files changed, 0 insertions, 0 deletions