summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
AgeCommit message (Collapse)AuthorFilesLines
2015-04-19reproducible: build: refactor: fix some corner case handlingMattia Rizzolo1-5/+9
2015-04-18reproducible: slightly rename functionsHolger Levsen1-9/+9
2015-04-18reproducible: minor refactoringHolger Levsen1-1/+1
2015-04-18reproducible: fix typosHolger Levsen1-4/+4
2015-04-18reproducible: build: refactor: extensively try to avoid races, check for ↵Mattia Rizzolo1-2/+45
another running build wherever possible, using a lockfile named after the package name/suite
2015-04-18reproducible: build: refactor: another local variableMattia Rizzolo1-2/+2
2015-04-18reproducible: build: refactor: one todo item down \o/Mattia Rizzolo1-2/+2
2015-04-18reproducible: build: refactor: chmod 644 the rbuildlog, to be sure about the ↵Mattia Rizzolo1-0/+1
file permissions
2015-04-18reproducible: build: refactor: fix message and path in save_artifacts()Mattia Rizzolo1-7/+8
2015-04-18reproducible: build: refactor: really can't define a variable before knowing ↵Mattia Rizzolo1-3/+2
what to put into it
2015-04-18reproducible: build: refactor: save the correct version to the DBMattia Rizzolo1-1/+4
2015-04-18reproducible: build: refactor: specific complains when dbd says it's ↵Mattia Rizzolo1-2/+5
reproducible but 1) there is .buildinfo 2) there is .debbindiff.html
2015-04-18reproducible: build: refactor: use set -e. I want to know when something ↵Mattia Rizzolo1-0/+2
goes wrong
2015-04-18reproducible: build: refactor: fix a bunch of typosMattia Rizzolo1-4/+3
2015-04-18reproducible: build: refactor: first define of RBUILDLOG globally at the ↵Mattia Rizzolo1-2/+2
very start: we use it from the start, cant' be defined in a function
2015-04-18reproducible: build: refactor: strip out save_artifats() from cleanup_all(), ↵Mattia Rizzolo1-14/+18
and rewrite it all
2015-04-18reproducible: build: refactor: use $TMPDIR instead of $PWD to be clear about ↵Mattia Rizzolo1-4/+4
the scope
2015-04-18reproducible: build: refactor: make a local variable in call_debbindiff() ↵Mattia Rizzolo1-5/+5
to avoid pollute the global env
2015-04-18reproducible: build: refactor: make global, and move the call_debbindiff ↵Mattia Rizzolo1-4/+6
call to the main script, out of build_rebuild(). way clearer now
2015-04-18reproducible: build: refactor: better string for successfully reproducibly ↵Mattia Rizzolo1-1/+1
packages
2015-04-18reproducible: build: refactor: use local variables in print_out_duration() ↵Mattia Rizzolo1-3/+3
to avoid pollute the global env
2015-04-18reproducible: build: refactor: call handle_ftbr() at the end of dbd_timeout ↵Mattia Rizzolo1-4/+6
+ better message generation
2015-04-18reproducible: build: refactor: also update stats_build table in ↵Mattia Rizzolo1-3/+3
update_db_and_html()
2015-04-18reproducible: build: refactor: update results table in update_db_and_html()Mattia Rizzolo1-12/+12
2015-04-18reproducible: build: refactor: better handling of FTBR reasonsMattia Rizzolo1-10/+11
2015-04-18reproducible: build: refactor: nitpicks+commentsMattia Rizzolo1-6/+7
2015-04-18reproducible: build: refactor: call_debbindiff(): add a catchall for every ↵Mattia Rizzolo1-0/+4
evenience
2015-04-18reproducible: build: refactor: add irc_message() to reduce hardcoding of ↵Mattia Rizzolo1-3/+9
kgb-client call
2015-04-18reproducible: build: refactor: call_debbindiff(): call handle_ftbr() inside ↵Mattia Rizzolo1-4/+5
the case
2015-04-18reproducible: build: refactor: call_debbindiff(): print out debbindiff ↵Mattia Rizzolo1-3/+12
output also to the stdout, aka jenkins log
2015-04-18reproducible: build: refactor: restore the cat *.changes I accidently droppedMattia Rizzolo1-0/+1
2015-04-18reproducible: build: refactor: do something if a reproducible build ends up ↵Mattia Rizzolo1-14/+17
either having .debbindiff.html or not having .buildinfo
2015-04-18reproducible: build: refactor: slim down the call_debbindiff() function: ↵Mattia Rizzolo1-20/+24
strip out handle_ftbr(). in all these strips I removed a loads of checks and something broke, let's fix
2015-04-18reproducible: build: refactor: slim down the call_debbindiff() function: ↵Mattia Rizzolo1-12/+16
strip out handle_reproducible()
2015-04-18reproducible: build: refactor: lift up the handle_* functionsMattia Rizzolo1-28/+28
2015-04-18reproducible: build: refactor: use the case costructor instead of ↵Mattia Rizzolo1-8/+12
if/elif/elif/fi
2015-04-18reproducible: build: refactor: slim down the call_debbindiff() function: ↵Mattia Rizzolo1-7/+11
strip out dbd_timeout()
2015-04-18reproducible: build: refactor: slim down the call_debbindiff() function: ↵Mattia Rizzolo1-2/+6
strip out init_debbindiff() where we check for locks
2015-04-18reproducible: build: refactor: more commentsMattia Rizzolo1-5/+9
2015-04-18reproducible: build: refactor: move the actual calls to pbuilder to ↵Mattia Rizzolo1-56/+71
build_rebuild() and the rest to handle_ftbfs() also split more lines, and use more local variables, instead of pollute the global environment
2015-04-18reproducible: build: refactor: WIP: something exp+untested to avoid dcmd ↵Mattia Rizzolo1-15/+5
file back and forth, let's use --buildresult option of pbuilder to put resulted file directly where we want them
2015-04-18reproducible: build: refactor: move the check for valid arch to ↵Mattia Rizzolo1-26/+32
check_suitability() and handle_not_for_us()
2015-04-18reproducible: build: refactor: WIP: something exp+untested to avoid cleaning ↵Mattia Rizzolo1-17/+4
up userContent while starting the build. Also I don't catch anymore race condition where the same package is already building. Marking as FIXME for now
2015-04-18reproducible: build: refactor: more trimming of the main function + fix ↵Mattia Rizzolo1-12/+11
variable declaration order
2015-04-18reproducible: build: refactor: move the schroot call to get the source ↵Mattia Rizzolo1-22/+29
package to get_source_package() and handle_404()
2015-04-18reproducible: build: refactor: add a init() function to gather ↵Mattia Rizzolo1-2/+5
initialization of the build environment
2015-04-18reproducible: build: refactor: gather more or less generic+useful env ↵Mattia Rizzolo1-8/+8
variables in a single place
2015-04-18reproducible: build: refactor: move the db quering to pick up the package to ↵Mattia Rizzolo1-11/+16
be build in its own function choose_package()
2015-04-18reproducible: build: refactor: slim down the call_debbindiff() function: ↵Mattia Rizzolo1-4/+8
strip out print_out_duration()
2015-04-18reproducible: build: refactor: stop checking for .buildinfo presence. it's ↵Mattia Rizzolo1-5/+1
always there nowadays