[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] 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.
---
 config/debian-security/cron.unchecked | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/config/debian-security/cron.unchecked b/config/debian-security/cron.unchecked
index d3403ca..cba7c05 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
-- 
2.1.4


Reply to: