summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_html_archlinux.sh4
-rwxr-xr-xbin/reproducible_html_rpms.sh10
2 files changed, 8 insertions, 6 deletions
diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh
index 11f62baa..1774127b 100755
--- a/bin/reproducible_html_archlinux.sh
+++ b/bin/reproducible_html_archlinux.sh
@@ -33,6 +33,7 @@ HTML_UNKNOWN=$(mktemp -t rhtml-archlinux-XXXXXXXX)
HTML_BUFFER=$(mktemp -t rhtml-archlinux-XXXXXXXX)
HTML_TARGET=""
HTML_REPOSTATS=$(mktemp -t rhtml-archlinux-XXXXXXXX)
+SIZE=""
for REPOSITORY in $ARCHLINUX_REPOS ; do
echo "$(date -u) - starting to analyse build results for '$REPOSITORY'."
TOTAL=$(cat ${ARCHLINUX_PKGS}_$REPOSITORY | sed -s "s# #\n#g" | wc -l)
@@ -127,7 +128,8 @@ for REPOSITORY in $ARCHLINUX_REPOS ; do
echo " <td>$(LANG=C TZ=UTC ls --full-time $ARCHBASE/$REPOSITORY/$PKG/build1.log | cut -d ' ' -f6 )</td>" >> $HTML_BUFFER
for LOG in build1.log build2.log ; do
if [ -f $ARCHBASE/$REPOSITORY/$PKG/$LOG ] ; then
- echo " <td><a href=\"/archlinux/$REPOSITORY/$PKG/$LOG\">$LOG</a></td>" >> $HTML_BUFFER
+ get_filesize $ARCHBASE/$REPOSITORY/$PKG/$LOG
+ echo " <td><a href=\"/archlinux/$REPOSITORY/$PKG/$LOG\">$LOG</a> ($SIZE)</td>" >> $HTML_BUFFER
else
echo " <td>&nbsp;</td>" >> $HTML_BUFFER
fi
diff --git a/bin/reproducible_html_rpms.sh b/bin/reproducible_html_rpms.sh
index c8f77be3..cf16c6d9 100755
--- a/bin/reproducible_html_rpms.sh
+++ b/bin/reproducible_html_rpms.sh
@@ -16,7 +16,7 @@ ARCH="$2"
#
# analyse results to create the webpage
#
-echo "$(date -u) - starting to analyse build results."
+echo "$(date -u) - starting to analyse build results for '$RELEASE' ($ARCH)."
HTML_FTBFS=$(mktemp -t rhtml-rpms-XXXXXXXX)
HTML_FTBR=$(mktemp -t rhtml-rpms-XXXXXXXX)
HTML_DEPWAIT=$(mktemp -t rhtml-rpms-XXXXXXXX)
@@ -26,9 +26,7 @@ HTML_UNKNOWN=$(mktemp -t rhtml-rpms-XXXXXXXX)
HTML_BUFFER=$(mktemp -t rhtml-rpms-XXXXXXXX)
HTML_TARGET=""
HTML_RPM_STATS=$(mktemp -t rhtml-rpms-XXXXXXXX)
-
-echo "$(date -u) - starting to analyse build results for '$RELEASE' ($ARCH)."
-TOTAL=$(cat ${RPM_PKGS}_$RELEASE | sed -s "s# #\n#g" | wc -l)
+SIZE=""
TESTED=0
NR_FTBFS=0
NR_FTBR=0
@@ -36,6 +34,7 @@ NR_DEPWAIT=0
NR_404=0
NR_GOOD=0
NR_UNKNOWN=0
+TOTAL=$(cat ${RPM_PKGS}_$RELEASE | sed -s "s# #\n#g" | wc -l)
for PKG in $(find $RPMBASE/$RELEASE/$ARCH/* -maxdepth 1 -type d -exec basename {} \;|sort -u -f) ; do
if [ -z "$(cd $RPMBASE/$RELEASE/$ARCH/$PKG/ ; ls)" ] ; then
# directory exists but is empty: package is building…
@@ -80,7 +79,8 @@ for PKG in $(find $RPMBASE/$RELEASE/$ARCH/* -maxdepth 1 -type d -exec basename {
echo " <td>$(LANG=C TZ=UTC ls --full-time $RPMBASE/$RELEASE/$ARCH/$PKG/build1.log | cut -d ' ' -f6 )</td>" >> $HTML_BUFFER
for LOG in build1.log build2.log ; do
if [ -f $RPMBASE/$RELEASE/$ARCH/$PKG/$LOG ] ; then
- echo " <td><a href=\"/rpms/$RELEASE/$ARCH/$PKG/$LOG\">$LOG</a></td>" >> $HTML_BUFFER
+ get_filesize $RPMBASE/$RELEASE/$ARCH/$PKG/$LOG
+ echo " <td><a href=\"/rpms/$RELEASE/$ARCH/$PKG/$LOG\">$LOG</a> ($SIZE)</td>" >> $HTML_BUFFER
else
echo " <td>&nbsp;</td>" >> $HTML_BUFFER
fi