Merge ~ubuntu-release/ubuntu-release-tools/+git/templates:huge-items-to-checklist into ~ubuntu-release/ubuntu-release-tools/+git/templates:main

Proposed by Brian Murray
Status: Needs review
Proposed branch: ~ubuntu-release/ubuntu-release-tools/+git/templates:huge-items-to-checklist
Merge into: ~ubuntu-release/ubuntu-release-tools/+git/templates:main
Diff against target: 52 lines (+15/-18)
1 file modified
jira-milestones/end-of-life.yaml (+15/-18)
Reviewer Review Type Date Requested Status
Steve Langasek Approve
Review via email: mp+460057@code.launchpad.net

Description of the change

The task list used to have this comment "Required steps (this could be a checklist, but items are quite 'huge')", however I think this is actually an argument for having a checklist because the checklist will help you keep track of where you are! So I made the items a checklist so the person assigned the card can document their progress in the card rather than somewhere else.

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

LGTM.

I should not be trusted to review the yaml syntax and therefore have not attempted to do so.

review: Approve

Unmerged commits

fce6143... by Brian Murray

end-of-life: convert huge required steps to a checklist

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/jira-milestones/end-of-life.yaml b/jira-milestones/end-of-life.yaml
2index 9f30389..7ea2068 100644
3--- a/jira-milestones/end-of-life.yaml
4+++ b/jira-milestones/end-of-life.yaml
5@@ -45,11 +45,9 @@
6 Refer to the publicly-visible structure on http://old-releases.ubuntu.com/releases/.
7 This procedure indicates with some degree of accuracy what steps need to be taken, but anyone following this procedure is strongly advised to use their initiative.
8 In the following instructions, RELEASE should be replaced throughout with the name of the EOLed release. PROJECT is used for flavours of Ubuntu other than Ubuntu itself (e.g. Kubuntu, Edubuntu, etc.).
9-
10- Required steps (this could be a checklist, but items are quite 'huge'):
11-
12- * Disable mirror syncing: `touch /srv/cdimage.ubuntu.com/etc/STOP_SYNC_MIRRORS`
13- * In /srv/cdimage.ubuntu.com/www/simple/, find all directories named after the EOLed release. In each one:
14+ checklist:
15+ - Disable mirror syncing: `touch /srv/cdimage.ubuntu.com/etc/STOP_SYNC_MIRRORS`
16+ - In /srv/cdimage.ubuntu.com/www/simple/, find all directories named after the EOLed release. In each one:
17 * Move all files containing the release number in the adjacent .pool directory to the corresponding .pool subdirectory of /srv/cdimage.ubuntu.com/www/old-releases/ (either .pool or PROJECT/.pool), creating it if necessary.
18 * In the target .pool directory, run checksum-directory . /path/to/old/directory, or update checksums manually if necessary (in the latter case, remember to use sign-cdimage on each checksums file).
19 * Move all files starting with a lower-case letter to the corresponding subdirectory of /srv/cdimage.ubuntu.com/www/old-releases/ (either RELEASE or PROJECT/RELEASE), creating it if necessary.
20@@ -63,20 +61,19 @@
21 * Remove the remaining files and symlinks corresponding to the EOLed release from under /srv/cdimage.ubuntu.com/www/simple/. Clean up emptied directories if any.
22 * Edit /srv/cdimage.ubuntu.com/www/simple/.htaccess, /srv/cdimage.ubuntu.com/www/simple/.manifest, /srv/cdimage.ubuntu.com/www/simple/.manifest.full and /srv/cdimage.ubuntu.com/www/simple/HEADER.html (or simple/PROJECT/...) by hand to remove references to the EOLed release.
23 * Edit /srv/cdimage.ubuntu.com/www/simple/.htaccess (not PROJECT-specific) to add appropriate RedirectPermanent directives redirecting users to the new URLs.
24- * Re-enable mirror syncing: `rm /srv/cdimage.ubuntu.com/etc/STOP_SYNC_MIRRORS`
25- * Push to mirrors: `sync-old-releases; sync-mirrors`
26+ - Re-enable mirror syncing: `rm /srv/cdimage.ubuntu.com/etc/STOP_SYNC_MIRRORS`
27+ - Push to mirrors: `sync-old-releases; sync-mirrors`
28 - task: Move any images from cdimage.ubuntu.com to old-images on nusakan and notify IS team for archival
29- description: |
30- Required steps (this could be a checklist, but items are quite 'huge'):
31-
32- * Disable mirror syncing: `touch /srv/cdimage.ubuntu.com/etc/STOP_SYNC_MIRRORS`
33- * If /srv/cdimage.ubuntu.com/www/full/netboot/RELEASE/ exists, remove it (it is only an HTML page with links, and does not need to be archived), remove any symlinks to it, and remove references to it from /srv/cdimage.ubuntu.com/www/full/netboot/index.html.
34- * In /srv/cdimage.ubuntu.com/www/full/, find all directories named after the EOLed release which have /releases/ in their path. Each one will have a subdirectory identifying the milestone (e.g. release, release.1, etc.). For each one:
35- * Move the RELEASE directory to the corresponding (i.e. FLAVOR) /releases/ subdirectory of /srv/cdimage.ubuntu.com/old-images/, creating it if necessary.
36- * Remove any remaining files and symlinks corresponding to the EOLed release from under /srv/cdimage.ubuntu.com/www/full/. Clean up emptied directories if any.
37- * In /srv/cdimage.ubuntu.com/www/torrent/, find all directories named after the EOLed release which have /releases/, /ports/, or /simple/ in their path. Remove these directories.
38- * Re-enable mirror syncing: `rm /srv/cdimage.ubuntu.com/etc/STOP_SYNC_MIRRORS`
39- * Push to mirrors: `sync-mirrors`
40+ checklist:
41+ - Disable mirror syncing: `touch /srv/cdimage.ubuntu.com/etc/STOP_SYNC_MIRRORS`
42+ - If /srv/cdimage.ubuntu.com/www/full/netboot/RELEASE/ exists, remove it (it is only an HTML page with links, and does not need to be archived), remove any symlinks to it, and remove references to it from /srv/cdimage.ubuntu.com/www/full/netboot/index.html.
43+ - In /srv/cdimage.ubuntu.com/www/full/, find all directories named after the EOLed release which have /releases/ in their path. Each one will have a subdirectory identifying the milestone (e.g. release, release.1, etc.). For each one:
44+ * Move the RELEASE directory to the corresponding (i.e. FLAVOR) /releases/ subdirectory of /srv/cdimage.ubuntu.com/old-images/, creating it if necessary.
45+ * Remove any remaining files and symlinks corresponding to the EOLed release from under /srv/cdimage.ubuntu.com/www/full/. Clean up emptied directories if any.
46+ - In /srv/cdimage.ubuntu.com/www/torrent/, find all directories named after the EOLed release which have /releases/, /ports/, or /simple/ in their path. Remove these directories.
47+ - Re-enable mirror syncing: `rm /srv/cdimage.ubuntu.com/etc/STOP_SYNC_MIRRORS`
48+ - Push to mirrors: `sync-mirrors`
49+ - Notify IS team for archival e.g. https://portal.admin.canonical.com/C152695
50 - task: Archive the apt archive to old-releases
51 description: >
52 Even with sign-off from all parties, we typically give a generous grace period between backup and removal, a month for 9mo releases and 6mo for LTS

Subscribers

People subscribed via source and target branches