Merge ~brian-murray/ubuntu-archive-tools:warpspeed into ubuntu-archive-tools:main

Proposed by Brian Murray
Status: Merged
Merged at revision: 6445713f24e111805259a77fb3534617c5e83674
Proposed branch: ~brian-murray/ubuntu-archive-tools:warpspeed
Merge into: ubuntu-archive-tools:main
Diff against target: 21 lines (+3/-0)
1 file modified
phased-updater (+3/-0)
Reviewer Review Type Date Requested Status
Steve Langasek Approve
Review via email: mp+412104@code.launchpad.net

Description of the change

Some packages don't need to phase but rather than having Ubuntu SRU remember which ones are special snowflakes let's have the phased-updater fully phase them. [FWIW Ubuntu SRU couldn't actually fully phase packages even if we wanted to do it that way.]

To post a comment you must log in.
Revision history for this message
Steve Langasek (vorlon) :
review: Needs Fixing
Revision history for this message
Steve Langasek (vorlon) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/phased-updater b/phased-updater
2index 3eabc53..27878a5 100755
3--- a/phased-updater
4+++ b/phased-updater
5@@ -729,6 +729,8 @@ def main():
6 new_pup = current_pup + PUP_INCREMENT
7 if src_pkg in SLOW_PACKAGES:
8 new_pup = current_pup + PUP_SLOW_INCREMENT
9+ if src_pkg in FULLY_PHASED_PACKAGES:
10+ new_pup = 100
11 if not options.no_act:
12 set_pup(current_pup, new_pup, release, suite, src_pkg)
13 issues[rname][spph_link]['pup'] = new_pup
14@@ -765,6 +767,7 @@ if __name__ == '__main__':
15 'shim', 'shim-signed',
16 }
17 PUP_SLOW_INCREMENT = 1
18+ FULLY_PHASED_PACKAGES = ('livecd-rootfs')
19 REPORT_FILE = 'phased-updates.html'
20 parser = OptionParser(usage="usage: %prog [options]")
21 parser.add_option(

Subscribers

People subscribed via source and target branches