[Bug 797839] Re: [dpkg-dev] auto-generated patch too easily included (debian/patches/debian-changes-*))
Raphaël Hertzog
hertzog at debian.org
Wed Jun 15 18:48:18 UTC 2011
On Wed, 15 Jun 2011, Andreas Moog wrote:
> If that is done, people will run into a problem when they try to change
> a problematic debian package. That might introduce unnecessary diffs to
> debian. (because the package will fail on ubuntu)
>
> If you want to change the default, it would be better to coordinate with
> debian.
As an upstream dpkg developer, I already decided to change this. See the
recent discussion on debian-devel:
http://lists.debian.org/debian-devel/2011/05/msg01130.html
So it's coming soon.
Cheers,
--
Raphaël Hertzog ◈ Debian Developer
Follow my Debian News ▶ http://RaphaelHertzog.com (English)
▶ http://RaphaelHertzog.fr (Français)
--
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