Hi,

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
DEBUILD_DPKG_BUILDPACKAGE_OPTS="--source-option=--abort-on-upstream-changes"

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.

Thoughts?

I have raised a bug to track this:
https://launchpad.net/bugs/797839

Kind Regards,
Dave Walker

-- 
ubuntu-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel

Reply via email to