Ansgar pushed to branch master at Debian FTP Team / dak
Commits:
-
c69c4254
by Ansgar Burchardt at 2019-07-11T08:01:30Z
2 changed files:
Changes:
... | ... | @@ -4,7 +4,7 @@ function sync_accepted() { |
4 | 4 |
}
|
5 | 5 |
|
6 | 6 |
function trigger_wb_security() {
|
7 |
- ${configdir}/cron.buildd "${LAST_CHANGED}"
|
|
7 |
+ ${configdir}/cron.buildd "${LAST_CHANGED_BUILDD}"
|
|
8 | 8 |
}
|
9 | 9 |
|
10 | 10 |
function clean_suites() {
|
... | ... | @@ -2,4 +2,9 @@ function last_changed() { |
2 | 2 |
psql -qAtc "SELECT MAX(last_changed) FROM suite WHERE archive_id=(SELECT id FROM archive WHERE name='$1')"
|
3 | 3 |
}
|
4 | 4 |
|
5 |
+function last_changed_buildd() {
|
|
6 |
+ psql -qAtc "SELECT MAX(last_changed) FROM suite WHERE archive_id = ANY(SELECT id FROM archive WHERE name='security' OR name='build-queues')"
|
|
7 |
+}
|
|
8 |
+ |
|
5 | 9 |
declare -gr LAST_CHANGED=$(last_changed security)
|
10 |
+declare -gr LAST_CHANGED_BUILDD=$(last_changed_buildd)
|