cookutils rev 392
one more line to display in summary (we have host arch) and test --output=html in cooker
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 13 02:00:39 2012 +0200 (2012-05-13) |
parents | 5514ad50ed67 |
children | 97ba19e05b56 |
files | cook cooker web/cooker.cgi |
line diff
1.1 --- a/cook Sun May 13 01:50:28 2012 +0200 1.2 +++ b/cook Sun May 13 02:00:39 2012 +0200 1.3 @@ -296,7 +296,7 @@ 1.4 Files : $files 1.5 Cook time : ${sec}s $min 1.6 Cook date : $cookdate 1.7 -Arch type : $ARCH 1.8 +Host arch : $ARCH 1.9 $(separator) 1.10 EOT 1.11 }
2.1 --- a/cooker Sun May 13 01:50:28 2012 +0200 2.2 +++ b/cooker Sun May 13 02:00:39 2012 +0200 2.3 @@ -214,7 +214,7 @@ 2.4 for pkg in $(cat $commits) 2.5 do 2.6 echo "cook:$pkg" > $command 2.7 - cook $pkg || broken 2.8 + cook $pkg --output=html || broken 2.9 sed -i /^${pkg}$/d $commits 2.10 done 2.11 fi 2.12 @@ -346,7 +346,7 @@ 2.13 cook_list ;; 2.14 pkg|-p) 2.15 # Same as 'cook pkg' but with log for web interface. 2.16 - cook $pkg || broken 2.17 + cook $pkg --output=html || broken 2.18 clean_exit ;; 2.19 cat|-c) 2.20 # Cook all packages of a category.
3.1 --- a/web/cooker.cgi Sun May 13 01:50:28 2012 +0200 3.2 +++ b/web/cooker.cgi Sun May 13 02:00:39 2012 +0200 3.3 @@ -170,7 +170,7 @@ 3.4 if fgrep -q "Summary for:" $LOGS/$pkg.log; then 3.5 echo "<h3>Cook summary</h3>" 3.6 echo '<pre>' 3.7 - grep -A 8 "^Summary for:" $LOGS/$pkg.log | sed /^$/d | \ 3.8 + grep -A 9 "^Summary for:" $LOGS/$pkg.log | sed /^$/d | \ 3.9 syntax_highlighter log 3.10 echo '</pre>' 3.11 fi