Proper solution for source format 3.0 and git-buildpackage?

Alessio Treglia alessio at debian.org
Wed Sep 15 12:57:46 UTC 2010


ACK from me. Sounds really great.

On 9/15/10, Jonas Smedegaard <dr at jones.dk> wrote:
> Hi,
>
> Just switching to dpkg source format 3.0 does not work nicely with
> git-buildpackage: the source format auto-applies patches and leave it as
> such after package cleanup, while git-buildpackage expects patches to be
> unapplied.
>
> As some may have noticed in past threads, I have not liked the approach
> of extending debian/rules to explicitly unapply patches based on e.g.
> the existance of the .git directory.  I find that a bad hack.
>
> It seems the proper solution is at hand: I noticed at Debian Planet the
> following entry:
> http://raphaelhertzog.com/2010/09/14/how-to-customize-dpkg-sources-behaviour-in-your-debian-source-package/
>
> In that blog entry, Raphaël mentions the special file
> debian/source/local-options which is taken into account during build but
> not included into the generated source package.
>
> I hereby propose that we recommend generally switching to source format
> 3.0 (quilt) - even for packages not currently using patches - and add
> the following info to debian/source/local-options:
>
> unapply-patches = True
> abort-on-uptream-changes = True
>
>
> Warning: This is completely untested.  Just written based on above blog
> entry. ;-)
>
>
>   - Jonas
>
> --
>   * Jonas Smedegaard - idealist & Internet-arkitekt
>   * Tlf.: +45 40843136  Website: http://dr.jones.dk/
>
>   [x] quote me freely  [ ] ask before reusing  [ ] keep private
>


-- 
Alessio Treglia <alessio at alessiotreglia.com>
Debian & Ubuntu Developer | Homepage: http://www.alessiotreglia.com
0FEC 59A5 E18E E04F 6D40 593B 45D4 8C7C DCFC 3FD0



More information about the pkg-multimedia-maintainers mailing list