summaryrefslogtreecommitdiffstats
path: root/bin
AgeCommit message (Collapse)AuthorFilesLines
2016-10-25reproducible debian: handle new packages with multiple versionsValerie R Young1-2/+13
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>
2016-10-25reproducible debian: make more sql sqlite3/postgres agnosticValerie R Young1-13/+22
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>
2016-10-23Revert "reproducible Debian: increase the timeout for sending the files to ↵Holger Levsen1-2/+2
buildinfo.d.n, we want them there…" This reverts commit ecc9afced7a409b3b3076ca9adbac0d413d37a4c.
2016-10-23reproducible Debian: increase the timeout for sending the files to ↵Holger Levsen1-2/+2
buildinfo.d.n, we want them there…
2016-10-23reproducible Debian: Update my email address in reference to ↵Chris Lamb1-1/+1
buildinfo.debian.net. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-23reproducible Debian: Set a maximum time for curl(1) to upload to ↵Chris Lamb1-2/+2
buildinfo.debian.net Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-22reproducible Debian: emit timestamps for debuggingHolger Levsen1-2/+5
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-22reproducible Debian: submit .buildinfo files to buildinfo.debian.netChris Lamb1-0/+3
Signed-off-by: Chris Lamb <lamby@debian.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-19g-i edu: let's try without sound on server installsHolger Levsen1-1/+1
2016-10-19reproducible Debian: handle broken nodes gracefullyHolger Levsen1-0/+6
2016-10-18reproducible OpenWrt/LEDE: rename common.sh to lede_common.sh to reflect ↵Holger Levsen3-4/+6
their realities & update my copyright years on this code
2016-10-18reproducible debian: replace some direct sqlite3 queriesValerie R Young1-3/+3
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-18reproducible: common.sh: properly escape the double quote signs in the ↵Mattia Rizzolo1-2/+2
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>
2016-10-18reproducible/openwrt|lede: disable linux64 --uname-2.6 for nowAlexander Couzens1-1/+1
First get a working build, second enable more variations later Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-18reproducible/openwrt|lede: openwrt_build_toolchain: enable build_logAlexander Couzens1-2/+4
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-18reproducible/openwrt|lede: use the same directory for lede and openwrtAlexander Couzens1-14/+13
make it simpler not have $TYPE everywhere to get the full build path Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-17reproducible/openwrt|lede: slave: don't trap when buildingAlexander Couzens1-1/+0
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>
2016-10-17reproducible/openwrt|lede: node_save_logs(): correct missing content pathAlexander Couzens1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-17reproducible/openwrt|lede: node_save_logs: ignore return code in error caseAlexander Couzens1-4/+4
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-17reproducible debian: fix bug in _scheduler queriesValerie R Young1-4/+4
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-17reproducible debian: add and use query_db bash functionValerie R Young6-83/+87
Signed-off-by: Mattia Rizzolo <mattia@debian.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-17reproducible debian: make python sql more sqlite/postgres agnosticValerie R Young8-98/+107
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-10-17make qa-jenkins-dev@lists.alioth.debian.org even more visibleHolger Levsen1-2/+6
2016-10-17reproducible Debian: refactorHolger Levsen2-3/+1
2016-10-17reproducible Debian: notify the irc channel if the proxy is gone, which ↵Holger Levsen1-1/+7
seems to be an i386 only problem which needs a bug report…
2016-10-16reproducible debian: pkg_sets typo fixNiko Tyni1-1/+1
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2016-10-13reproducible/openwrt|lede: fix name of renamed function in failure pathAlexander Couzens1-3/+3
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-13reproducible_openwrt|lede: remove cleanupAlexander Couzens1-10/+0
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>
2016-10-13reproducible_openwrt|lede: fix mistype in ifAlexander Couzens1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-13reproducible_openwrt|lede: node_save_logs: check input and hardcode pathsAlexander Couzens1-4/+14
improves the security if called over ssh and simplify the script. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-13reproducible_openwrt|lede: rename save_logs -> node_save_logsAlexander Couzens1-2/+2
In prepation to call it from outside Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-13reproducible_openwrt|lede: allow openwrt_save_logs to call it from outsideAlexander Couzens2-0/+2
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-13reproducible_openwrt|lede: in case of failure: copy logs to $WORKSPACE/resultsAlexander Couzens3-4/+15
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-13reproducible_openwrt|lede: copy log files to $WORKSPACE/results/Alexander Couzens1-0/+5
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-13reproducible: make scripts and debug mode less chattyHolger Levsen1-3/+7
2016-10-12reproducible_openwrt|lede: remove rsync verbose from /downloadAlexander Couzens1-2/+2
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12reproducible_openwrt|lede: remove 2nd git cloneAlexander Couzens1-8/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12reproducible_openwrt|lede: move position of rsync command downwardsAlexander Couzens1-3/+3
it matches also for --sender which shoudn't match Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12reproducible_openwrt|lede: fix GENERIC_NODE1 typoAlexander Couzens1-1/+1
used NODE2 twice insteade node1/node2 Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12reproducible_openwrt|lede: add debug to fix rsync bugAlexander Couzens3-0/+15
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12reproducible/openwrt|lede: also create TMPDIR on master nodeAlexander Couzens1-0/+3
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12reproducible_openwrt|lede: add verbose to rsyncAlexander Couzens1-4/+4
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12reproducible/openwrt|lede: add command node_create_tmpdirsAlexander Couzens3-1/+14
create tmpdir in a spereate step Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12jenkins_node_wrapper: allow to push files to /srv/reproducible-results/Alexander Couzens1-0/+3
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12reproducible/openwrt|lede: disable umask for nowAlexander Couzens1-1/+3
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12reproducible intros: demphasize wikiHolger Levsen1-2/+2
2016-10-12reproducible/openwrt|lede: ignore download errorsAlexander Couzens1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12reproducible/openwrt|lede: disable feeds for nowAlexander Couzens1-2/+2
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12reproducible_openwrt/lede: add openwrt_downloadAlexander Couzens3-11/+36
download all necesarry files before building to fix the future. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-11Use popcon.source_package now that it's available in jessie-backportsXimin Luo1-3/+3
Signed-off-by: Holger Levsen <holger@layer-acht.org>