Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Mike Frysinger <vapier@g.o>
Subject: Re: Re: comprehensive eclass checking in repoman
Date: Fri, 25 May 2012 12:28:23 -0400
On Friday 25 May 2012 12:06:49 Alexey Shvetsov wrote:
> Mike Frysinger писал 2012-05-25 19:42:
> > On Thursday 24 May 2012 23:47:23 Ryan Hill wrote:
> >> Is there any sane way to handle sub-eclasses?  eg. foo-base inherits
> >> foo-functions.
> > 
> > i was thinking of extending the metadata to handle this.  did you
> > have any
> > specific ideas in mind ?  i can see inheriting say distutils should
> > not require
> > people to also inherit python eclasses ...
> 
> May we can use eclass dep graph?

no ... that sort of defeats the whole reason that drove this work.  we don't 
want the mere fact that one eclass inherits another to imply that it's part of 
that eclasses guaranteed API.  a lot of eclasses inherit eutils, but i don't 
think any of them should be guaranteeing that inherit which means ebuilds need 
to include it themselves if they use functions from it (like epatch).

there are a cases with split up or hierarchical eclasses (java, mysql, qt, 
php, python, xorg come to mind) where the entry point might vary, but they all 
share core eclasses that largely should not be inherited by the end ebuild.

maybe a new eclass-level keyword @INHERITED-API ?  it takes a space delimited 
list of eclasses that are guaranteed by the API.  so in distutils.eclass, we'd  
add:
# @INHERITED-API: python

and repoman would use this to build a tree of implicit funcs to allow w/out a 
direct inherit.
-mike
Attachment:
signature.asc (This is a digitally signed message part.)
Replies:
Re: comprehensive eclass checking in repoman
-- Ryan Hill
Re: Re: comprehensive eclass checking in repoman
-- Steven J Long
References:
comprehensive eclass checking in repoman
-- Mike Frysinger
Re: Re: comprehensive eclass checking in repoman
-- Mike Frysinger
Re: Re: comprehensive eclass checking in repoman
-- Alexey Shvetsov
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: comprehensive eclass checking in repoman
Next by thread:
Re: Re: comprehensive eclass checking in repoman
Previous by date:
Re: Re: comprehensive eclass checking in repoman
Next by date:
Re: Re: comprehensive eclass checking in repoman


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.