diff options
-rw-r--r-- | TODO | 1 | ||||
-rwxr-xr-x | bin/reproducible_html_archlinux.sh | 33 |
2 files changed, 21 insertions, 13 deletions
@@ -305,6 +305,7 @@ properties: * more random notes: ** patch pacman to create .buildinfo files - or better: wait ** rename arch scripts and jobs to archlinux +** use archlinux.css not the one from freebsd :) ---- notes on source and binary versions: diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh index 14a4d6b8..771f04dc 100755 --- a/bin/reproducible_html_archlinux.sh +++ b/bin/reproducible_html_archlinux.sh @@ -23,39 +23,46 @@ cat > $PAGE <<- EOF <head> <meta charset="UTF-8"> <title>Repoducible Archlinux ?</title> + <link rel='stylesheet' href='/freebsd/global.css' type='text/css' media='all' /> </head> <body> - <h1>Reproducible Archlinux?</h1> + <div id="logo"> + <h1>Reproducible Archlinux?</h1> + </div> + <div class="content"> + <div class="page-content"> + EOF write_page_intro Archlinux write_explaination_table Archlinux -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 date</th><th>1st build log</th><th>2nd build log</th><th>diffoscope output for binary packages</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 $ARCHBASE/$PKG -dl|cut -d " " -f6-8)</td>" + write_page " <tr>" + write_page " <td>$PKG</td>" + write_page " <td>$(ls $ARCHBASE/$PKG -dl|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>" + write_page " <td><a href=\"/archlinux/$PKG/$LOG\">$LOG</a></td>" else - write_page " <td> </td>" + 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>" + write_page " <td>could not resolve dependencies</td>" else - write_page " <td>failed to build from source</td>" + write_page " <td>failed to build from source</td>" fi else - write_page " <td>" + write_page " <td>" for ARTIFACT in $(cd $ARCHBASE/$PKG/ ; ls *.pkg.tar.xz.html) ; do write_page " <a href=\"/archlinux/$PKG/$ARTIFACT\">${ARTIFACT:0:-5}</a><br />" done - write_page " </td>" + write_page " </td>" fi - write_page " </tr>" + write_page " </tr>" done -write_page "</table>" +write_page " </table>" +write_page "</div></div>" write_page_footer Archlinux echo "$(date -u) - enjoy $REPRODUCIBLE_URL/archlinux/$PAGE" |