[kernel-team] 01/01: Handle recommendation to set urgency=high for security uploads
debian-kernel at lists.debian.org
debian-kernel at lists.debian.org
Sun Jan 17 18:07:11 UTC 2016
This is an automated email from the git hooks/post-receive script.
carnil pushed a commit to branch master
in repository kernel-team.
commit dffb539a6db2a8aaaee80942dd75de8f2aaa4e6d
Author: Salvatore Bonaccorso <carnil at debian.org>
Date: Sun Jan 17 13:01:34 2016 +0100
Handle recommendation to set urgency=high for security uploads
Develpers reference (5.8.5.4. Preparing packages to address security
issues) mention to set urgency=high for security uploads (not a must).
To be inline with uploads to the security archive handle urgency=high
for the *-security branches in git.
V2: Do the same change for the squeeze-lts branch.
---
scripts/d-k-prerelease | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/scripts/d-k-prerelease b/scripts/d-k-prerelease
index e75afe4..2e87b98 100755
--- a/scripts/d-k-prerelease
+++ b/scripts/d-k-prerelease
@@ -22,6 +22,9 @@ fi
package="$(dpkg-parsechangelog -S Source)"
ver="$(dpkg-parsechangelog -S Version)"
+# Default urgency set to medium
+urgency='medium'
+
case "$branch" in
master)
case "$ver" in
@@ -38,6 +41,13 @@ sid)
;;
squeeze-security)
dist=squeeze-lts
+ # https://www.debian.org/doc/manuals/developers-reference/ch05.en.html#bug-security-building
+ urgency='high'
+ ;;
+*-security)
+ dist=$branch
+ # https://www.debian.org/doc/manuals/developers-reference/ch05.en.html#bug-security-building
+ urgency='high'
;;
*/*)
echo >&2 "E: Can't release from private branch $branch"
@@ -48,7 +58,7 @@ squeeze-security)
;;
esac
-dch --release --distribution "$dist" --no-force-save-on-release ''
+dch --release --distribution "$dist" --urgency "$urgency" --no-force-save-on-release ''
git commit -m "Prepare to release $package ($ver)." debian/changelog
echo "Remember to tag after building and verifying the package"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/kernel-team.git
More information about the Kernel-svn-changes
mailing list