[dpkg-dev] auto-generated patch too easily included (debian/patches/debian-changes-*))

Dave Walker DaveWalker at ubuntu.com
Wed Jun 15 17:40:27 UTC 2011


Currently, if the upstream code is changed (anything other than 
debian/*).. When dpkg-buildpackage is run, an automated patch is 
created. This is a really nice feature, but it is very easy to miss 
this. I have seen multiple uploads where these auto-generated patches 
have been included accidentally (I have also been guilty of this).

This can be overridden locally with:
$ cat ~/.devscripts

I think the chance of someone wanting an auto-generated patch is low, 
and would like to suggest the default is changed to fail to create the 
source package.

The alternative fix would be a dput hook.


I have raised a bug to track this:

Kind Regards,
Dave Walker

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20110615/a535ec5a/attachment.html>

More information about the ubuntu-devel mailing list