X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=dgit.7;h=635dc132e8ab67d7c30b154127fae82093309e93;hp=1931b9ca259e29b91ae06d3e80b6a8cdacb7690f;hb=3ebc4309c3155cdacdc00900c8f3554932e32d5b;hpb=3fe959e708c8e77a6cd2aba2afb49e72559edec2 diff --git a/dgit.7 b/dgit.7 index 1931b9ca..635dc132 100644 --- a/dgit.7 +++ b/dgit.7 @@ -264,7 +264,7 @@ is a patches-applied or patches-unapplied tree. Split view conversions are cached in the ref dgit-intern/quilt-cache. This should not be manipulated directly. -.SH FILES IN THE SOURCE PACKAGE BUT NOT IN GIT - AUTOTOOLS ETC. +.SH FILES IN THE ORIG TARBALL BUT NOT IN GIT - AUTOTOOLS ETC. This section is mainly of interest to maintainers who want to use dgit with their existing git history for the Debian package. @@ -282,6 +282,17 @@ branches, it will fail. As the maintainer you therefore have the following options: .TP \(bu +Delete the files from your git branches, +and your Debian source packages, +and carry the deletion as a delta from upstream. +(With `3.0 (quilt)' this means represeting the deletions as patches. +You may need to pass --include-removal to dpkg-source --commit, +or pass corresponding options to other tools.) +This can make the Debian +source package less useful for people without Debian build +infrastructure. +.TP +\(bu Persuade upstream that the source code in their git history and the source they ship as tarballs should be identical. Of course simply removing the files from the tarball may make the tarball hard for @@ -292,18 +303,6 @@ files, perhaps with some simple automation to deal with conflicts and spurious changes. This has the advantage that someone who clones the git repository finds the program just as easy to build as someone who uses the tarball. -.TP -\(bu -Have separate git branches which do contain the extra files, and after -regenerating the extra files (whenever you would have to anyway), -commit the result onto those branches. -.TP -\(bu -Provide source packages which lack the files you don't want -in git, and arrange for your package build to create them as needed. -This may mean not using upstream source tarballs and makes the Debian -source package less useful for people without Debian build -infrastructure. .LP Of course it may also be that the differences are due to build system bugs, which cause unintended files to end up in the source package. @@ -327,7 +326,7 @@ to delete these files. .LP dpkg-source does not (with any of the commonly used source formats) -represent deletion of files (outside debian/) present in upstream. +represent deletion of binaries (outside debian/) present in upstream. Thus deleting such files in a dpkg-source working tree does not actually result in them being deleted from the source package. Thus