chiark / gitweb /
dgit-maint-*(7): Advice for git-debpush users
authorSean Whitton <spwhitton@spwhitton.name>
Sat, 20 Jul 2019 10:56:43 +0000 (11:56 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 12 Feb 2021 12:47:45 +0000 (12:47 +0000)
dgit-maint-native(7) doesn't need updating because git-debpush(1) is
clear that quilt mode options are required only for non-native
packages.

This commit leaves `dgit push{,-source}` as the first choice, with
git-debpush(1) given as an alternative.  We might want to change that
in the future, but for the time being this makes sense.

Closes: #932520
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
dgit-maint-debrebase.7.pod
dgit-maint-gbp.7.pod
dgit-maint-merge.7.pod

index fdbf2e8d70b9da58d6afab8972496b2cb5949067..b3700a467e56463c302cf0173b0673865650a694 100644 (file)
@@ -486,6 +486,10 @@ fast-forwarding from the history on B<dgit-repos>.  In such cases you
 will have to pass I<--overwrite> to dgit.  git-debrebase will normally
 tell you if this will be needed.
 
+If you want to upload with git-debpush(1), for the first upload you
+should pass the B<--quilt=linear> quilt mode option (see
+git-debpush(1)).
+
 Right before uploading, if you did not just already do so, you might
 want to have git-debrebase(1) shuffle your branch such that the Debian
 delta queue appears right at the tip of the branch you will push:
index b8abd66cb6dcce1713ddc6dcb9b15114f412339b..1988a317345d1a9ab006cb9233d6c62a53c653a1 100644 (file)
@@ -127,6 +127,9 @@ history.  (This origin commit would represent the most recent non-dgit
 upload of the package, but this should already be represented in your
 git history.)
 
+Alternatively, you can use git-debpush(1).  For the first upload you
+should pass the B<--gbp> quilt mode option (see git-debpush(1)).
+
 =head1 INCORPORATING NMUS
 
 B<dgit pull> can't yet incorporate NMUs into patches-unapplied gbp
index 51b6a69dbf4ebc29df23251ef8024b3818d06e71..ddf37aa54402dbde2566338467305667506407fd 100644 (file)
@@ -344,12 +344,16 @@ dgit(1).  If any command fails, dgit will provide a carefully-worded
 error message explaining what you should do.  If it's not clear, file
 a bug against dgit.  Remember to pass I<--new> for the first upload.
 
-As an alternative to B<dgit build> and friends, you can use a tool
-like gitpkg(1).  This works because like dgit, gitpkg(1) enforces that
-HEAD has exactly the contents of the source package.  gitpkg(1) is
-highly configurable, and one dgit user reports using it to produce and
-test multiple source packages, from different branches corresponding
-to each of the current Debian suites.
+If you want to upload with git-debpush(1), for the first upload you
+should pass the B<--quilt=smash> quilt mode option (see
+git-debpush(1)).
+
+As another alternative to B<dgit build> and friends, you can use a
+tool like gitpkg(1).  This works because like dgit, gitpkg(1) enforces
+that HEAD has exactly the contents of the source package.  gitpkg(1)
+is highly configurable, and one dgit user reports using it to produce
+and test multiple source packages, from different branches
+corresponding to each of the current Debian suites.
 
 If you want to skip dgit's checks while iterating on a problem with
 the package build (for example, you don't want to commit your changes