[Bug 797839] [NEW] [dpkg-dev] auto-generated patch too easily included (debian/patches/debian-changes-*)
Dave Walker
davewalker at ubuntu.com
Wed Jun 15 17:37:45 UTC 2011
Public bug reported:
Binary package hint: dpkg
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?
** Affects: dpkg (Ubuntu)
Importance: Undecided
Status: New
** Summary changed:
- [dpkg-dev] auto-generated patch too easily included (debian/patches/debian-changes-*))
+ [dpkg-dev] auto-generated patch too easily included (debian/patches/debian-changes-*)
** Description changed:
Binary package hint: dpkg
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
+ $ 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?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/797839
Title:
[dpkg-dev] auto-generated patch too easily included (debian/patches
/debian-changes-*)
Status in “dpkg” package in Ubuntu:
New
Bug description:
Binary package hint: dpkg
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?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/797839/+subscriptions
More information about the foundations-bugs
mailing list