Age | Commit message (Collapse) | Author | Files | Lines |
|
This fix has to important parts: (1) changing a list to set for
fast looks ups, and (2) changing a slqalchemy RowProxy object to a
tuple for fast comparisons.
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
This commit fixes a bug introduced by 07849060
Commit 07849060 changed the UPSERT that added new packages to the sources
table into an INSERT. If the new package has two versions for (suite, arch)
in debian archive, then the INSERT to sources will fail on unique constraint.
The changes in this commit provide the same functionality without the UPSERT:
there will be no failure, instead only the second source encountered in
archive will be saved.
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
This commit fixes to things in reproducible_scheduler.py:
1. Do not delete entries in sources table until all foreign
references to that source.id are deleted.
2. Cannot "SELECT DISTINCT" and then "ORDER BY" a column
that is not in the select.
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
buildinfo.d.n, we want them there…"
This reverts commit ecc9afced7a409b3b3076ca9adbac0d413d37a4c.
|
|
buildinfo.d.n, we want them there…
|
|
buildinfo.debian.net.
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
buildinfo.debian.net
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
Signed-off-by: Chris Lamb <lamby@debian.org>
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
|
|
|
|
their realities & update my copyright years on this code
|
|
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
footer description
those strings will end up in a JSON-like string, which need the " signs to be escaped
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
First get a working build, second enable more variations later
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
make it simpler not have $TYPE everywhere to get the full build path
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
In case of an error, it will exit 1 and the master will
clean up the tmpdirs of the remote nodes in case of failures.
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
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>
|
|
|
|
|
|
seems to be an i386 only problem which needs a bug report…
|
|
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
|
|
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
it's not needed here, cleanup the whole directory.
it also brokes the save_logs in case of failure
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
improves the security if called over ssh and simplify the script.
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
In prepation to call it from outside
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
|
|
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
it matches also for --sender which shoudn't match
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
used NODE2 twice insteade node1/node2
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
create tmpdir in a spereate step
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
|
|
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|
|
download all necesarry files before building to fix the future.
Signed-off-by: Holger Levsen <holger@layer-acht.org>
|