Merge ~alexmurray/ubuntu-security-tools:dont-recommend-proposed into ubuntu-security-tools:master

Proposed by Alex Murray
Status: Merged
Merged at revision: 8ffdd3073eee444965e5794e43a79f33a020d145
Proposed branch: ~alexmurray/ubuntu-security-tools:dont-recommend-proposed
Merge into: ubuntu-security-tools:master
Diff against target: 31 lines (+9/-4)
1 file modified
package-tools/check-source-package (+9/-4)
Reviewer Review Type Date Requested Status
Marc Deslauriers Approve
Review via email: mp+393288@code.launchpad.net

Description of the change

Whilst it used to be the process to use foo-proposed as the suite when doing SRU type uploads, this was too confusing for users to see foo-proposed in changelogs when they didn't have -proposed enabled as an apt source, so instead now maintainer uploads should just use foo (ie the release pocket) not proposed.

To post a comment you must log in.
Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

LGTM, ACK.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/package-tools/check-source-package b/package-tools/check-source-package
2index 3cd8d47..195a87d 100755
3--- a/package-tools/check-source-package
4+++ b/package-tools/check-source-package
5@@ -536,9 +536,14 @@ check_pocket() {
6 failed "FAIL: does not have '${pocket}' pocket"
7 fi
8 elif [ "$dist" != "unstable" ] && [ "$dist" != "$devel" ]; then
9- # make sure -proposed is there for non-security uploads for released
10- # versions
11- if echo "$dist" | grep -E -q "[a-z]+-proposed$" || echo "$dist" | grep -E -q "[a-z]+-backports$" ; then
12+ # make sure -proposed is NOT there for non-security uploads for
13+ # released versions (in the past -proposed was used but this
14+ # resulted in confusing changelogs that would specify -proposed
15+ # even though users did not have -proposed enabled so make sure it
16+ # is not used)
17+ if echo "$dist" | grep -E -q "[a-z]+-proposed$" ; then
18+ failed "FAIL: pocket is 'proposed'"
19+ elif echo "$dist" | grep -E -q "[a-z]+-backports$" ; then
20 echo "pass"
21 else
22 pocket="updates"
23@@ -547,7 +552,7 @@ check_pocket() {
24 elif [ "$srcpkg_is_partner" = "yes" ]; then
25 echo "pass (partner)"
26 else
27- failed "FAIL: pocket is not 'proposed' or 'backports'"
28+ failed "FAIL: pocket is not release (ie. empty), 'updates' or 'backports'"
29 fi
30 fi
31 else

Subscribers

People subscribed via source and target branches