Bug#389430: override suite for udebs

2007-10-29 Thread Frans Pop
On Tuesday 23 October 2007, dann frazier wrote: > Here's a patch that implements a slight different approach. The idea > is to allow a user to specify an 'override suite' which is used as an > alternate/preferred suite for udebs. I like the proposed patch as it is fairly non-invasive. However, I s

Bug#389430: override suite for udebs

2007-10-24 Thread dann frazier
On Wed, Oct 24, 2007 at 04:20:33PM -0400, Joey Hess wrote: > dann frazier wrote: > > The Packages file isn't being overwritten; its being appended to. > > Ah, sorry for missing that point. > > The name mirror/udeb/override_suite is easily confused with mirror/udeb/suite, > especially since both a

Bug#389430: override suite for udebs

2007-10-24 Thread Joey Hess
dann frazier wrote: > The Packages file isn't being overwritten; its being appended to. Ah, sorry for missing that point. The name mirror/udeb/override_suite is easily confused with mirror/udeb/suite, especially since both are basically used to override the udeb suite. mirror/udeb/additional_suit

Bug#389430: override suite for udebs

2007-10-24 Thread dann frazier
On Tue, Oct 23, 2007 at 08:03:01PM -0400, Joey Hess wrote: > dann frazier wrote: > > I want to use the udeb in the primary suite if there is no > > corresponding udeb in the override_suite. The override_suite only > > includes udebs that require customization. Does that answer your > > question? >

Bug#389430: override suite for udebs

2007-10-23 Thread Joey Hess
dann frazier wrote: > I want to use the udeb in the primary suite if there is no > corresponding udeb in the override_suite. The override_suite only > includes udebs that require customization. Does that answer your > question? No, because I don't see how it works. Like I said, it downloads the Re

Bug#389430: override suite for udebs

2007-10-23 Thread dann frazier
On Tue, Oct 23, 2007 at 05:16:05PM -0400, Joey Hess wrote: > How is setting mirror/udeb/override_suite any different than setting > the existing mirror/udeb/suite? > > dann frazier wrote: > > + for suite in "$codename" "$override_suite"; do > > + fetch "dists/$suite/Release" "$Release" || exit

Bug#389430: override suite for udebs

2007-10-23 Thread Joey Hess
Otavio Salvador wrote: > Joey Hess <[EMAIL PROTECTED]> writes: > > > How is setting mirror/udeb/override_suite any different than setting > > the existing mirror/udeb/suite? > > I think Dann's idea is to get both and validate them. Why? Apt already validates all Release files it uses. d-i can on

Bug#389430: override suite for udebs

2007-10-23 Thread Otavio Salvador
Joey Hess <[EMAIL PROTECTED]> writes: > How is setting mirror/udeb/override_suite any different than setting > the existing mirror/udeb/suite? I think Dann's idea is to get both and validate them. -- O T A V I OS A L V A D O R - E-mail: [

Bug#389430: override suite for udebs

2007-10-23 Thread Joey Hess
How is setting mirror/udeb/override_suite any different than setting the existing mirror/udeb/suite? dann frazier wrote: > + for suite in "$codename" "$override_suite"; do > + fetch "dists/$suite/Release" "$Release" || exit $? > + fetch "dists/$suite/$pkgfile" "$Package

Bug#389430: override suite for udebs

2007-10-23 Thread Otavio Salvador
dann frazier <[EMAIL PROTECTED]> writes: > Here's a patch that implements a slight different approach. The idea > is to allow a user to specify an 'override suite' which is used as an > alternate/preferred suite for udebs. Nice idea. However I think you missed the template change, no? --

Bug#389430: override suite for udebs

2007-10-23 Thread dann frazier
Here's a patch that implements a slight different approach. The idea is to allow a user to specify an 'override suite' which is used as an alternate/preferred suite for udebs. The reason I chose this approach is its consistency with other aspects of our derivative distribution, namely its layered