X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=dgit.1;h=35a09223fdeff8d7a025b15336c64c4f814ef256;hp=b027db7d8bf37fb268cdb1c9df9b2857d49559b7;hb=6b8c969adabf3b74d9deb836e5377a3e01c2a57b;hpb=efba7aabcf8f5b83a35eec3c5b11b9eb4a70baf3 diff --git a/dgit.1 b/dgit.1 index b027db7d..35a09223 100644 --- a/dgit.1 +++ b/dgit.1 @@ -143,7 +143,10 @@ Tagging, signing and actually uploading should be left to dgit push. Does an `upload', pushing the current HEAD to the archive (as a source package) and to dgit-repos (as git commits). The package must already have been built ready for upload, with the .dsc and .changes -left in the parent directory. +left in the parent directory. It is normally best to do the build +with dgit too (eg with dgit sbuild): some existing build tools pass +unhelpful options to dpkg-source et al by default, which can result in +the built source package not being identical to the git tree. In more detail: dgit push checks that the current HEAD corresponds to the .dsc. It then pushes the HEAD to the suite's dgit-repos branch, @@ -252,6 +255,29 @@ This can be useful with build, if you plan to commit later. (dgit push will still ensure that the .dsc you upload and the git tree you push are identical, so this option won't make broken pushes.) .TP +.BI --deliberately- something +Declare that you are deliberately doing +.IR something . +This can be used to override safety catches, including safety catches +which relate to distro-specific policies. The meanings of +.IR something s +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 +new source package whose previous version was not accepted for release +from NEW because of problems with copyright or redistributibility. +.TP +.BR --deliberately-include-questionable-history +Declare that you are deliberately including, in the git history of +your current push, history which contains a previously-submitted +version of this package which was not approved (or has not yet been +approved) by the ftpmasters. When pushing to Debian, only use this +option after verifying that: none of the rejected-from-NEW (or +never-accepted) versions in the git history of your current push, were +rejected by ftpmaster for copyright or redistributability reasons. +.TP .BR --quilt=linear When fixing up source format `3.0 (quilt)' metadata, insist on generating a linear patch stack. If such a stack cannot be generated, @@ -276,7 +302,7 @@ because the dgit git tree does not have a .B .pc directory.) .TP -.BR --no-quilt-fixup +.BR --quilt=nocheck | --no-quilt-fixup Do not check whether up source format `3.0 (quilt)' metadata needs fixing up. If you use this option and the metadata did in fact need fixing up, dgit push will fail.