Merge lp:~vorlon/ubuntu-archive-scripts/i386-for-historic-series into lp:ubuntu-archive-scripts

Proposed by Steve Langasek
Status: Merged
Merged at revision: 262
Proposed branch: lp:~vorlon/ubuntu-archive-scripts/i386-for-historic-series
Merge into: lp:ubuntu-archive-scripts
Diff against target: 80 lines (+22/-0)
1 file modified
update-germinate (+22/-0)
To merge this branch: bzr merge lp:~vorlon/ubuntu-archive-scripts/i386-for-historic-series
Reviewer Review Type Date Requested Status
Adam Conrad (community) Approve
Review via email: mp+375409@code.launchpad.net

Description of the change

Continue germinating with i386 for already-released series. Assumes https://code.launchpad.net/~xnox/germinate/+git/germinate/+merge/374917 will land and switch the default to amd64 going forward.

Code cleans itself up as the older releases fall off.

To post a comment you must log in.
262. By Steve Langasek

Restore accidentally-nuked export statement

Revision history for this message
Adam Conrad (adconrad) wrote :

This looks reasonable. Normally, I'd suggest that we should always be explicit (and, thus, also set it to amd64 in the * case) to guard against defaults changing, but given that we have tight control over what happens to germinate and Colin isn't going to change it willy-nilly, the simplicity and self-cleaning of this works for me.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'update-germinate'
2--- update-germinate 2019-10-25 15:24:51 +0000
3+++ update-germinate 2019-11-11 20:22:09 +0000
4@@ -4,54 +4,76 @@
5
6 (cd "$HOME/germinate" && git pull -q)
7
8+export GERMINATE_OPTIONS
9+options_for_dist() {
10+ case $1 in
11+ precise|trusty|xenial|bionic|disco|eoan)
12+ GERMINATE_OPTIONS="-a i386"
13+ ;;
14+ esac
15+}
16+
17 for dist in precise trusty xenial bionic disco eoan focal; do
18+ options_for_dist "$dist"
19 update-one-germinate "ubuntu.$dist" "$dist" main,restricted,universe,multiverse
20 done
21
22 for dist in precise trusty xenial bionic disco eoan focal; do
23+ options_for_dist "$dist"
24 update-one-germinate "kubuntu.$dist" "$dist" main,restricted,universe,multiverse
25 done
26
27 for dist in precise trusty xenial; do
28+ options_for_dist "$dist"
29 update-one-germinate "edubuntu.$dist" "$dist" main,restricted,universe,multiverse
30 done
31
32 for dist in precise trusty xenial bionic disco eoan focal; do
33+ options_for_dist "$dist"
34 update-one-germinate "xubuntu.$dist" "$dist" main,restricted,universe,multiverse
35 done
36
37 for dist in precise trusty xenial bionic disco eoan focal; do
38+ options_for_dist "$dist"
39 update-one-germinate "ubuntustudio.$dist" "$dist" main,restricted,universe,multiverse
40 done
41
42 for dist in precise trusty xenial; do
43+ options_for_dist "$dist"
44 update-one-germinate "mythbuntu.$dist" "$dist" main,restricted,universe,multiverse
45 done
46
47 for dist in precise trusty; do
48+ options_for_dist "$dist"
49 update-one-germinate "kubuntu-active.$dist" "$dist" main,restricted,universe,multiverse
50 done
51
52 for dist in precise trusty xenial bionic disco eoan focal; do
53+ options_for_dist "$dist"
54 update-one-germinate "lubuntu.$dist" "$dist" main,restricted,universe,multiverse
55 done
56
57 for dist in trusty xenial; do
58+ options_for_dist "$dist"
59 update-one-germinate "ubuntu-gnome.$dist" "$dist" main,restricted,universe,multiverse
60 done
61
62 for dist in trusty xenial; do
63+ options_for_dist "$dist"
64 update-one-germinate "ubuntu-touch.$dist" "$dist" main,restricted,universe,multiverse
65 done
66
67 for dist in xenial bionic disco eoan focal; do
68+ options_for_dist "$dist"
69 update-one-germinate "ubuntukylin.$dist" "$dist" main,restricted,universe,multiverse
70 done
71
72 for dist in xenial bionic disco eoan focal; do
73+ options_for_dist "$dist"
74 update-one-germinate "ubuntu-mate.$dist" "$dist" main,restricted,universe,multiverse
75 done
76
77 for dist in bionic disco eoan focal; do
78+ options_for_dist "$dist"
79 update-one-germinate "ubuntu-budgie.$dist" "$dist" main,restricted,universe,multiverse
80 done

Subscribers

People subscribed via source and target branches