Hi Christian, On Thu, Jun 10, 2010 at 07:05:39PM +0200, Christian Kastner wrote: > tag 519297 +patch > thanks > > On 01/-10/-28163 08:59 PM, wrote: > > severity 519297 wishlist > > retitle 519297 should allow for forced tarball creation via > > --git-create-orig > > thanks > > > > On Wed, Mar 11, 2009 at 01:53:22PM -0400, Eric Cooper wrote: > >> git-buildpackage seems to use an existing .orig.tar.gz file rather > >> than checking one out with pristine-tar. In my case, I'm the upstream > >> maintainer as well, so I happened to have an older tarball around. I > >> had used "pristine-tar commit" with the correct, newer tarball, but gbp > >> didn't use that one, and I accidentally uploaded a package with the wrong > >> .orig.tar.gz as a result. > > This isn't related to pristine-tar. Gbp won't bother to create new > > tar.gz if one with the correct version exists. So I guess you're looking > > for a --git-create-orig option (whish doesn't exist yet)? > > The attached patch adds a --git-force-create option which, if present, > will unconditionally create/overwrite an .orig.tar.gz. In my tests, it > worked fine with either --git-pristine-tar or --git-upstream-branch. > > I felt --git-create-orig didn't really fit because the functionality is > not quite the inverse of --git-no-create-orig. Patch looks good. I need to find some time to think about the option name and ordering, but that will just be a minor cleanup. Thanks! -- Guido
-- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

