Merge lp:~seb128/apt-ddtp-tools/apt-ddtp-tools into lp:apt-ddtp-tools

Proposed by Sebastien Bacher
Status: Merged
Merged at revision: 112
Proposed branch: lp:~seb128/apt-ddtp-tools/apt-ddtp-tools
Merge into: lp:apt-ddtp-tools
Diff against target: 171 lines (+86/-27)
1 file modified
UbuntuChecklist (+86/-27)
To merge this branch: bzr merge lp:~seb128/apt-ddtp-tools/apt-ddtp-tools
Reviewer Review Type Date Requested Status
Paride Legovini Approve
Utkarsh Gupta Pending
Review via email: mp+482899@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Paride Legovini (paride) wrote :

This is already a big improvement, but I would still find instructions confusing. In particular: if I want to open a new series, should I start with "Opening a new series" or with the earlier steps? Now I know that the earlier steps are needed (...right?), but that's not clear from the checklist alone. Maybe it should be made more explicit.

Also, when "opening a new series", should one proceed to the "Merging new translations from debian" section? By looking at the headers hierarchy, I would say "no", but if the answer is "yes", then the headers hierarchy should be improved.

Nit/cosmetic: this is the first time I see $SERIE being used, instead of $SERIES, even as a singular.

113. By Sebastien Bacher

Refactor to resolve the issues pointed in the first review

Revision history for this message
Sebastien Bacher (seb128) wrote :

@paride: Thanks for the review.

I've refactored the sections a bit more have one part at the beginning about the new series opening follow by another about doing updates (which should happen after the opening of the new cycle but also again during the cycle).

I've also fixed the "series" spelling

Revision history for this message
Paride Legovini (paride) wrote :

