chiark / gitweb /
documentation style: "appropriate configuration" as a mass noun
[dgit.git] / po4a / dgit-user_7.pot
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2019-01-06 17:14+0000\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <LL@li.org>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: =head1
20 #: ../dgit.1:3 ../dgit.7:2 ../dgit-user.7.pod:1 ../dgit-nmu-simple.7.pod:1
21 #: ../dgit-maint-native.7.pod:1 ../dgit-maint-merge.7.pod:1
22 #: ../dgit-maint-gbp.7.pod:1 ../dgit-maint-debrebase.7.pod:1
23 #: ../dgit-downstream-dsc.7.pod:1 ../dgit-sponsorship.7.pod:1
24 #: ../git-debrebase.1.pod:1 ../git-debrebase.5.pod:1
25 #, no-wrap
26 msgid "NAME"
27 msgstr ""
28
29 #. type: =head1
30 #: ../dgit.1:1469 ../dgit.7:23 ../dgit-user.7.pod:447
31 #: ../dgit-nmu-simple.7.pod:137 ../dgit-maint-native.7.pod:126
32 #: ../dgit-maint-merge.7.pod:491 ../dgit-maint-gbp.7.pod:136
33 #: ../dgit-maint-debrebase.7.pod:747 ../dgit-downstream-dsc.7.pod:352
34 #: ../dgit-sponsorship.7.pod:321 ../git-debrebase.1.pod:619
35 #: ../git-debrebase.5.pod:678
36 #, no-wrap
37 msgid "SEE ALSO"
38 msgstr ""
39
40 #. type: =head1
41 #: ../dgit.7:4 ../dgit-user.7.pod:27 ../dgit-nmu-simple.7.pod:35
42 #, no-wrap
43 msgid "SUMMARY"
44 msgstr ""
45
46 #. type: textblock
47 #: ../dgit-user.7.pod:3
48 msgid "dgit-user - making and sharing changes to Debian packages, with git"
49 msgstr ""
50
51 #. type: =head1
52 #: ../dgit-user.7.pod:5 ../dgit-maint-native.7.pod:5
53 #: ../dgit-maint-merge.7.pod:5 ../dgit-maint-gbp.7.pod:5
54 #: ../dgit-maint-debrebase.7.pod:5 ../dgit-downstream-dsc.7.pod:5
55 #: ../git-debrebase.1.pod:10 ../git-debrebase.5.pod:5
56 msgid "INTRODUCTION"
57 msgstr ""
58
59 #. type: textblock
60 #: ../dgit-user.7.pod:7
61 msgid ""
62 "dgit lets you fetch the source code to every package on your system as if "
63 "your distro used git to maintain all of it."
64 msgstr ""
65
66 #. type: textblock
67 #: ../dgit-user.7.pod:11
68 msgid ""
69 "You can then edit it, build updated binary packages (.debs)  and install and "
70 "run them.  You can also share your work with others."
71 msgstr ""
72
73 #. type: textblock
74 #: ../dgit-user.7.pod:16
75 msgid ""
76 "This tutorial gives some recipes and hints for this.  It assumes you have "
77 "basic familiarity with git.  It does not assume any initial familiarity with "
78 "Debian's packaging processes."
79 msgstr ""
80
81 #. type: textblock
82 #: ../dgit-user.7.pod:21
83 msgid ""
84 "If you are a package maintainer within Debian; a DM or DD; and/or a sponsee: "
85 "this tutorial is not for you.  Try L<dgit-nmu-simple(7)>, L<dgit-maint-"
86 "*(7)>, or L<dgit(1)> and L<dgit(7)>."
87 msgstr ""
88
89 #. type: textblock
90 #: ../dgit-user.7.pod:29
91 msgid "(These runes will be discussed later.)"
92 msgstr ""
93
94 #. type: verbatim
95 #: ../dgit-user.7.pod:33
96 #, no-wrap
97 msgid ""
98 "    % dgit clone glibc jessie,-security\n"
99 "    % cd glibc\n"
100 "    % curl 'https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=28250;mbox=yes;msg=89' | patch -p1 -u\n"
101 "    % git commit -a -m 'Fix libc lost output bug'\n"
102 "    % gbp dch -S --since=dgit/dgit/sid --ignore-branch --commit\n"
103 "    % mk-build-deps --root-cmd=sudo --install\n"
104 "    % dpkg-buildpackage -uc -b\n"
105 "    % sudo dpkg -i ../libc6_*.deb\n"
106 "\n"
107 msgstr ""
108
109 #. type: textblock
110 #: ../dgit-user.7.pod:44
111 msgid "Occasionally:"
112 msgstr ""
113
114 #. type: verbatim
115 #: ../dgit-user.7.pod:48 ../dgit-user.7.pod:242
116 #, no-wrap
117 msgid ""
118 "    % git clean -xdf\n"
119 "    % git reset --hard\n"
120 "\n"
121 msgstr ""
122
123 #. type: textblock
124 #: ../dgit-user.7.pod:53
125 msgid "Later:"
126 msgstr ""
127
128 #. type: verbatim
129 #: ../dgit-user.7.pod:57
130 #, no-wrap
131 msgid ""
132 "    % cd glibc\n"
133 "    % dgit pull jessie,-security\n"
134 "    % gbp dch -S --since=dgit/dgit/sid --ignore-branch --commit\n"
135 "    % dpkg-buildpackage -uc -b\n"
136 "    % sudo dpkg -i ../libc6_*.deb\n"
137 "\n"
138 msgstr ""
139
140 #. type: =head1
141 #: ../dgit-user.7.pod:65
142 msgid "FINDING THE RIGHT SOURCE CODE - DGIT CLONE"
143 msgstr ""
144
145 #. type: verbatim
146 #: ../dgit-user.7.pod:69
147 #, no-wrap
148 msgid ""
149 "    % dgit clone glibc jessie,-security\n"
150 "    % cd glibc\n"
151 "\n"
152 msgstr ""
153
154 #. type: textblock
155 #: ../dgit-user.7.pod:74
156 msgid ""
157 "dgit clone needs to be told the source package name (which might be "
158 "different to the binary package name, which was the name you passed to \"apt-"
159 "get install\")  and the codename or alias of the Debian release (this is "
160 "called the \"suite\")."
161 msgstr ""
162
163 #. type: =head2
164 #: ../dgit-user.7.pod:80
165 msgid "Finding the source package name"
166 msgstr ""
167
168 #. type: textblock
169 #: ../dgit-user.7.pod:82
170 msgid ""
171 "For many packages, the source package name is obvious.  Otherwise, if you "
172 "know a file that's in the package, you can look it up with dpkg:"
173 msgstr ""
174
175 #. type: verbatim
176 #: ../dgit-user.7.pod:88
177 #, no-wrap
178 msgid ""
179 "    % dpkg -S /lib/i386-linux-gnu/libc.so.6 \n"
180 "    libc6:i386: /lib/i386-linux-gnu/libc.so.6\n"
181 "    % dpkg -s libc6:i386\n"
182 "    Package: libc6\n"
183 "    Status: install ok installed\n"
184 "    ...\n"
185 "    Source: glibc\n"
186 "\n"
187 msgstr ""
188
189 #. type: textblock
190 #: ../dgit-user.7.pod:98
191 msgid ""
192 "(In this example, libc6 is a \"multi-arch: allowed\" package, which means "
193 "that it exists in several different builds for different architectures.  "
194 "That's where C<:i386> comes from.)"
195 msgstr ""
196
197 #. type: =head2
198 #: ../dgit-user.7.pod:104
199 msgid "Finding the Debian release (the \"suite\")"
200 msgstr ""
201
202 #. type: textblock
203 #: ../dgit-user.7.pod:106
204 msgid ""
205 "Internally, Debian (and derived) distros normally refer to their releases by "
206 "codenames.  Debian also has aliases which refer to the current stable "
207 "release etc.  So for example, at the time of writing Debian C<jessie> "
208 "(Debian 8) is Debian C<stable>; and the current version of Ubuntu is "
209 "C<yakkety> (Yakkety Yak, 16.10).  You can specify either the codename "
210 "C<jessie> or the alias C<stable>.  If you don't say, you get C<sid>, which "
211 "is Debian C<unstable> - the main work-in progress branch."
212 msgstr ""
213
214 #. type: textblock
215 #: ../dgit-user.7.pod:117
216 msgid "If you don't know what you're running, try this:"
217 msgstr ""
218
219 #. type: verbatim
220 #: ../dgit-user.7.pod:121
221 #, no-wrap
222 msgid ""
223 "    % grep '^deb' /etc/apt/sources.list\n"
224 "    deb http://the.earth.li/debian/ jessie main non-free contrib\n"
225 "    ...\n"
226 "    %\n"
227 "\n"
228 msgstr ""
229
230 #. type: textblock
231 #: ../dgit-user.7.pod:128
232 msgid ""
233 "For Debian, you should add C<,-security> to the end of the suite name, "
234 "unless you're on unstable or testing.  Hence, in our example C<jessie> "
235 "becomes C<jessie,-security>.  (Yes, with a comma.)"
236 msgstr ""
237
238 #. type: =head1
239 #: ../dgit-user.7.pod:135
240 msgid "WHAT DGIT CLONE PRODUCES"
241 msgstr ""
242
243 #. type: =head2
244 #: ../dgit-user.7.pod:137
245 msgid "What branches are there"
246 msgstr ""
247
248 #. type: textblock
249 #: ../dgit-user.7.pod:139
250 msgid ""
251 "dgit clone will give you a new working tree, and arrange for you to be on a "
252 "branch named like C<dgit/jessie,-security> (yes, with a comma in the branch "
253 "name)."
254 msgstr ""
255
256 #. type: textblock
257 #: ../dgit-user.7.pod:143
258 msgid ""
259 "For each release (like C<jessie>)  there is a tracking branch for the "
260 "contents of the archive, called C<remotes/dgit/dgit/jessie> (and similarly "
261 "for other suites).  This can be updated with C<dgit fetch jessie>.  This, "
262 "the I<remote suite branch>, is synthesized by your local copy of dgit.  It "
263 "is fast forwarding."
264 msgstr ""
265
266 #. type: textblock
267 #: ../dgit-user.7.pod:152
268 msgid ""
269 "Debian separates out the security updates, into C<*-security>.  Telling dgit "
270 "C<jessie,-security> means that it should include any updates available in "
271 "C<jessie-security>.  The comma notation is a request to dgit to track "
272 "jessie, or jessie-security if there is an update for the package there."
273 msgstr ""
274
275 #. type: textblock
276 #: ../dgit-user.7.pod:158
277 msgid ""
278 "(You can also dgit fetch in a tree that wasn't made by dgit clone.  If "
279 "there's no C<debian/changelog> you'll have to supply a C<-p>I<package> "
280 "option to dgit fetch.)"
281 msgstr ""
282
283 #. type: =head2
284 #: ../dgit-user.7.pod:162
285 msgid "What kind of source tree do you get"
286 msgstr ""
287
288 #. type: textblock
289 #: ../dgit-user.7.pod:164
290 msgid ""
291 "If the Debian package is based on some upstream release, the code layout "
292 "should be like the upstream version.  You should find C<git grep> helpful to "
293 "find where to edit."
294 msgstr ""
295
296 #. type: textblock
297 #: ../dgit-user.7.pod:168
298 msgid ""
299 "The package's Debian metadata and the scripts for building binary packages "
300 "are under C<debian/>.  C<debian/control>, C<debian/changelog> and C<debian/"
301 "rules> are the starting points.  The Debian Policy Manual has most of the in-"
302 "depth technical details."
303 msgstr ""
304
305 #. type: textblock
306 #: ../dgit-user.7.pod:175
307 msgid ""
308 "For many Debian packages, there will also be some things in C<debian/patches/"
309 ">.  It is best to ignore these.  Insofar as they are relevant the changes "
310 "there will have been applied to the actual files, probably by means of "
311 "actual comments in the git history.  The contents of debian/patches are "
312 "ignored when building binaries from dgitish git branches."
313 msgstr ""
314
315 #. type: textblock
316 #: ../dgit-user.7.pod:185
317 msgid ""
318 "(For Debian afficionados: the git trees that come out of dgit are \"patches-"
319 "applied packaging branches without a .pc directory\".)"
320 msgstr ""
321
322 #. type: =head2
323 #: ../dgit-user.7.pod:190
324 msgid "What kind of history you get"
325 msgstr ""
326
327 #. type: textblock
328 #: ../dgit-user.7.pod:192
329 msgid ""
330 "If you're lucky, the history will be a version of, or based on, the Debian "
331 "maintainer's own git history, or upstream's git history."
332 msgstr ""
333
334 #. type: textblock
335 #: ../dgit-user.7.pod:197
336 msgid ""
337 "But for many packages the real git history does not exist, or has not been "
338 "published in a dgitish form.  So you may find that the history is a rather "
339 "short history invented by dgit."
340 msgstr ""
341
342 #. type: textblock
343 #: ../dgit-user.7.pod:203
344 msgid ""
345 "dgit histories often contain automatically-generated commits, including "
346 "commits which make no changes but just serve to make a rebasing branch fast-"
347 "forward.  This is particularly true of combining branches like C<jessie,-"
348 "security>."
349 msgstr ""
350
351 #. type: textblock
352 #: ../dgit-user.7.pod:210
353 msgid ""
354 "If the package maintainer is using git then after dgit clone you may find "
355 "that there is a useful C<vcs-git> remote referring to the Debian package "
356 "maintainer's repository for the package.  You can see what's there with "
357 "C<git fetch vcs-git>.  But use what you find there with care: Debian "
358 "maintainers' git repositories often have contents which are very confusing "
359 "and idiosyncratic.  In particular, you may need to manually apply the "
360 "patches that are in debian/patches before you do anything else!"
361 msgstr ""
362
363 #. type: =head1
364 #: ../dgit-user.7.pod:222 ../dgit-maint-gbp.7.pod:56
365 msgid "BUILDING"
366 msgstr ""
367
368 #. type: =head2
369 #: ../dgit-user.7.pod:224
370 msgid "Always commit before building"
371 msgstr ""
372
373 #. type: verbatim
374 #: ../dgit-user.7.pod:228
375 #, no-wrap
376 msgid ""
377 "    % wget 'https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=28250;mbox=yes;msg=89' | patch -p1 -u\n"
378 "    % git commit -a -m 'Fix libc lost output bug'\n"
379 "\n"
380 msgstr ""
381
382 #. type: textblock
383 #: ../dgit-user.7.pod:233
384 msgid ""
385 "Debian package builds are often quite messy: they may modify files which are "
386 "also committed to git, or leave outputs and temporary files not covered by "
387 "C<.gitignore>."
388 msgstr ""
389
390 #. type: textblock
391 #: ../dgit-user.7.pod:237
392 msgid "If you always commit, you can use"
393 msgstr ""
394
395 #. type: textblock
396 #: ../dgit-user.7.pod:247
397 msgid ""
398 "to tidy up after a build.  (If you forgot to commit, don't use those "
399 "commands; instead, you may find that you can use C<git add -p> to help "
400 "commit what you actually wanted to keep.)"
401 msgstr ""
402
403 #. type: textblock
404 #: ../dgit-user.7.pod:252
405 msgid ""
406 "These are destructive commands which delete all new files (so you B<must> "
407 "remember to say C<git add>)  and throw away edits to every file (so you "
408 "B<must> remember to commit)."
409 msgstr ""
410
411 #. type: =head2
412 #: ../dgit-user.7.pod:257
413 msgid "Update the changelog (at least once) before building"
414 msgstr ""
415
416 #. type: verbatim
417 #: ../dgit-user.7.pod:261
418 #, no-wrap
419 msgid ""
420 "    % gbp dch -S --since=dgit/dgit/sid --ignore-branch --commit\n"
421 "\n"
422 msgstr ""
423
424 #. type: textblock
425 #: ../dgit-user.7.pod:265
426 msgid ""
427 "The binaries you build will have a version number which ultimately comes "
428 "from the C<debian/changelog>.  You want to be able to tell your binaries "
429 "apart from your distro's."
430 msgstr ""
431
432 #. type: textblock
433 #: ../dgit-user.7.pod:270
434 msgid ""
435 "So you should update C<debian/changelog> to add a new stanza at the top, for "
436 "your build."
437 msgstr ""
438
439 #. type: textblock
440 #: ../dgit-user.7.pod:274
441 msgid ""
442 "This rune provides an easy way to do this.  It adds a new changelog entry "
443 "with an uninformative message and a plausible version number (containing a "
444 "bit of your git commit id)."
445 msgstr ""
446
447 #. type: textblock
448 #: ../dgit-user.7.pod:279
449 msgid ""
450 "If you want to be more sophisticated, the package C<dpkg-dev-el> has a good "
451 "Emacs mode for editing changelogs.  Alternatively, you could edit the "
452 "changelog with another text editor, or run C<dch> or C<gbp dch> with "
453 "different options.  Choosing a good version number is slightly tricky and a "
454 "complete treatment is beyond the scope of this tutorial."
455 msgstr ""
456
457 #. type: =head2
458 #: ../dgit-user.7.pod:287
459 msgid "Actually building"
460 msgstr ""
461
462 #. type: verbatim
463 #: ../dgit-user.7.pod:291
464 #, no-wrap
465 msgid ""
466 "    % mk-build-deps --root-cmd=sudo --install\n"
467 "    % dpkg-buildpackage -uc -b\n"
468 "\n"
469 msgstr ""
470
471 #. type: textblock
472 #: ../dgit-user.7.pod:296
473 msgid ""
474 "dpkg-buildpackage is the primary tool for building a Debian source package.  "
475 "C<-uc> means not to pgp-sign the results.  C<-b> means build all binary "
476 "packages, but not to build a source package."
477 msgstr ""
478
479 #. type: =head2
480 #: ../dgit-user.7.pod:302
481 msgid "Using sbuild"
482 msgstr ""
483
484 #. type: textblock
485 #: ../dgit-user.7.pod:304
486 msgid ""
487 "You can build in an schroot chroot, with sbuild, instead of in your main "
488 "environment.  (sbuild is used by the Debian build daemons.)"
489 msgstr ""
490
491 #. type: verbatim
492 #: ../dgit-user.7.pod:309
493 #, no-wrap
494 msgid ""
495 "    % git clean -xdf\n"
496 "    % sbuild -c jessie -A --no-clean-source \\\n"
497 "             --dpkg-source-opts='-Zgzip -z1 --format=1.0 -sn'\n"
498 "\n"
499 msgstr ""
500
501 #. type: textblock
502 #: ../dgit-user.7.pod:315
503 msgid ""
504 "Note that this will seem to leave a \"source package\" (.dsc and .tar.gz)  "
505 "in the parent directory, but that source package should not be used.  It is "
506 "likely to be broken.  For more information see Debian bug #868527."
507 msgstr ""
508
509 #. type: =head1
510 #: ../dgit-user.7.pod:322
511 msgid "INSTALLING"
512 msgstr ""
513
514 #. type: =head2
515 #: ../dgit-user.7.pod:324
516 msgid "Debian Jessie or older"
517 msgstr ""
518
519 #. type: verbatim
520 #: ../dgit-user.7.pod:328
521 #, no-wrap
522 msgid ""
523 "    % sudo dpkg -i ../libc6_*.deb\n"
524 "\n"
525 msgstr ""
526
527 #. type: textblock
528 #: ../dgit-user.7.pod:332
529 msgid ""
530 "You can use C<dpkg -i> to install the .debs that came out of your package."
531 msgstr ""
532
533 #. type: textblock
534 #: ../dgit-user.7.pod:335
535 msgid ""
536 "If the dependencies aren't installed, you will get an error, which can "
537 "usually be fixed with C<apt-get -f install>."
538 msgstr ""
539
540 #. type: =head2
541 #: ../dgit-user.7.pod:339
542 msgid "Debian Stretch or newer"
543 msgstr ""
544
545 #. type: verbatim
546 #: ../dgit-user.7.pod:343
547 #, no-wrap
548 msgid ""
549 "    % sudo apt install ../libc6_*.deb\n"
550 "\n"
551 msgstr ""
552
553 #. type: =head1
554 #: ../dgit-user.7.pod:347
555 msgid "Multiarch"
556 msgstr ""
557
558 #. type: textblock
559 #: ../dgit-user.7.pod:349
560 msgid ""
561 "If you're working on a library package and your system has multiple "
562 "architectures enabled, you may see something like this:"
563 msgstr ""
564
565 #. type: verbatim
566 #: ../dgit-user.7.pod:355
567 #, no-wrap
568 msgid ""
569 "    dpkg: error processing package libpcre3-dev:amd64 (--configure):\n"
570 "     package libpcre3-dev:amd64 2:8.39-3~3.gbp8f25f5 cannot be configured because libpcre3-dev:i386 is at a different version (2:8.39-2)\n"
571 "\n"
572 msgstr ""
573
574 #. type: textblock
575 #: ../dgit-user.7.pod:360
576 msgid ""
577 "The multiarch system used by Debian requires each package which is present "
578 "for multiple architectures to be exactly the same across all the "
579 "architectures for which it is installed."
580 msgstr ""
581
582 #. type: textblock
583 #: ../dgit-user.7.pod:364
584 msgid ""
585 "The proper solution is to build the package for all the architectures you "
586 "have enabled.  You'll need a chroot for each of the secondary "
587 "architectures.  This is somewhat tiresome, even though Debian has excellent "
588 "tools for managing chroots.  C<sbuild-debian-developer-setup> from the "
589 "package of the same name and C<sbuild-createchroot> from the C<sbuild> "
590 "package are good starting points."
591 msgstr ""
592
593 #. type: textblock
594 #: ../dgit-user.7.pod:374
595 msgid ""
596 "Otherwise you could deinstall the packages of interest for those other "
597 "architectures with something like C<dpkg --remove libpcre3:i386>."
598 msgstr ""
599
600 #. type: textblock
601 #: ../dgit-user.7.pod:378
602 msgid ""
603 "If neither of those are an option, your desperate last resort is to try "
604 "using the same version number as the official package for your own package.  "
605 "(The version is controlled by C<debian/changelog> - see above).  This is not "
606 "ideal because it makes it hard to tell what is installed, and because it "
607 "will mislead and confuse apt."
608 msgstr ""
609
610 #. type: textblock
611 #: ../dgit-user.7.pod:386
612 msgid "With the \"same number\" approach you may still get errors like"
613 msgstr ""
614
615 #. type: textblock
616 #: ../dgit-user.7.pod:390
617 msgid ""
618 "trying to overwrite shared '/usr/include/pcreposix.h', which is different "
619 "from other instances of package libpcre3-dev"
620 msgstr ""
621
622 #. type: textblock
623 #: ../dgit-user.7.pod:394
624 msgid ""
625 "but passing C<--force-overwrite> to dpkg will help - assuming you know what "
626 "you're doing."
627 msgstr ""
628
629 #. type: =head1
630 #: ../dgit-user.7.pod:397
631 msgid "SHARING YOUR WORK"
632 msgstr ""
633
634 #. type: textblock
635 #: ../dgit-user.7.pod:399
636 msgid ""
637 "The C<dgit/jessie,-security> branch (or whatever) is a normal git branch.  "
638 "You can use C<git push> to publish it on any suitable git server."
639 msgstr ""
640
641 #. type: textblock
642 #: ../dgit-user.7.pod:402
643 msgid ""
644 "Anyone who gets that git branch from you will be able to build binary "
645 "packages (.deb)  just as you did."
646 msgstr ""
647
648 #. type: textblock
649 #: ../dgit-user.7.pod:406
650 msgid ""
651 "If you want to contribute your changes back to Debian, you should probably "
652 "send them as attachments to an email to the L<Debian Bug System|https://bugs."
653 "debian.org/> (either a followup to an existing bug, or a new bug).  Patches "
654 "in C<git-format-patch> format are usually very welcome."
655 msgstr ""
656
657 #. type: =head2
658 #: ../dgit-user.7.pod:413
659 msgid "Source packages"
660 msgstr ""
661
662 #. type: textblock
663 #: ../dgit-user.7.pod:415
664 msgid ""
665 "The git branch is not sufficient to build a source package the way Debian "
666 "does.  Source packages are somewhat awkward to work with.  Indeed many "
667 "plausible git histories or git trees cannot be converted into a suitable "
668 "source package.  So I recommend you share your git branch instead."
669 msgstr ""
670
671 #. type: textblock
672 #: ../dgit-user.7.pod:423
673 msgid ""
674 "If a git branch is not enough, and you need to provide a source package but "
675 "don't care about its format/layout (for example because some software you "
676 "have consumes source packages, not git histories)  you can use this recipe "
677 "to generate a C<3.0 (native)> source package, which is just a tarball with "
678 "accompanying .dsc metadata file:"
679 msgstr ""
680
681 #. type: verbatim
682 #: ../dgit-user.7.pod:434
683 #, no-wrap
684 msgid ""
685 "    % echo '3.0 (native)' >debian/source/format\n"
686 "    % git commit -m 'switch to native source format' debian/source/format\n"
687 "    % dgit -wgf build-source\n"
688 "\n"
689 msgstr ""
690
691 #. type: textblock
692 #: ../dgit-user.7.pod:440
693 msgid ""
694 "If you need to provide a good-looking source package, be prepared for a lot "
695 "more work.  You will need to read much more, perhaps starting with L<dgit-"
696 "nmu-simple(7)>, L<dgit-sponsorship(7)> or L<dgit-maint-*(7)>"
697 msgstr ""
698
699 #. type: textblock
700 #: ../dgit-user.7.pod:449 ../dgit-maint-native.7.pod:128
701 #: ../dgit-maint-merge.7.pod:493 ../dgit-maint-gbp.7.pod:138
702 msgid "dgit(1), dgit(7)"
703 msgstr ""