summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Port most tools to python 3William Hubbs2014-12-291-20/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit ports the following tools to python 3. - common code - batch-stabilize - file-stabilization-bugs - maintainer-timeout - reverse-dependencies - stabilization-candidates This is a list of the changes: - Remove the dependency on pybugz; these tools now use xmlrpc.client directly. This is needed because the next release of pybugz does the same thing; we no longer have a bugzilla module since it was just a wrapper. Handle tokens correctly: - When we log into Bugzilla, we are given a token we must pass back to it with every command we issue. - Log out at the end of every session to expire the token. Fix the state file processing: - The pickle module handles binary files, not text files, so read and write the state file in binary mode. - Add fix_imports=True when reading the state file so a python-2 compatible state file can be read. - Do not set the URL for a stabilization request X-Gentoo-Bug: 532054 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=532054 X-Gentoo-Bug: 532368 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=532368
* Use python2 as interpreterPawel Hajdan, Jr2013-06-211-1/+1
| | | | Fixes Gentoo bug #429320 by Pacho Ramos.
* Apply feedback from gentoo-dev:Pawel Hajdan, Jr2013-06-211-3/+11
| | | | | | | | | - put package name and version first in the summary (for better sorting of bugs by summary) - add STABLEREQ keyword at the time of filing the bug (this needs to be done after creating the bug, limitation of the Bugzilla API)
* Do not put empty lines in the stabilization bugPawel Hajdan, Jr2013-05-201-3/+3
| | | | Reported on gentoo-dev by Jeroen Roovers.
* Stabilization candidates: split out the bug filing script.Pawel Hajdan, Jr2013-02-281-0/+103