Thank you, I find it way more clear now. I going ahead merging this, should we want more improvement (likely to happen when we'll try to actually exercise this again) we can iterate with more MPs.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'UbuntuChecklist'
2--- UbuntuChecklist 2023-04-14 03:34:17 +0000
3+++ UbuntuChecklist 2025-03-25 15:04:55 +0000
4@@ -1,10 +1,9 @@
5-
6-= Checklist for translated package descriptons =
7+= Checklist for translated package descriptions =
8
9 This document gives a overview how to work with translated
10 package descriptions in ubuntu. You need the tools from:
11 {{{
12-lp:~mvo/apt-ddtp-tools/trunk
13+lp:~ubuntu-release/apt-ddtp-tools/trunk
14 }}}
15
16 The launchpad project with the bzr branches and imports is
17@@ -13,41 +12,78 @@
18 https://launchpad.net/ddtp-ubuntu
19 }}}
20
21-== Preparing the bzr trees ==
22+== Opening a new series (for a new ubuntu release) ==
23+
24+=== Define the series ===
25+
26+To make easier to copy paste some of the commands from this document
27+
28+{{{
29+export SERIES=<new-series-codename>
30+}}}
31+
32+
33+=== Creating the branches ===
34+
35+Create the translation branches for the new series (by doing a checkout from the current stable branches and pushing them as $SERIES):
36+{{{
37+lp:~ubuntu-core-dev/ddtp-ubuntu/ddtp-$SERIES
38+}}}
39+
40+{{{
41+lp:~ubuntu-core-dev/ddtp-ubuntu/ddtp-pot-$SERIES
42+}}}
43+
44+=== Preparing the bzr trees ===
45
46 Most data is imported and exported via bzr now, you need the
47 dirs:
48
49-ubuntu/bzr-po-exports/bzr-ddtp-ubuntu-lunar that points to
50-lp:~ubuntu-core-dev/ddtp-ubuntu/ddtp-lunar for the exported po files
51+ubuntu/bzr-po-exports/bzr-ddtp-ubuntu-$SERIES that points to
52+lp:~ubuntu-core-dev/ddtp-ubuntu/ddtp-$SERIES for the exported po files
53
54-ubuntu/bzr-pot-imports/bzr-ddtp-pot-lunar that points to
55-lp:~ubuntu-core-dev/ddtp-ubuntu/ddtp-pot-lunar for the pot files that LP
56+ubuntu/bzr-pot-imports/bzr-ddtp-pot-$SERIES that points to
57+lp:~ubuntu-core-dev/ddtp-ubuntu/ddtp-pot-$SERIES for the pot files that LP
58 will import from you
59
60+{{{
61+export SERIES=plucky
62+bzr branch lp:~ubuntu-release/apt-ddtp-tools/trunk apt-ddtp-tools
63+cd apt-ddtp-tools/ubuntu
64+mkdir bzr-po-exports
65+cd bzr-po-exports
66+bzr branch lp:~ubuntu-core-dev/ddtp-ubuntu/ddtp-$SERIES bzr-ddtp-ubuntu-$SERIES
67+cd -
68+mkdir bzr-pot-imports
69+cd bzr-pot-imports
70+bzr branch lp:~ubuntu-core-dev/ddtp-ubuntu/ddtp-pot-$SERIES bzr-ddtp-pot-$SERIES
71+cd -
72+}}}
73
74-== Opening a new series (for a new ubuntu release) ==
75+=== Add the new series on launchpad ===
76
77 Go to https://launchpad.net/ddtp-ubuntu/+addseries and add something
78-like: "lunar", "The translations for Ubuntu 23.04 'lunar'".
79+like: "$SERIES", "The translations for Ubuntu XX.YY '$SERIES'".
80
81 Go to
82-https://translations.launchpad.net/ddtp-ubuntu/lunar/+translations-settings
83-and select target branch like "lp:~ubuntu-core-dev/ddtp-ubuntu/ddtp-lunar" and
84+https://translations.launchpad.net/ddtp-ubuntu/$SERIES/+translations-settings
85+and select target branch like "lp:~ubuntu-core-dev/ddtp-ubuntu/ddtp-$SERIES" and
86 make sure to set the syncronisation settings to import "pot and
87 translations".
88
89-Push your branch containing the pot files and then request a one-time
90-translation import at
91-https://translations.launchpad.net/ddtp-ubuntu/lunar/+request-bzr-import
92-
93-== Support for alternative series ==
94-
95-If an update is needed for an alternative series (like "kinetic"),
96-you need to alter the file "series.sh". Then everything should
97-work magically.
98-
99-== Update the pot file in rosetta ==
100+- https://launchpad.net/ddtp-ubuntu/plucky/+setbranch , set
101+'link to an existing branch' to ~ubuntu-core-dev/ddtp-ubuntu/ddtp-pot-$SERIES
102+
103+- https://translations.launchpad.net/ddtp-ubuntu/plucky/+link-translations-branch
104+set 'Translations export branch' to ~ubuntu-core-dev/ddtp-ubuntu/ddtp-$SERIES
105+
106+== Update the translations ==
107+
108+The following steps should be followed as part of the new serie opening
109+but at not limited to it as translations will be refreshed again at
110+other cycle milestones.
111+
112+=== Update the pot file in rosetta ===
113
114 Go into to the ubuntu dir and run:
115 {{{
116@@ -59,7 +95,21 @@
117 in $COMP/ubuntu-ddtp-$comp.pot. They will be uploaded automatically
118 via a bzr commit at the end.
119
120-== Merging new translations from debian ==
121+Push your branch containing the pot files
122+{{{
123+cd bzr-pot-imports/bzr-ddtp-pot-$SERIES
124+bzr push lp:~ubuntu-core-dev/ddtp-ubuntu/ddtp-pot-$SERIES
125+}}}
126+
127+and then request a one-time translation import at
128+https://translations.launchpad.net/ddtp-ubuntu/$SERIES/+request-bzr-import
129+
130+Templates files for the different pockets should be displayed as approved
131+on https://translations.launchpad.net/ddtp-ubuntu/plucky/+imports
132+After a bit https://translations.launchpad.net/ddtp-ubuntu/plucky
133+should show translations
134+
135+=== Merging new translations from debian ===
136
137 Go to {{{ubuntu/debian-ddtp-import}}} and run
138 {{{
139@@ -72,7 +122,7 @@
140 }}}
141 and wait until the updates are imported by rosetta
142
143-== Uploading new Translations-$lang files to the archive ==
144+=== Uploading new Translations-$lang files to the archive ===
145
146 Get (or update) the bzr checkout of the export:
147 {{{
148@@ -92,8 +142,8 @@
149
150 It will also generate a package to upload in ubuntu/packages.
151
152-== Generate a sync export for debian ==
153-Go to jaunty/debian-ddtp-import and run:
154+=== Generate a sync export for debian ===
155+Go to ubuntu/debian-ddtp-import and run:
156 {{{ ./gen-sync.sh }}}
157 that will output a lot of files in the missing-in-debian/
158 directory.
159@@ -104,3 +154,12 @@
160 rm *no.same.md5*
161 for f in *; do ../ddtp-upload.py $f; done
162 }}}
163+
164+== Other notes ==
165+
166+=== Support for alternative series ===
167+
168+If an update is needed for an alternative series (like "kinetic"),
169+you need to alter the file "series.sh". Then everything should
170+work magically.
171+

Subscribers

People subscribed via source and target branches