diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-12-09 11:03:47 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-12-09 11:03:47 +0100 |
commit | fb4521531a7f7aadb8003407eeec3d1b1e5bba8c (patch) | |
tree | 0c6aca03a6d56bec28e7bdf2506321589c2b1873 /bin | |
parent | e24a1d6d89322ac01d7109b75863bf6165928460 (diff) | |
download | jenkins.debian.net-fb4521531a7f7aadb8003407eeec3d1b1e5bba8c.tar.xz |
reproducible archlinux: change order of columns in results table
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_html_archlinux.sh | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh index 735336c0..3edeabc6 100755 --- a/bin/reproducible_html_archlinux.sh +++ b/bin/reproducible_html_archlinux.sh @@ -37,18 +37,10 @@ cat > $PAGE <<- EOF EOF write_page_intro 'Arch Linux' write_explaination_table 'Arch Linux' -write_page " <table><tr><th>source package</th><th>test date</th><th>1st build log</th><th>2nd build log</th><th>diffoscope output for binary packages</th></tr>" +write_page " <table><tr><th>source package</th><th>test result</th><th>test date</th><th>1st build log</th><th>2nd build log</th></tr>" for PKG in $(find $ARCHBASE/* -maxdepth 1 -type d -exec basename {} \;) ; do write_page " <tr>" write_page " <td>$PKG</td>" - write_page " <td>$(ls -dl $ARCHBASE/$PKG/build1.log|cut -d " " -f6-8)</td>" - for LOG in build1.log build2.log ; do - if [ -f $ARCHBASE/$PKG/$LOG ] ; then - write_page " <td><a href=\"/archlinux/$PKG/$LOG\">$LOG</a></td>" - else - write_page " <td> </td>" - fi - done if [ -z "$(cd $ARCHBASE/$PKG/ ; ls *.pkg.tar.xz.html 2>/dev/null)" ] ; then if [ ! -z "$(grep '==> ERROR: Could not resolve all dependencies' $ARCHBASE/$PKG/build1.log)" ] ; then write_page " <td>could not resolve dependencies</td>" @@ -74,6 +66,14 @@ for PKG in $(find $ARCHBASE/* -maxdepth 1 -type d -exec basename {} \;) ; do done write_page " </td>" fi + write_page " <td>$(ls -dl $ARCHBASE/$PKG/build1.log|cut -d " " -f6-8)</td>" + for LOG in build1.log build2.log ; do + if [ -f $ARCHBASE/$PKG/$LOG ] ; then + write_page " <td><a href=\"/archlinux/$PKG/$LOG\">$LOG</a></td>" + else + write_page " <td> </td>" + fi + done write_page " </tr>" done write_page " </table>" |