X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=dgit.1;h=bec8f975aa5f89f3a0510c83714498a054c5118b;hp=93b8ed688f3df70b449f371da36152c626504050;hb=HEAD;hpb=8dc465a4eb4bf7045c6cffa9cd50e217f3337589 diff --git a/dgit.1 b/dgit.1 index 93b8ed68..bec8f975 100644 --- a/dgit.1 +++ b/dgit.1 @@ -192,10 +192,6 @@ passed on to sbuild. The output is left in .IR package \fB_\fR version \fB_multi.changes\fR. .IP -Note that by default -sbuild does not build arch-independent packages. -You probably want to pass \-A, to request those. -.IP Tagging, signing and actually uploading should be left to dgit push. .TP \fBdgit pbuilder\fR [\fIdebbuildopts\fP] @@ -631,7 +627,8 @@ This could perhaps be used to detect bugs in your rules clean target. .TP .BR -N " | " --new The package is or may be new in this suite. Without this, dgit will -refuse to push. It may (for Debian, will) be unable to access the git +refuse to push. +It may (for Debian, will) be unable to access the git history for any packages which have been newly pushed and have not yet been published. .TP @@ -679,6 +676,8 @@ unless you know what you are doing. This option is useful if you are the maintainer, and you have incorporated NMU changes into your own git workflow in a way that doesn't make your branch a fast forward from the NMU. +It can also be useful when there was an upload made without dgit +since the most recent upload made with dgit. This option is also usually necessary the first time a package is pushed with dgit push @@ -790,11 +789,16 @@ The meanings of understood in the context of Debian are discussed below: .TP .BR --deliberately-not-fast-forward -Declare that you are deliberately rewinding history. +Declare that you are deliberately rewriting history. +This could be because your branch is not fast forward from the +dgit server history, +or not fast forward from a locally-synthesised dsc import. + When pushing to Debian, -use this when you are making a renewed upload of an entirely +use this only when you are making a renewed upload of an entirely new source package whose previous version was not accepted for release -from NEW because of problems with copyright or redistributibility. +from NEW because of problems with copyright or redistributibility; +or, exceptionally, for the very first upload with dgit. When split view is in operation, this also prevents the construction by dgit of a pseudomerge @@ -817,7 +821,7 @@ never-accepted) versions in the git history of your current push, were rejected by ftpmaster for copyright or redistributability reasons. .TP .BR --deliberately-fresh-repo -Declare that you are deliberately rewinding history and want to +Declare that you are deliberately rewriting history and want to throw away the existing repo. Not relevant when pushing to Debian, as the Debian server will do this automatically when necessary. .TP @@ -1292,6 +1296,13 @@ The result is a fresh import, discarding the git history that the person who pushed that .dsc was working with. .TP +.B \-\-force-reusing-version +Carry on even though this involves reusing a version number +of a previous push or upload. +It is normally best to give different versions different numbers. +Some servers (including, usually, the Debian server) +will reject attempts to reuse or replace already-pushed versions. +.TP .B \-\-force-uploading-binaries Carry on and upload binaries @@ -1332,7 +1343,7 @@ See Debian bug #841867. .BR \-\-for\-push Override the dgit-distro.distro.readonly configuration setting, to specify that we have read/write access -and should use the corresponding git and achive access approach +and should use the corresponding git and achieve access approach even if the operation is a read-only one. .SH CONFIGURATION dgit can be configured via the git config system.