<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi,<br>
</p>
<p>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).</p>
<p>This can be overridden locally with:<br>
$ cat ~/.devscripts<br>
DEBUILD_<wbr>DPKG_BUILDPACKA<wbr>GE_OPTS=<wbr>"--source-<wbr>option=<wbr>--abort-<wbr>on-upstream-<wbr>changes"</p>
<p>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.</p>
<p>The alternative fix would be a dput hook.</p>
<p>Thoughts?<br>
</p>
<p>I have raised a bug to track this:<br>
<a class="moz-txt-link-freetext" href="https://launchpad.net/bugs/797839">https://launchpad.net/bugs/797839</a><br>
</p>
<p>Kind Regards,<br>
Dave Walker<br>
</p>
</body>
</html>