summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_remote_scheduler.py
AgeCommit message (Collapse)AuthorFilesLines
2017-06-04reproducible Debian: unbreak the scheduler, part #2 and counting.Daniel Shahaf1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-06-04reproducible Debian: unbreak the scheduler.Daniel Shahaf1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-06-04reproducible Debian: remote scheduler += multiple archs in one invocation.Daniel Shahaf1-16/+25
Analogous to b8a359d0206160ed6e17af5824764bea3c39113b (plus its followup fixup 8e3a28ba0ca6ca1d288b320ad53a5c5fa13a8d22). Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-06-04reproducible Debian: English fix to error message.Daniel Shahaf1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-05-23Import 're', sort importsDaniel Shahaf1-1/+2
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-05-23reproducible Debian: Fix splitting.Daniel Shahaf1-1/+1
The previous commit worked so long as you wrote -s $'unstable, \ttesting' in your command lines. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-05-23reproducible Debian: remote scheduler += multiple suites in one invocationDaniel Shahaf1-14/+23
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-05-22reproducible Debian: edit-compile-IRC-run cycle continues.Daniel Shahaf1-4/+4
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-05-22another fixupDaniel Shahaf1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-05-22reproducible Debian: Try to fix fcc7eddebc29220af97c65cdd523ba1f0893b264 ↵Daniel Shahaf1-7/+14
issue about star imports in subscopes
2017-05-22fixupHolger Levsen1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-05-22reproducible Debian: Break out a helper function. No functional change.Daniel Shahaf1-24/+33
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-05-22reproducible Debian: Split. No functional change.Daniel Shahaf1-1/+27
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-05-22reproducible Debian: Separate munging from aliasing. No functional change.Daniel Shahaf1-2/+6
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-05-22reproducible Debian: reindent the whole file in preparation for future changesDaniel Shahaf1-275/+279
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-05-03reproducible Debian: raise daily personal scheduling limit to 500, we've ↵Holger Levsen1-2/+2
seen no abuse, and we can always revert this Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-04-26reproducible debian: remote scheduler: unbreak -i optionMattia Rizzolo1-1/+1
relevant stackoverflow question: https://stackoverflow.com/questions/8657508/strange-sqlalchemy-error-message-typeerror-dict-object-does-not-support-inde Signed-off-by: Mattia Rizzolo <mattia@debian.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-04-12Revert "reproducible debian: temporarily rise the schedule limit (again)"Mattia Rizzolo1-2/+2
This reverts commit e32380742425313817f235ed1774a45ea9c2752f. Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2017-04-11reproducible debian: temporarily rise the schedule limit (again)Mattia Rizzolo1-2/+2
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2017-04-08Revert "reproducible Debian: temporarily raise the personal daily scheduling ↵Holger Levsen1-2/+2
limit to 2200" This reverts commit 1ba9403bae9f1de9a6b071ba40e461fa93ee4ca7.
2017-04-07reproducible Debian: temporarily raise the personal daily scheduling limit ↵Holger Levsen1-2/+2
to 2200 Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-01-11reproducible Debian: s#html page#HTML page#gHolger Levsen1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-12-03reproducible debian: remote scheduler: de-duplicate the list later to keep ↵Mattia Rizzolo1-2/+2
the whole script functional otherwise the filter functions wouldn't work Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-12-03reproducible debian: remote scheduler: use a set() instead of a list to ↵Mattia Rizzolo1-1/+1
prevent duplicates Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-17reproducible debian: make python sql more sqlite/postgres agnosticValerie R Young1-16/+16
This commit fixes all the python script sql queries that required minimal editing to be syntactically correct for both sqlite and postgres. Almost all fixes consist of the removal of double quotes from query strings. NOTE: the following scripts expect the schedule table's primary key to autoincrement. Running reproducible_db_maintence.py on a postgres database will not add the necessary autoincrementing functionality at this time. The following script WILL run on the sqlite database but will fail on postgres database constructed from reproducible_db_maintence.py until this is fixed: reproducible_remote_scheduler.py reproducible_schedule.py Signed-off-by: Mattia Rizzolo <mattia@debian.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-09-23Revert "reproducible debian: bump daily scheduling limit to 500 for lamby"Holger Levsen1-2/+2
This reverts commit b2b801b5c5a0b372196735146b9db12988b3c532.
2016-09-23reproducible debian: bump daily scheduling limit to 500 for lambyHolger Levsen1-2/+2
2016-08-22reproducible debian: fix sqlite3 IntegrityErrorValerie R Young1-4/+7
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-19reproducible debian: switch python database backend to SQLAlchemyValerie R Young1-15/+47
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-05-20reproducible: remove unused code fragmentHolger Levsen1-1/+0
2015-12-14reproducible: don't save the reschedule reason in the DBMattia Rizzolo1-2/+1
That was actually a bad idea, given that we don't check on input execute the with the given string right away. Also, we're not really interested in this, so once convenient we can also remove the column from the DB.
2015-12-09reproducible: remote_scheduler: also force notification when asking for ↵Mattia Rizzolo1-1/+1
artifacts
2015-12-09reproducible: remote_scheduler: refactor the notification level chooserMattia Rizzolo1-3/+7
2015-12-09reproducible: save the schedule message in the db and show it in the "test ↵Mattia Rizzolo1-3/+5
history" table
2015-12-09reproducible: refactor how the 'notify on build start' feature is handled, ↵Mattia Rizzolo1-12/+10
stop abusing of the builder column in the db for this
2015-10-09reproducible: fix typo, thanks to Santiago for spottingHolger Levsen1-1/+1
2015-10-09reproducible: shorten irc messageHolger Levsen1-3/+3
2015-10-09reproducible: improve commentHolger Levsen1-2/+1
2015-10-09reproducible: remote_scheduler: filter the architecture tooMattia Rizzolo1-1/+2
2015-09-26reproducible: fix grammarHolger Levsen1-1/+1
2015-09-22reproducible: except -d for --noisy too (should probably rename --noisy to ↵Holger Levsen1-1/+1
--debug)
2015-09-22reproducible: improve readability, increase code size by 3 chars, reduce irc ↵Holger Levsen1-1/+1
message by 1
2015-09-22reproducible: default suite is unstableHolger Levsen1-2/+2
2015-09-11reproducible: create scheduled indexes as part of the live_status job (and ↵Holger Levsen1-1/+1
'ignore bugs')
2015-09-10reproducible: call generate_schedule(arch) everywhereHolger Levsen1-1/+1
2015-09-10reproducible: fix+harmonize punctation.Holger Levsen1-11/+11
2015-09-10fix typoHolger Levsen1-1/+1
2015-08-31reproducible: dont log arch twice, and wronglyHolger Levsen1-1/+0
2015-08-21reproducible: raise limit how many packages people can schedule per day to 200Holger Levsen1-2/+2
2015-08-21reproducible: remote_scheduler: fix a TypeError and make more rubostMattia Rizzolo1-15/+16