aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* output a proper error message if the bug does not existRolf Eike Beer2021-05-291-0/+4
| | | | | | | | | | Otherwise one would see the following misleading message: File "/usr/lib/python-exec/python3.8/tatt", line 155, in <module> response = response["bugs"][0] IndexError: list index out of range Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
* scripts/tatt: drop invalid ~ prefix to archSam James2021-02-101-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* tatt: Support file-only jobs via Nattkav0.8Sam James2020-09-101-1/+1
| | | | | | Signed-off-by: Sam James <sam@gentoo.org> Closes: https://github.com/gentoo/tatt/pull/67 Signed-off-by: Sam James <sam@gentoo.org>
* tool: Refactor repodir handlingSam James2020-09-101-4/+4
| | | | | | | | | | | | | | | | | * Use given repodir in config if not blank * Ditch ~/gentoo-x86 default (it's ancient) and error out if it doesn't exist * If no repodir given, guess: * /var/db/repos/gentoo, and then * /usr/portage Now that we use nattka, we need a working repodir. Try some sensible defaults if the given one doesn't work. tatt: Support file-only jobs via Nattka Signed-off-by: Sam James <sam@gentoo.org>
* package lists: Use nattka to parse keywording bugsSam James2020-09-101-3/+4
| | | | | | | | | | NATTkA is now used for most of the package lists on Bugzilla. Use it to parse the lists because currently we cannot handle package atoms with no version in keywording bugs. Closes: https://github.com/gentoo/tatt/issues/66 Closes: https://github.com/gentoo/tatt/issues/65 Signed-off-by: Sam James <sam@gentoo.org>
* remove unmaskfile config option, use unmaskdir insteadRolf Eike Beer2020-05-021-12/+18
| | | | | | Write one unmask file per job, so cleanup can simply be rm. Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
* add "-k" optionRolf Eike Beer2018-08-151-1/+13
| | | | | This makes "-f file" be able to work also for keywording, not only stabilization.
* write commitscript also without bug numberRolf Eike Beer2018-06-081-2/+2
|
* Remove obsolete commentMichael Palimaka2018-03-241-1/+0
| | | | | | | We don't try to get anything from the title anymore since the package list was introduced. Closes: https://github.com/gentoo/tatt/issues/45
* improve handling of keywording bugsRolf Eike Beer2017-12-231-3/+26
| | | | | | | | | | | There are 3 cases for every entry in the package list of a keywording bug: - the entry is not keyworded yet, it needs normal processing - the entry is already keyworded, but we should still unmask it in case other packages from the list need it - the entry is already stable, so can be entirely ignored The unmasking of already keyworded packages did not happen, and already stable packages were not detected as such and tested again.
* stop processing if no packages are leftRolf Eike Beer2017-12-231-0/+4
|
* use portage.dep.dep_getcpv() to strip operators from package nameRolf Eike Beer2017-12-211-1/+2
|
* also detect already finished keywordingRolf Eike Beer2017-12-131-6/+11
|
* treat Vulnerabilities bugs as Stabilization onesv0.5Rolf Eike Beer2017-12-051-1/+1
|
* filter out already stable packages earlierRolf Eike Beer2017-12-051-0/+19
| | | | | Drop them entirely from the package list, not only for the use flag testing. This avoids needless rdep testing and unmasking, too.
* include bug number in job nameRolf Eike Beer2017-11-281-0/+2
| | | | | | This makes the script name unique, which helps if the same packages are affected e.g. by stabilization and keywording, or if different python versions (2, 3) are requested for stabilization.
* try ~arch for keywording bugs if searching for arch gives no packagesRolf Eike Beer2017-11-071-0/+2
|
* Print the returned error message if the Bugzilla request fails.Michael Palimaka2016-12-221-1/+5
|
* Escape package name in regexp.Michael Palimaka2016-12-221-1/+1
| | | | | Otherwise, a package like dev-libs/libsigc++ will raise a multiple repeat exception.
* Avoid traceback when no atoms are found.Michael Palimaka2016-12-221-1/+1
|
* When using -b, fetch atoms from the new atom field or flagged attachment.Michael Palimaka2016-12-221-9/+20
|
* Comment unmask lines so cleanup script works with -fLucian Poston2015-12-081-3/+3
|
* Fix string encoding issues for python3Thomas Kahle2015-06-211-2/+3
|
* Migrate print statements to function calls (issue @21)Thomas Kahle2015-06-181-7/+7
|
* Fix some whitespace problems (issue #22)Thomas Kahle2015-06-181-12/+12
|
* Make error message for -u more evocativeThomas Kahle2012-11-251-1/+1
|
* Use sys.exit(1) instead of exitThomas Kahle2012-10-231-12/+12
|
* don't check for rootThomas Kahle2012-10-141-8/+0
|
* Don't need to run as rootThomas Kahle2012-10-141-34/+32
|
* Exit if unmaskfile can not be createdThomas Kahle2012-10-141-4/+11
|
* Search for package atoms only in the bug's title (fix issue #7)Thomas Kahle2012-08-031-1/+2
|
* fix -u and -d optionsThomas Kahle2012-06-211-1/+1
|
* Remove bugbrowser as I don't use it and can't support it.Thomas Kahle2012-06-211-11/+0
|
* Implement the safedir optionThomas Kahle2012-03-221-1/+10
|
* Fix -r option without -bThomas Kahle2012-03-071-2/+4
|
* Check if the given bugnumber is an integerThomas Kahle2012-02-171-0/+10
|
* Fix bug type detection with -fThomas Kahle2012-02-051-16/+14
|
* Initial support for keywording bugs (also via -b)Thomas Kahle2012-02-041-31/+57
|
* Better output will writing unmaskfilesThomas Kahle2012-02-031-2/+2
|
* Write clean-up script also on -bThomas Kahle2012-01-241-0/+2
|
* Improve success-message script handlingThomas Kahle2012-01-231-1/+1
|
* Clean-Up script implemented, small refactoringThomas Kahle2011-09-221-10/+10
|
* tattConfig ObjectThomas Kahle2011-09-221-24/+3
|
* Fix PackageFinder importThomas Kahle2011-09-181-3/+3
|
* First working version of tatt-bugbrowserThomas Kahle2011-09-181-9/+27
|
* Document the new options and some fixesThomas Kahle2011-03-221-2/+2
|
* Adding options to resolve and close bugs with tatt.Thomas Kahle2011-03-221-0/+33
|
* removed --skip-auth from 'bugz' call.Thomas Kahle2011-03-191-1/+1
| | | | | | | | This is necessary to be compatible with version -0.9 and higher of pybugz. You now need to configure your credentials by making an alias like alias bugs="bugz -u username -p password"
* Merge branch 'master' into experimentalThomas Kahle2010-12-031-2/+2
|\
| * Proper fix of -d and -u option.Thomas Kahle2010-11-291-2/+2
| |