[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible arch: improve css

Holger Levsen holger at moszumanska.debian.org
Fri Oct 16 22:40:32 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 20c2e7f86d2e3318711b7e7a630d7c0e754ea9cc
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Oct 17 00:39:11 2015 +0200

    reproducible arch: improve css
---
 TODO                               |  1 +
 bin/reproducible_html_archlinux.sh | 33 ++++++++++++++++++++-------------
 2 files changed, 21 insertions(+), 13 deletions(-)

diff --git a/TODO b/TODO
index 032a5de..e880c44 100644
--- a/TODO
+++ b/TODO
@@ -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 14a4d6b..771f04d 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"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list