aboutsummaryrefslogtreecommitdiff
path: root/tatt
Commit message (Collapse)AuthorAgeFilesLines
* scriptwriter.py: only query rdeps site if rdeps config > 0v0.9Sam James2022-10-121-1/+2
| | | | | | No point fetching if we're not testing any. Signed-off-by: Sam James <sam@gentoo.org>
* tatt/dot-tatt-spec: default to arch=amd64, not x86Sam James2021-11-021-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* packageFinder.py: strip out ~ from 'arch' before passing to nattkaSam James2021-10-201-1/+1
| | | | | Reported-by: Jakov Smolić <jsmolic@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* add a return code to the revdep test scriptRolf Eike Beer2021-05-191-0/+5
| | | | Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
* tatt/usecombis.py: Tidy upSam James2021-02-241-13/+13
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* tatt/usecombis.py: Give up after too many USE-generation attemptsSam James2021-02-171-0/+21
| | | | | Closes: #40 Signed-off-by: Sam James <sam@gentoo.org>
* tatt: Support file-only jobs via Nattkav0.8Sam James2020-09-101-4/+4
| | | | | | 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-102-1/+21
| | | | | | | | | | | | | | | | | * 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/+14
| | | | | | | | | | 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-022-3/+3
| | | | | | Write one unmask file per job, so cleanup can simply be rm. Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
* Migrate from package.keywords to package.accept_keywordsv0.7Michael Palimaka2020-03-031-1/+1
| | | | | Bug: https://bugs.gentoo.org/711204 Signed-off-by: Michael Palimaka <kensington@gentoo.org>
* also match ~arch in package listRolf Eike Beer2020-02-041-1/+2
| | | | | | | This isn't uncommon for keywording bugs. It is also accepted for stabilization bugs at the moment because it simplifies the code. Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
* add a return code to the use test scriptRolf Eike Beer2019-12-201-0/+3
| | | | Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
* remove primary packages from rdeps scriptv0.6Rolf Eike Beer2019-05-222-3/+22
| | | | | | This avoids needless duplicate work. Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
* allow tabs in packagelist bugzilla fieldRolf Eike Beer2018-10-241-1/+1
| | | | Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
* add use-loop template file to hold the per-package block of use testsRolf Eike Beer2018-09-141-3/+7
| | | | | This is actually optional, if it's not present it will just be the loop body without anything else.
* use https for tinderboxRolf Eike Beer2018-08-252-3/+3
|
* get rid of all FEATURES messing in the generatorRolf Eike Beer2018-07-051-4/+1
| | | | This can now completely be handled in the templates.
* add an explicit snippet for package test *-useflags.shRolf Eike Beer2018-07-051-3/+4
|
* refactor and improve the test scriptRolf Eike Beer2018-06-221-0/+1
| | | | | | When doing rdep tests merge the test dependencies first without FEATURES=test, as we do not want to test them. This avoids build failures because of failing tests or cycling dependencies, and usually reduces the build time a lot.
* run tests first before build testing the packagesRolf Eike Beer2018-06-221-6/+8
| | | | | Some packages have broken test suites that work only when the package is already installed. Run the test suite before and other build test to catch such errors.
* ignore empty lines in package listRolf Eike Beer2018-06-081-0/+2
|
* write commitscript also without bug numberRolf Eike Beer2018-06-081-0/+2
|
* fix running without bug number givenRolf Eike Beer2018-04-181-1/+2
|
* use scriptTemplate() in more placesRolf Eike Beer2018-01-051-57/+33
| | | | This allows more replace variables to be used in all snippets.
* keep logfiles of failed logsRolf Eike Beer2017-12-272-0/+2
|
* fix generating list of useflag combinationsRolf Eike Beer2017-12-261-1/+1
| | | | Check the length of the random set agains the proper upper limit.
* improve marker line in generated use scriptsRolf Eike Beer2017-12-231-1/+1
| | | | | | - add a newline to make the new package easier spottable when viewing the file - write the version in the marker line as there may be multiple versions of the same package in the same file
* fix endless loop with invalid use flagsRolf Eike Beer2017-12-231-0/+1
| | | | | The set of already tested use combinations was never filled, so the loop may run forever.
* keep trying to find valid use flag combinations until the configured limit ↵Rolf Eike Beer2017-12-211-14/+34
| | | | | | | | | is reached In random mode (i.e. more possible use flag combinations than the configured limit) it can easily happen that most or all of the generated combinations do not pass the REQUIRED_USE check. Keep generating new numbers until the given number of test have been generated or the possible combinations are exhausted.
* catch invalid package atoms returned by tinderboxRolf Eike Beer2017-12-211-1/+3
| | | | | Tinderbox returns '[B]' in front of some package names. Filter them out to prevent exceptions.
* use portage API to split package atomsRolf Eike Beer2017-12-211-22/+7
|
* use portage.dep.dep_getcpv() to strip operators from package nameRolf Eike Beer2017-12-212-4/+5
|
* use gentoolkit API instead of process call to get list of use flagsRolf Eike Beer2017-12-211-3/+2
|
* use portage API to entirely avoid testing invalid use-flag combinationsRolf Eike Beer2017-12-212-8/+19
|
* filter out already stable packages earlierRolf Eike Beer2017-12-051-16/+0
| | | | | Drop them entirely from the package list, not only for the use flag testing. This avoids needless rdep testing and unmasking, too.
* add newlines between package reports in logRolf Eike Beer2017-12-051-0/+1
|
* factor out script replacementsRolf Eike Beer2017-12-051-28/+24
| | | | | This also allows more variables to be used in header snippets than just the job name.
* add the affected package to the rdep limit warningRolf Eike Beer2017-11-071-1/+1
|
* fix bad concatenation of int and stringRolf Eike Beer2017-11-071-1/+1
|
* avoid needless spaces in USE specification for rdepsRolf Eike Beer2017-11-071-2/+10
|
* fix printing out message about cut rdepsRolf Eike Beer2017-11-061-1/+1
| | | | | | The previous loop would step when the maximum number of allowed rdeps is reached, so this check can never be true. Test if there are remaining entries in the original list instead.
* use portage API to skip already stable packagesRolf Eike Beer2017-11-051-0/+17
|
* write file permissions as octalRolf Eike Beer2017-11-051-5/+5
|
* Remove references to atom-regexp.v0.4Michael Palimaka2016-12-221-1/+0
| | | | | Now that we have a bugzilla atom field and defined format, it is no longer necessary to try and "pick" atoms out of a string.
* When using -b, fetch atoms from the new atom field or flagged attachment.Michael Palimaka2016-12-221-8/+12
|
* Replace hard-coded bug update script with brand new template.Michael Palimaka2016-12-222-6/+11
| | | | | | In addition to reporting that stabilisation has been completed on the target arch, this new template also takes care of removing the arch team from CC and closes the bug if necessary.
* Fix one more string decoding for python3Thomas Kahle2015-06-211-1/+1
|
* Fix string encoding issues for python3Thomas Kahle2015-06-212-2/+2
|
* Make import of urllib python2/3 compatibleThomas Kahle2015-06-201-8/+8
|