From: Ansgar Burchardt Date: Tue, 3 May 2016 20:57:57 +0000 (+0200) Subject: Notify w-b earlier X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=b702864c095c255c971eb9e74d60dfb55df64ef9;p=dak.git Notify w-b earlier Before Debian LTS started to use the security archive, all uploads that would trigger buildds would be sourceful uploads to a policy queue. So new packages entering the build queues and pushing the public mirrors would likely not happen in the same cron.unchecked run. With Debian LTS, uploads would go to both the build queues and trigger a public mirror push. If the mirror push takes more than three minutes, cron.buildd would however not notify w-b of changes. This patch moves the w-b notification right behind the update of the build queues and before the mirror push to avoid the problem. Ideally we would not rely on anything happening within the last three minutes though. --- diff --git a/config/debian-security/cron.unchecked b/config/debian-security/cron.unchecked index d3403ca1..cba7c05f 100755 --- a/config/debian-security/cron.unchecked +++ b/config/debian-security/cron.unchecked @@ -87,6 +87,7 @@ dak manage-build-queues -a dak generate-packages-sources2 -a build-queues dak generate-releases -a build-queues >/dev/null ${scriptsdir}/update-buildd-archive ${base}/build-queues ${incoming}/debian-security-buildd +$configdir/cron.buildd new_last_changed=$(last_changed security) @@ -103,5 +104,3 @@ fi cleanup trap - EXIT - -$configdir/cron.buildd