Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: Dev

epatch still no helper function? [from eutils.eclass]

 

 

Gentoo dev RSS feed   Index | Next | Previous | View Threaded


hasufell at gentoo

Jul 18, 2012, 8:33 AM

Post #1 of 6 (161 views)
Permalink
epatch still no helper function? [from eutils.eclass]

"epatch" is so widely used and basic that I wonder why it's still not
implemented as a real helper function.


antarus at gentoo

Jul 18, 2012, 8:40 AM

Post #2 of 6 (159 views)
Permalink
Re: epatch still no helper function? [from eutils.eclass] [In reply to]

On Wed, Jul 18, 2012 at 5:33 PM, hasufell <hasufell [at] gentoo> wrote:
> "epatch" is so widely used and basic that I wonder why it's still not
> implemented as a real helper function.
>

Because then its harder to change, it must be in PMS, otherwise you
have to do things like test which version of epatch the package
manager provides....sounds a lot like EAPI :)

-A


dilfridge at gentoo

Jul 18, 2012, 9:18 AM

Post #3 of 6 (153 views)
Permalink
Re: Re: epatch still no helper function? [from eutils.eclass] [In reply to]

> On Wed, Jul 18, 2012 at 5:33 PM, hasufell <hasufell [at] gentoo> wrote:
> > "epatch" is so widely used and basic that I wonder why it's still not
> > implemented as a real helper function.
>
> Because then its harder to change, it must be in PMS, otherwise you
> have to do things like test which version of epatch the package
> manager provides....sounds a lot like EAPI :)
>

You know, that's actually a pretty good case *for* base.eclass, eutils.eclass
and similar... we should probably move more functions there... :D

--
Andreas K. Huettel
Gentoo Linux developer
kde, sci, arm, tex, printing


ciaran.mccreesh at googlemail

Jul 18, 2012, 10:29 AM

Post #4 of 6 (155 views)
Permalink
Re: epatch still no helper function? [from eutils.eclass] [In reply to]

On Wed, 18 Jul 2012 18:18:35 +0200
"Andreas K. Huettel" <dilfridge [at] gentoo> wrote:
> > On Wed, Jul 18, 2012 at 5:33 PM, hasufell <hasufell [at] gentoo>
> > wrote:
> > > "epatch" is so widely used and basic that I wonder why it's still
> > > not implemented as a real helper function.
> >
> > Because then its harder to change, it must be in PMS, otherwise you
> > have to do things like test which version of epatch the package
> > manager provides....sounds a lot like EAPI :)
> >
>
> You know, that's actually a pretty good case *for* base.eclass,
> eutils.eclass and similar... we should probably move more functions
> there... :D

I'm not sure that having to make sure you don't break ten thousand
packages whenever you make a change is a good case... When it's EAPI
controlled, if a change causes problems, it doesn't break anything.

--
Ciaran McCreesh
Attachments: signature.asc (0.19 KB)


vapier at gentoo

Jul 27, 2012, 10:53 AM

Post #5 of 6 (135 views)
Permalink
Re: epatch still no helper function? [from eutils.eclass] [In reply to]

On Wednesday 18 July 2012 12:18:35 Andreas K. Huettel wrote:
> > On Wed, Jul 18, 2012 at 5:33 PM, hasufell <hasufell [at] gentoo> wrote:
> > > "epatch" is so widely used and basic that I wonder why it's still not
> > > implemented as a real helper function.
> >
> > Because then its harder to change, it must be in PMS, otherwise you
> > have to do things like test which version of epatch the package
> > manager provides....sounds a lot like EAPI :)
>
> You know, that's actually a pretty good case *for* base.eclass,
> eutils.eclass and similar... we should probably move more functions
> there... :D

i don't see how base vs eutils eclass here makes a difference
-mike
Attachments: signature.asc (0.82 KB)


vapier at gentoo

Jul 27, 2012, 10:56 AM

Post #6 of 6 (136 views)
Permalink
Re: epatch still no helper function? [from eutils.eclass] [In reply to]

On Wednesday 18 July 2012 13:29:41 Ciaran McCreesh wrote:
> On Wed, 18 Jul 2012 18:18:35 +0200 "Andreas K. Huettel" wrote:
> > > On Wed, Jul 18, 2012 at 5:33 PM, hasufell <hasufell [at] gentoo>
> > >
> > > wrote:
> > > > "epatch" is so widely used and basic that I wonder why it's still
> > > > not implemented as a real helper function.
> > >
> > > Because then its harder to change, it must be in PMS, otherwise you
> > > have to do things like test which version of epatch the package
> > > manager provides....sounds a lot like EAPI :)
> >
> > You know, that's actually a pretty good case *for* base.eclass,
> > eutils.eclass and similar... we should probably move more functions
> > there... :D
>
> I'm not sure that having to make sure you don't break ten thousand
> packages whenever you make a change is a good case... When it's EAPI
> controlled, if a change causes problems, it doesn't break anything.

and the obvious con is that it's hard to add new features and extend
implementation details without also upgrading all EAPI aspects. locking down
EAPI is great for the format of the file and for simpler commands (like most of
the install funcs), but for more complicated functions, an eclass is nicer.
-mike
Attachments: signature.asc (0.82 KB)

Gentoo dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.