[Git][ftp-team/dak][master] debian-specific: minor updates to security-NEW

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Git][ftp-team/dak][master] debian-specific: minor updates to security-NEW

Ansgar Burchardt-8
GitLab

Ansgar pushed to branch master at Debian FTP Team / dak

Commits:

  • 04026687
    by Ansgar Burchardt at 2019-05-14T06:41:25Z
    debian-specific: minor updates to security-NEW
    
    The commands missed stripping the ".changes" extension for the notes
    in COMMENTS.  Also files might have gotten renamed if there were
    previous uploads that were rejected.
    

1 changed file:

Changes:

  • docs/debian-specific.rst
    ... ... @@ -83,10 +83,11 @@ NEW processing
    83 83
         CHANGES=FILENAME.changes
    
    84 84
         dak process-new
    
    85 85
         cd /srv/security-master.debian.org/queue/new/COMMENTS
    
    86
    -    { echo NOTOK; echo; echo "Moving back to unchecked"; } > "REJECT.${CHANGES}"
    
    87
    -    rm "ACCEPT.${CHANGES}"
    
    86
    +    echo $'NOTOK\n\nMoving back to unchecked' > "REJECT.${CHANGES%.changes}"
    
    87
    +    rm "ACCEPT.${CHANGES%.changes}"
    
    88 88
         dak process-policy new; dak clean-suites
    
    89 89
         cd /srv/security-master.debian.org/queue/reject
    
    90
    +    # Careful! This is only correct if there are no previous uploads!
    
    90 91
         dak admin forget-signature ${CHANGES}
    
    91 92
         dcmd mv -nt ../unchecked -- ${CHANGES}
    
    92 93
         /srv/security-master.debian.org/dak/config/debian-security/cronscript unchecked