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

[Git][ftp-team/dak][master] config/debian-security: consider `last_changed` of build queues as well



Title: GitLab

Ansgar pushed to branch master at Debian FTP Team / dak

Commits:

2 changed files:

Changes:

  • config/debian-security/unchecked.functions
    ... ... @@ -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() {
    

  • config/debian-security/unchecked.variables
    ... ... @@ -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)


  • Reply to: