X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=dgit.1;h=4ec02a732b35bccf1613232af83e24e6c42b879a;hp=c5dd6b90dc1d29113bc9ca661ffe4c5f50dd3588;hb=4723806663cc562af68cb68a9f0c18548942bad8;hpb=61b85b99276ae505f3c6712e2caa0251643d0db8 diff --git a/dgit.1 b/dgit.1 index c5dd6b90..4ec02a73 100644 --- a/dgit.1 +++ b/dgit.1 @@ -240,6 +240,60 @@ other kinds of more exotic history. If dgit can't find a suitable linearisation of your history, by default it will fail, but you can ask it to generate a single squashed patch instead. .TP +\fBdgit import-dsc\fR [\fIsub-options\fR] \fI../path/to/.dsc\fR [\fB+\fR|\fB..\fR]branch +Import a Debian-format source package, +specified by its .dsc, +into git, +the way dgit fetch would do. + +This does about half the work of dgit fetch: +it will convert the .dsc into a new, orphan git branch. +Since dgit has no access to a corresponding source package archive +or knowledge of the history +it does not consider whether this version is newer +than any previous import +or corresponding git branches; +and it therefore does not +make a pseudomerge to bind the import +into any existing git history. + +There is only only sub-option: + +.B --require-valid-signature +causes dgit to insist that the signature on the .dsc is valid +(using the same criteria as dpkg-source -x). +Otherwise, dgit tries to verify the signature but +the outcome is reported only as messages to stderr. + +If +.I branch +is prefixed with +.B + +then if it already exists, it will be simply ovewritten, +no matter its existing contents. +If +.I branch +is prefixed with +.B .. +then if it already exists +and dgit actually imports the dsc +(rather than simply reading the git commit out of the Dgit field), +dgit will make a pseudomerge +so that the result is necessarily fast forward +from the existing branch. +Otherwise, if branch already exists, +dgit will stop with an error message. + +If +.I branch +does not start with refs/, refs/heads/ is prepended. +The specified branch is unconditionally updated. + +If the specified .dsc contains a Dgit field, +dgit will simply make a branch of that commit. +If you cannot manage to find that commit anywhere, +consider --force-import-dsc-with-dgit-field. +.TP .B dgit version Prints version information and exits. .TP @@ -375,6 +429,45 @@ git history, so that your push is a fast forward from the archive. implying a split between the dgit view and the maintainer view, the pseudo-merge will appear only in the dgit view.) .TP +.BR --delayed =\fIdays\fR +Upload to a DELAYED queue. + +.B WARNING: +If the maintainer responds by cancelling +your upload from the queue, +and does not make an upload of their own, +this will not rewind the git branch on the dgit git server. +Other dgit users will then see your push +(with a warning message from dgit) +even though the maintainer wanted to abolish it. +Such users might unwittingly reintroduce your changes. + +If this situation arises, +someone should make a suitable dgit push +to update the contents of dgit-repos +to a version without the controversial changes. +.TP +.BR --dgit-view-save= \fIbranch\fR|\fIref\fR +Specifies that when a split view quilt mode is in operation, +and dgit calculates +(or looks up in its cache) +a dgit view corresponding to your HEAD, +the dgit view will be left in +.IR ref . +The specified ref is unconditionally overwritten, +so don't specify a branch you want to keep. + +This option is effective only with the following operations: +quilt-fixup; push; all builds. +And it is only effective with +--[quilt=]gbp, +--[quilt=]dpm, +--quilt=unpatched. + +If ref does not start with refs/ +it is taken to to be a branch - +i.e. refs/heads/ is prepended. +.TP .BI --deliberately- something Declare that you are deliberately doing .IR something . @@ -737,6 +830,13 @@ These options are provided as an escape hatch, in case dgit is confused. (They might also be useful for testing error cases.) .TP +.B --import-dsc-with-dgit-field +Tell dgit import-dsc to treat a .dsc with a Dgit field +like one without it. +The result is a fresh import, +discarding the git history +that the person who pushed that .dsc was working with. +.TP .B --force-unrepresentable Carry on even if dgit thinks that your git tree contains changes