summaryrefslogtreecommitdiff
path: root/po4a/dgit-nmu-simple_7.pot
blob: 691d13693ab954c6328808125a2566a0a16cd4e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
# SOME DESCRIPTIVE TITLE
# Copyright (C) YEAR Free Software Foundation, Inc.
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2018-10-04 01:04+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#. type: =head1
#: ../dgit.1:3 ../dgit.7:2 ../dgit-user.7.pod:1 ../dgit-nmu-simple.7.pod:1
#: ../dgit-maint-native.7.pod:1 ../dgit-maint-merge.7.pod:1
#: ../dgit-maint-gbp.7.pod:1 ../dgit-maint-debrebase.7.pod:1
#: ../dgit-downstream-dsc.7.pod:1 ../dgit-sponsorship.7.pod:1
#: ../git-debrebase.1.pod:1 ../git-debrebase.5.pod:1
#, no-wrap
msgid "NAME"
msgstr ""

#. type: =head1
#: ../dgit.1:1394 ../dgit.7:23 ../dgit-user.7.pod:447
#: ../dgit-nmu-simple.7.pod:137 ../dgit-maint-native.7.pod:126
#: ../dgit-maint-merge.7.pod:491 ../dgit-maint-gbp.7.pod:136
#: ../dgit-maint-debrebase.7.pod:722 ../dgit-downstream-dsc.7.pod:352
#: ../dgit-sponsorship.7.pod:321 ../git-debrebase.1.pod:601
#: ../git-debrebase.5.pod:678
#, no-wrap
msgid "SEE ALSO"
msgstr ""

#. type: =head1
#: ../dgit.7:4 ../dgit-user.7.pod:27 ../dgit-nmu-simple.7.pod:35
#, no-wrap
msgid "SUMMARY"
msgstr ""

#. type: textblock
#: ../dgit-nmu-simple.7.pod:3
msgid "dgit-nmu-simple - tutorial for DDs wanting to NMU with git"
msgstr ""

#. type: =head1
#: ../dgit-nmu-simple.7.pod:5 ../dgit-sponsorship.7.pod:5
msgid "INTRODUCTION AND SCOPE"
msgstr ""

#. type: textblock
#: ../dgit-nmu-simple.7.pod:7
msgid ""
"This tutorial describes how a Debian Developer can do a straightforward NMU "
"of a package in Debian, using dgit."
msgstr ""

#. type: textblock
#: ../dgit-nmu-simple.7.pod:11
msgid ""
"This document won't help you decide whether an NMU is a good idea or whether "
"it be well received.  The Debian Developers' Reference has some (sometimes "
"questionable) guidance on this."
msgstr ""

#. type: textblock
#: ../dgit-nmu-simple.7.pod:17
msgid ""
"Conversely, you do not need to know anything about the usual maintainer's "
"git workflow.  If appropriate, you can work on many different packages, "
"making similar changes, without worrying about the individual maintainers' "
"git practices."
msgstr ""

#. type: textblock
#: ../dgit-nmu-simple.7.pod:23
msgid ""
"This tutorial only covers changes which can sensibly be expressed as a "
"reasonably small number of linear commits (whether to Debian packaging or to "
"upstream files or both)."
msgstr ""

#. type: textblock
#: ../dgit-nmu-simple.7.pod:28
msgid ""
"If you want to do a new upstream version, you probably want to do as the "
"maintainer would have done.  You'll need to find out what the maintainer's "
"git practices are and consult the appropriate C<dgit-maint-*(7)> workflow "
"tutorial,"
msgstr ""

#. type: verbatim
#: ../dgit-nmu-simple.7.pod:39
#, no-wrap
msgid ""
"    % dgit clone glibc jessie\n"
"    % cd glibc\n"
"    % git am ~/glibc-security-fix.diff\n"
"    % dch --nmu \"Apply upstream's fix for foo bug.\"\n"
"    % git add debian/changelog && git commit -m\"NMU changelog entry\"\n"
"    % dpkg-buildpackage -uc -b\n"
"    [ run your tests ]\n"
"    % dch -r && git add debian/changelog && git commit -m\"Finalise NMU\"\n"
"    % dgit -wgf sbuild -A -c jessie\n"
"    [ final tests on generated .debs ]\n"
"    % dgit -wgf [--delayed=5] push jessie\n"
"    [ enter your gnupg passphrase as prompted ]\n"
"    [ see that push and upload are successful ]\n"
"    [ prepare and email NMU diff (git-diff, git-format-patch) ]\n"
"\n"
msgstr ""

