X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=dgit.1;h=f1ead733597f4cd44ec1fbec2ce5e0deae521a08;hp=8ede01f3e38a6be7c6baea8d67ffc42b5f9cc5c5;hb=5f3829fa38fa736af588fa166f4fada4a7a6f86e;hpb=f8fe5f19d1ec104f8735dd0d8813ae5e5317f536 diff --git a/dgit.1 b/dgit.1 index 8ede01f3..f1ead733 100644 --- a/dgit.1 +++ b/dgit.1 @@ -631,7 +631,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 +680,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,10 +793,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. When pushing to -Debian, use this when you are making a renewed upload of an entirely +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 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 @@ -816,7 +825,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 @@ -1291,6 +1300,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 @@ -1327,6 +1343,12 @@ Force on or off the use of the absurd git-apply emulation when running gbp pq import when importing a package from a .dsc. See Debian bug #841867. +.TP +.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 achieve access approach +even if the operation is a read-only one. .SH CONFIGURATION dgit can be configured via the git config system. You may set keys with git-config (either in system-global or per-tree @@ -1352,6 +1374,10 @@ may be a glob pattern. .TP .BI dgit.default.distro " distro" The default distro for an unknown suite. + +This is only used if no +.BI /usr/share/distro-info/ somedistro .csv +mentions the specified suite. .TP .BI dgit.default.default-suite " suite" The default suite (eg for clone). @@ -1471,7 +1497,7 @@ or when pushing and .TP .BI dgit-distro. distro .git-create " " ssh-cmd | true .TP -.BR dgit-distro. \fIdistro\fR .archive-query " " ftpmasterapi: " | " madison: "\fIdistro\fR | " dummycat: "\fI/path\fR | " sshpsql: \fIuser\fR @ \fIhost\fR : \fIdbname\fR +.BR dgit-distro. \fIdistro\fR .archive-query " " ftpmasterapi: " | " madison: "\fIdistro\fR | " dummycat: "\fI/path\fR | " sshpsql: \fIuser\fR @ \fIhost\fR : \fIdbname\fR " " | " aptget:" .TP .BR dgit-distro. \fIdistro\fR .archive-query- ( url | tls-key | curl-ca-args ) .TP @@ -1519,7 +1545,7 @@ also the \-\-ssh= and \-\-ssh: options. Default git user.email and user.name for new trees. See .BR "dgit setup-new-tree" . .TP -.BR gpg ", " dpkg- "..., " debsign ", " git ", " curl ", " dput ", " LWP::UserAgent +.BR gpg ", " dpkg- "..., " debsign ", " git ", [" lib ] curl ", " dput and other subprograms and modules used by dgit are affected by various environment variables. Consult the documentation for those programs for details.