summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
AgeCommit message (Collapse)AuthorFilesLines
2015-04-28reproducible: sed everything to use that $BASE variable instead of ↵Mattia Rizzolo1-12/+11
hardcoding /var/lib/jenkins/userContent (that's about to change rather soon)
2015-04-28reproducible: build: re-enable irc notification for ↵Mattia Rizzolo1-1/+1
reproducible→unreproducible status change
2015-04-27reproducible: build: print out status with the notificationMattia Rizzolo1-4/+4
2015-04-27reproducible: build: write both build logs to rbuildMattia Rizzolo1-5/+2
2015-04-25reproducible: add a sane mean to notify the IRC channel when builds finish.Mattia Rizzolo1-16/+28
* new column in the database, schedule table * turn $SAVE_ARTIFACTS a true boolean, 0→no artifacts, 1→yes artifacts * $NOTIFY in the build script is text containg a keyword: + if empty no notification will be sent + if "debbindiff" a "$DBDVERSION had trouble with these" will be sent + if "failure" a "no artifacts could have been saved"-like will be sent + any other value trigs a normal message * adapt the maintenance script and the manual scheduler to cope with the new column
2015-04-21reproducible: build: refactor: print apt-get source output also in the ↵Mattia Rizzolo1-2/+2
jenkins log
2015-04-21reproducible: build: fix typoMattia Rizzolo1-1/+1
2015-04-20reproducible: build: fix sed for the generation of the artifacts page headerMattia Rizzolo1-1/+3
2015-04-20reproducible: build: fix last commit by catching another corner caseMattia Rizzolo1-0/+2
2015-04-19reproducible: build: fix quotation. Thanks Lunar!Mattia Rizzolo1-1/+1
2015-04-19reproducible: build: do not try to delete the lockfile if it's not oursMattia Rizzolo1-1/+3
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