#. type: =head1
#: ../dgit-nmu-simple.7.pod:56
msgid "WHAT KIND OF CHANGES AND COMMITS TO MAKE"
msgstr ""

#. type: textblock
#: ../dgit-nmu-simple.7.pod:58
msgid ""
"When preparing an NMU, the git commits you make on the dgit branch should be "
"simple linear series of commits with good commit messages.  The commit "
"messages will be published in various ways, including perhaps being used as "
"the cover messages for generated quilt patches."
msgstr ""

#. type: textblock
#: ../dgit-nmu-simple.7.pod:64
msgid ""
"Do not make merge commits.  Do not try to rebase to drop patches - if you "
"need to revert a change which is actually a Debian patch, use git-revert."
msgstr ""

#. type: textblock
#: ../dgit-nmu-simple.7.pod:69
msgid ""
"If you need to modify a Debian patch, make a new commit which fixes what "
"needs fixing, and explain in the commit message which patch it should be "
"squashed with (perhaps by use of a commit message in C<git rebase --"
"autosquash -i> format)."
msgstr ""

#. type: textblock
#: ../dgit-nmu-simple.7.pod:76
msgid ""
"(Of course if you have specific instructions from the maintainer, you can "
"follow those instead.  But the procedure in this tutorial is legitimate for "
"any maintainer, in the sense that it should generate an upload to which the "
"maintainer cannot reasonably object.)"
msgstr ""

#. type: =head1
#: ../dgit-nmu-simple.7.pod:82
msgid "RELEVANT BRANCHES"
msgstr ""

#. type: textblock
#: ../dgit-nmu-simple.7.pod:84
msgid ""
"dgit clone will put you on a branch like C<dgit/sid>.  There is a pseudo-"
"remote called C<dgit> which also contains a branch like C<dgit/sid>, so you "
"do things like C<git diff dgit/dgit/sid> to see what changes you have made."
msgstr ""

#. type: =head1
#: ../dgit-nmu-simple.7.pod:90
msgid "KEEPING YOUR WORKING TREE TIDY"
msgstr ""

#. type: textblock
#: ../dgit-nmu-simple.7.pod:92
msgid ""
"Don't forget to C<git add> any new files you create.  Otherwise git clean "
"(which is requested with the C<-wgf> option in the recipe above)  will "
"delete them."
msgstr ""

#. type: textblock
#: ../dgit-nmu-simple.7.pod:97
msgid ""
"Many package builds leave dirty git trees.  So, commit before building.  "
"That way you can use C<git reset --hard>."
msgstr ""

#. type: textblock
#: ../dgit-nmu-simple.7.pod:101
msgid ""
"If you follow this approach you don't need to care about the build dirtying "
"the tree.  It also means you don't care about the package clean target, "
"which is just as well because many package clean targets are broken."
msgstr ""

#. type: =head1
#: ../dgit-nmu-simple.7.pod:107
msgid "OTHER GIT BRANCHES"
msgstr ""

#. type: textblock
#: ../dgit-nmu-simple.7.pod:109
msgid ""
"The dgit git history (visible in gitk and git log)  is not necessarily "
"related to the maintainer's or upstream's git history (if any)."
msgstr ""

#. type: textblock
#: ../dgit-nmu-simple.7.pod:114
msgid ""
"If the maintainer has advertised a git repo with Vcs-Git dgit will set up a "
"remote for it, so you can do"
msgstr ""

#. type: verbatim
#: ../dgit-nmu-simple.7.pod:121
#, no-wrap
msgid ""
"    % git fetch vcs-git\n"
"\n"
msgstr ""

#. type: textblock
#: ../dgit-nmu-simple.7.pod:125
msgid ""
"You can cherry pick changes from there, for example.  Note that the "
"maintainer's git history may not be suitable for use with dgit.  For "
"example, it might be a patches-unapplied branch or even contain only a "
"debian/ directory."
msgstr ""

#. type: =head1
#: ../dgit-nmu-simple.7.pod:131
msgid "UPLOADING TO DELAYED"
msgstr ""

#. type: textblock
#: ../dgit-nmu-simple.7.pod:133
msgid ""
"You can use dgit's I<--delayed> option to upload to the DELAYED queue.  "
"However, you should read the warning about this option in dgit(1)."
msgstr ""

#. type: textblock
#: ../dgit-nmu-simple.7.pod:139
msgid "dgit(1), dgit(7), dgit-maint-*(7)"
msgstr ""