From f4c214680e7c8fd2082ce57689993ccc4ad08c97 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 23 Jan 2018 09:50:50 +0100 Subject: web-scripts/broken-packages.php: rudimentary included in git now --- web-scripts/broken-packages.php | 59 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 web-scripts/broken-packages.php (limited to 'web-scripts') diff --git a/web-scripts/broken-packages.php b/web-scripts/broken-packages.php new file mode 100644 index 0000000..f8a9eab --- /dev/null +++ b/web-scripts/broken-packages.php @@ -0,0 +1,59 @@ + + +List of broken package builds + + + +build logs
+connect_error) { + die("Connection failed: " . $mysql->connect_error); +} + +$result = $mysql -> query( + "SELECT " . + "`package_sources`.`pkgbase`," . + "`package_sources`.`git_revision`," . + "`package_sources`.`mod_git_revision`," . + "`upstream_repositories`.`name` " . + "FROM `build_assignments` " . + "JOIN `package_sources` ON `build_assignments`.`package_source` = `package_sources`.`id` " . + "JOIN `upstream_repositories` ON `package_sources`.`upstream_package_repository` = `upstream_repositories`.`id` " . + "WHERE `build_assignments`.`is_broken`" +); +if ($result -> num_rows > 0) { + print "\n"; + print ""; + print ""; + print ""; + print ""; + print ""; +// print ""; +// print ""; +// print ""; +// print ""; + print "\n"; + + while($row = $result->fetch_assoc()) { + print ""; + + print ""; + print ""; + print ""; + print ""; +// +// +// +// + + print "\n"; + } + + print "
packagegit revisionmodification git revisionpackage repositorycompilationsdependentbuild errorblocked
".$row["pkgbase"]."

".$row["git_revision"]."

".$row["mod_git_revision"]."

".$row["name"]."20build()wait for FS32#20
\n"; +} + +?> + + -- cgit v1.2.3-70-g09d2