From 9bac2cc501cad9d14c5233e618fd6640b29d78ca Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 21 Jun 2017 10:50:56 +0200 Subject: bin/build-master-status: add link to build logs --- bin/build-master-status | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'bin/build-master-status') diff --git a/bin/build-master-status b/bin/build-master-status index 50b9af4..44596ef 100755 --- a/bin/build-master-status +++ b/bin/build-master-status @@ -186,11 +186,16 @@ fi if [ -n "${broken_output}" ]; then if ${nice}; then - printf '\n\n\n\n' > \ - "${broken_output}" - else - : > "${broken_output}" - fi + printf '\n\nbuild logs
\n
packagegit revisionmodification git revisionpackage repositorycompilations
\n' + printf '' \ + 'package' \ + 'git revision' \ + 'modification git revision' \ + 'package repository' \ + 'compilations' + printf '\n' + fi > \ + "${broken_output}" ls "${work_dir}/package-states" | \ grep '\.broken$' | \ sed 's|\.broken$||' | \ @@ -198,7 +203,12 @@ if [ -n "${broken_output}" ]; then sed 's|^\(\(.\+\)\.\([^.]\+\)\.\([^.]\+\)\.\([^.]\+\)\)$|\1 \2 \3 \4 \5|' | \ while read -r sf pkg rev mod_rev repo; do printf '' - printf '' "${pkg}" "${rev}" "${mod_rev}" "${repo}" "$(wc -l < "${work_dir}/package-states/${sf}.broken")" + printf '' \ + "${pkg}" \ + "${rev}" \ + "${mod_rev}" \ + "${repo}" \ + "$(wc -l < "${work_dir}/package-states/${sf}.broken")" printf '\n' done else -- cgit v1.2.3-70-g09d2
%s
%s%s