Re: Prefix level in Quilt patches

2009-03-06 Thread Jon Dowland
On Fri, Mar 06, 2009 at 09:07:58PM +1100, Ben Finney wrote: > Thank you for your patient explanations of the underlying > issues. It's threads like these which restore my faith in humanity, or the subset of humanity represented by -devel at least. -- Jon Dowland -- To UNSUBSCRIBE, email to d

Re: Prefix level in Quilt patches

2009-03-06 Thread Ben Finney
Raphael Hertzog writes: > On Fri, 06 Mar 2009, Ben Finney wrote: > > Yes, that could be done. It needs to be done by every user, for > > every patch that they ever create for consumption with > > ‘dpkg-source’. Which is why I was hoping for a way to fix it in > > one place, for ‘dpkg-source’ spec

Re: Prefix level in Quilt patches

2009-03-06 Thread Stefano Zacchiroli
On Fri, Mar 06, 2009 at 07:48:27PM +1100, Ben Finney wrote: > More specifically, I'm not the one using Quilt *at all*. The patches > are created from my VCS, stored in the ‘debian/patches/’ directory > separate from the upstream source, so there isn't anything for them to > be applied to until the

Re: Prefix level in Quilt patches

2009-03-06 Thread Raphael Hertzog
On Fri, 06 Mar 2009, Ben Finney wrote: > Raphael Hertzog writes: > > > On Fri, 06 Mar 2009, Ben Finney wrote: > > > More specifically, I'm not the one using Quilt *at all*. The patches > > > are created from my VCS, stored in the ‘debian/patches/’ directory > > > separate from the upstream source

Re: Prefix level in Quilt patches

2009-03-06 Thread Ben Finney
Raphael Hertzog writes: > On Fri, 06 Mar 2009, Ben Finney wrote: > > More specifically, I'm not the one using Quilt *at all*. The patches > > are created from my VCS, stored in the ‘debian/patches/’ directory > > separate from the upstream source, so there isn't anything for them to > > be applie

Re: Prefix level in Quilt patches

2009-03-06 Thread Raphael Hertzog
On Fri, 06 Mar 2009, Ben Finney wrote: > More specifically, I'm not the one using Quilt *at all*. The patches > are created from my VCS, stored in the ‘debian/patches/’ directory > separate from the upstream source, so there isn't anything for them to > be applied to until the package gets built wi

Re: Prefix level in Quilt patches

2009-03-06 Thread Ben Finney
Ben Finney writes: > Raphael Hertzog writes: > > > Quilt make it easy to refresh any patch to the expected format > > with "quilt refresh -p1" (or -pab). > > I'm a complete neophyte at Quilt, and am using it only to apply > patches that I've already created elsewhere. Can I expect ‘quilt > ref

Re: Prefix level in Quilt patches

2009-03-06 Thread Raphael Hertzog
On Fri, 06 Mar 2009, Ben Finney wrote: > > Furthermore, I believe that consistency is important and that we're > > better with all patches formatted in the same way. Quilt make it > > easy to refresh any patch to the expected format with "quilt refresh > > -p1" (or -pab). > > I'm a complete neophy

Re: Prefix level in Quilt patches

2009-03-06 Thread Ben Finney
Raphael Hertzog writes: > Supporting multiple -pX would increase the complexity of the > associated code in a manner that is mostly incompatible with the > various checks that have always been built into dpkg-source (and > that were only applied on .diff). It's enough error-prone to mimick > the

Re: Prefix level in Quilt patches

2009-03-06 Thread Raphael Hertzog
On Fri, 06 Mar 2009, Ben Finney wrote: > > Note however that while dpkg-source parses correctly series files > > with explicit options used for patch application (stored on each > > line after the patch filename and one or more spaces), it does > > ignore those options and always expect patches tha

Re: Prefix level in Quilt patches

2009-03-05 Thread Ben Finney
Paul Wise writes: > On Fri, Mar 6, 2009 at 3:07 PM, Ben Finney wrote: > > My first impression is that, if buxy can't handle a ‘-p0’ patch, > > that's a bug. My apologies, I thought ‘buxy’ was perhaps the name of some service on the Debian project infrastructure. > The reason you cannot use -p0

Re: Prefix level in Quilt patches

2009-03-05 Thread Paul Wise
On Fri, Mar 6, 2009 at 3:07 PM, Ben Finney wrote: > Paul Wise writes: > >> On Fri, Mar 6, 2009 at 10:12 AM, Ben Finney >> wrote: >> >> > How can I reliably inform the Debian packaging tools that my quilt >> > patches are in ‘patch -p0’ format? >> >> You don't want to use -p0 otherwise you'll ge

Re: Prefix level in Quilt patches

2009-03-05 Thread Ben Finney
Paul Wise writes: > On Fri, Mar 6, 2009 at 10:12 AM, Ben Finney > wrote: > > > How can I reliably inform the Debian packaging tools that my quilt > > patches are in ‘patch -p0’ format? > > You don't want to use -p0 otherwise you'll get bugs from buxy about > not supporting dpkg source package

Re: Prefix level in Quilt patches (was: Support of new source packages in squeeze)

2009-03-05 Thread Paul Wise
On Fri, Mar 6, 2009 at 10:12 AM, Ben Finney wrote: > How can I reliably inform the Debian packaging tools that my quilt > patches are in ‘patch -p0’ format? You don't want to use -p0 otherwise you'll get bugs from buxy about not supporting dpkg source package v3. I'm using this to generate my pa

Prefix level in Quilt patches (was: Support of new source packages in squeeze)

2009-03-05 Thread Ben Finney
Michael Biebl writes: > Or how will you rebuild packages with 3.0 (quilt) that already use > dpatch or cdbs with simple-patchsys? (the latter would at least > require to normalize all patches to -p1, […]). The ‘quilt(1)’ manpage documents a ‘-p’ option: -p n Create a -p n style patc