Commit c30aaa7e authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible Archlinux: include number of recent builds in the recent_builds.html page

parent 9993e59c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -327,10 +327,10 @@ See link:https://jenkins.debian.net/userContent/about.html["about jenkins.debian
** misc:
*** write into all the stats_ tables
*** make build.sh respect pacman exit code, see FIXME in _html_.sh
*** comparing versions (in scheduler) is probably needed: if its not empty it must be higher (due to repo constraints), but it can be even higher than in the repo, because we build trunk
*** comparing versions (in scheduler) is probably needed (though it wuld be better if not): if its not empty it must be higher (due to repo constraints), but it can be even higher than in the repo, because we build trunk
*** debian uses a table removed_packages, should this be used here too?
*** debian uses a table manual_scheduler to limit the amount of packages someone can schedule per day...
*** should breakages job look for archlinux breakages? for which case
*** should breakages job look for archlinux breakages? for which cases?
** using notes.git could be next

* rebuilding against the archlinux repos
+7 −2
Original line number Diff line number Diff line
@@ -353,9 +353,14 @@ recent_builds_page(){
	TITLE="Reproducible archlinux, builds in the last 24h"
	archlinux_page_header
	archlinux_repostats_table
	write_page "<h2>Recent builds of Archlinux packages in the last 24h</h2>"
	include_pkg_table_header_in_page
	MAXDATE="$(date -u +'%Y-%m-%d %H:%M' -d '24 hours ago')"
	RECENT=$(query_db "SELECT count(s.name) FROM sources AS s
				JOIN results AS r
				ON s.id=r.package_id
				WHERE s.architecture='x86_64'
				AND r.build_date > '$MAXDATE'")
	write_page "<h2>$RECENT builds of Archlinux packages in the last 24h</h2>"
	include_pkg_table_header_in_page
	STATE_PKGS=$(query_db "SELECT s.name FROM sources AS s
				JOIN results AS r
				ON s.id=r.package_id