]> git.donarmstrong.com Git - cran2deb.git/blob - branch/split_build/exec/progress
rename double_build -> split_build
[cran2deb.git] / branch / split_build / exec / progress
1 #!/bin/sh
2 ## DOC: cran2deb progress
3 ## DOC:     show summary report of aggregate build progress
4 ## DOC:
5 last='natural join (select system,package,max(id) as id from builds where package not in (select package from blacklist_packages) group by package,system)'
6 sqlite3 /var/cache/cran2deb/cran2deb.db "select system,(select count(*) from blacklist_packages),-1 from builds group by system;"
7 sqlite3 /var/cache/cran2deb/cran2deb.db "select system,count(package),success from builds $last group by success,system"
8
9 echo failures:
10 sqlite3 /var/cache/cran2deb/cran2deb.db "select system,group_concat(package) from builds $last where success = 0 group by system"
11
12 echo Xvfb failures:
13 sqlite3 /var/cache/cran2deb/cran2deb.db "select system,group_concat(package) from builds $last where success = 0 and log like '%Xvfb failed to start%' group by system;"