summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_remote_scheduler.py
AgeCommit message (Collapse)AuthorFilesLines
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
2015-08-21reproducible: remote_scheduler: clean the packages list from empty strings ↵Mattia Rizzolo1-1/+1
that somehow happens
2015-08-21reproducible remote scheduler: fix typoReiner Herrmann1-1/+1
2015-08-19reproducible: remote_scheduler: rearrange the argparse bits to really print ↵Mattia Rizzolo1-9/+4
all option in -h
2015-08-19reproducible: remote_scheduler: don't require the -s option at argparse ↵Mattia Rizzolo1-1/+5
level, bug check it later on (this allow passing just --null via argv)
2015-08-19reproducible: remote_scheduler: do not ball users out when they schedule an ↵Mattia Rizzolo1-3/+2
inexistent package, just print the error
2015-08-18reproducible: alioth reschedule script: pipe args to alioth instead of ↵Mattia Rizzolo1-1/+0
passing them through commal line, to avoid ssh screw up. Thanks to Lunar and Dhole for the help on figuring out how to gettig this working
2015-08-18reproducible: scheduler: add a --null flag to read arguments from stdin and ↵Mattia Rizzolo1-1/+12
consider them null-terminated. Thanks Lunar for the suggestion
2015-08-18reproducible: remote scheduler: correctly parse the -m optionMattia Rizzolo1-2/+2
2015-08-09reproducible: remote_scheduler: join on the notes table only when neededMattia Rizzolo1-4/+5
2015-08-07reproducible: remote_scheduler: resort the CLI flags and improve the helpMattia Rizzolo1-9/+9
2015-08-07reproducible: remote_scheduler: accept a -a/--architecture flag to specify ↵Mattia Rizzolo1-11/+24
in which arch schedule
2015-08-07reproducible: remote_scheduler: flag rename: -a/--artifacts to ↵Mattia Rizzolo1-2/+2
-k/--keep-artifacts
2015-08-07reproducible: remote_scheduler: remove redundant default in argparse definitionsMattia Rizzolo1-2/+2
action="store_true" implies default=False
2015-07-23reproducible move the bcolors class to _common.pyMattia Rizzolo1-11/+0
2015-07-17reproducible: rescheduler: improve help textMattia Rizzolo1-3/+6
2015-07-17reproducible: rescheduler: don't catch blacklisted packages in the filter queryMattia Rizzolo1-1/+1
2015-07-08reproducible: make irc notifications optional instead of the default againHolger Levsen1-6/+6
2015-07-08reproducible: shorten irc messagesHolger Levsen1-2/+2
2015-07-05reproducible: improve grammarHolger Levsen1-5/+5
2015-07-05reproducible: remote scheduler: also tell whether there is going to be noise ↵Mattia Rizzolo1-2/+4
or silence after the scheduling
2015-07-05reproducible: reschedule: add a --dry-run option to do exactly that (doh!)Mattia Rizzolo1-5/+12