From 1787c5c3f4e84a620502a6c19b0d30a089bf7aee Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 23 May 2015 23:10:04 +0200 Subject: reproducible: explain setup further down the page --- bin/reproducible_html_graphs.sh | 54 +++++++++++++++++++++-------------------- 1 file changed, 28 insertions(+), 26 deletions(-) (limited to 'bin/reproducible_html_graphs.sh') diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh index 5bc98e28..16e9be41 100755 --- a/bin/reproducible_html_graphs.sh +++ b/bin/reproducible_html_graphs.sh @@ -532,23 +532,6 @@ create_main_stats_page() { write_page "$COUNT_GOOD / $PERCENT_GOOD%$COUNT_BAD / $PERCENT_BAD%$COUNT_UGLY / $PERCENT_UGLY%$COUNT_OTHER / $PERCENT_OTHER%" done write_page "" - # explain setup - write_page "" - write_page "" - write_page "" - write_page "" - write_page "" - write_page "" - write_page "" - write_page "" - write_page "" - write_page "" - write_page "" - write_page "" - write_page "" - write_page "" - write_page "" - write_page "
variationfirst buildsecond build
hostname$(hostname)i-capture-the-hostname
domainname$(hostname -d)i-capture-the-domainname
env BUILDUSERIDBUILDUSERID=1111BUILDUSERID=2222
env BUILDUSERNAMEBUILDUSERNAME=pbuilder1BUILDUSERNAME=pbuilder2
env TZTZ=\"/usr/share/zoneinfo/Etc/GMT+12\"TZ=\"/usr/share/zoneinfo/Etc/GMT-14\"
env LANGLANG=\"en_GB.UTF-8\"LANG=\"fr_CH.UTF-8\"
env LC_ALLunsetLC_ALL=\"fr_CH.UTF-8\"
UTS namespaceshared with the hostmodified using /usr/bin/unshare --uts
kernel version, modified using /usr/bin/linux64 --uname-2.6$(uname -sr)$(/usr/bin/linux64 --uname-2.6 uname -sr)
umask00220002
CPU type$(cat /proc/cpuinfo|grep 'model name'|head -1|cut -d ":" -f2-)same for both builds (currently, work in progress)
number of cores used$(cat /proc/cpuinfo |grep ^processor|wc -l)(currently, work in progress)
year, month, datetoday ($DATE)same for both builds (currently, work in progress)
hour, minutehour is usually the same...the minute differs (currently, work in progress)
" # write suite graphs write_page "

" for SUITE in $SUITES ; do @@ -589,21 +572,40 @@ create_main_stats_page() { write_usertag_table write_page "

" # do other global graphs - for i in 3 7 4 5 1 ; do - if [ $i = "1" ] ; then - OVERVIEW="" - else - OVERVIEW='class="halfview"' - fi - write_page " \"${MAINLABEL[$i]}\"" + for i in 3 7 4 5 ; do + write_page " \"${MAINLABEL[$i]}\"" # redo pngs once a day if [ ! -f $BASE/${TABLE[$i]}.png ] || [ ! -z $(find $BASE -maxdepth 1 -mtime +0 -name ${TABLE[$i]}.png) ] ; then create_png_from_table $i ${TABLE[$i]}.png fi done - write_page "

" + # explain setup + write_page "

" + write_page "" + write_page "" + write_page "" + write_page "" + write_page "" + write_page "" + write_page "" + write_page "" + write_page "" + write_page "" + write_page "" + write_page "" + write_page "" + write_page "" + write_page "" + write_page "
variationfirst buildsecond build
hostname$(hostname)i-capture-the-hostname
domainname$(hostname -d)i-capture-the-domainname
env BUILDUSERIDBUILDUSERID=1111BUILDUSERID=2222
env BUILDUSERNAMEBUILDUSERNAME=pbuilder1BUILDUSERNAME=pbuilder2
env TZTZ=\"/usr/share/zoneinfo/Etc/GMT+12\"TZ=\"/usr/share/zoneinfo/Etc/GMT-14\"
env LANGLANG=\"en_GB.UTF-8\"LANG=\"fr_CH.UTF-8\"
env LC_ALLunsetLC_ALL=\"fr_CH.UTF-8\"
UTS namespaceshared with the hostmodified using /usr/bin/unshare --uts
kernel version, modified using /usr/bin/linux64 --uname-2.6$(uname -sr)$(/usr/bin/linux64 --uname-2.6 uname -sr)
umask00220002
CPU type$(cat /proc/cpuinfo|grep 'model name'|head -1|cut -d ":" -f2-)same for both builds (currently, work in progress)
number of cores used$(cat /proc/cpuinfo |grep ^processor|wc -l)(currently, work in progress)
year, month, datetoday ($DATE)same for both builds (currently, work in progress)
hour, minutehour is usually the same...the minute differs (currently, work in progress)
" + # write build per day graph + write_page "

" + write_page " \"${MAINLABEL[$i]}\"" + # redo png once a day + if [ ! -f $BASE/${TABLE[1]}.png ] || [ ! -z $(find $BASE -maxdepth 1 -mtime +0 -name ${TABLE[1]}.png) ] ; then + create_png_from_table 1 ${TABLE[1]}.png + fi # write suite builds age graphs - write_page "

" + write_page "

" for SUITE in $SUITES ; do write_page " \"age" done -- cgit v1.2.3-70-g09d2