public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Brian Harring <ferringb@gmail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] new `usex` helper
Date: Fri, 16 Sep 2011 13:43:15 -0700	[thread overview]
Message-ID: <20110916204315.GA30103@beast> (raw)
In-Reply-To: <20110916123014.GC5000@comet>

On Fri, Sep 16, 2011 at 07:30:14AM -0500, Donnie Berkholz wrote:
> On 02:06 Fri 16 Sep     , Brian Harring wrote:
> > Specious argument; the point of controllable stacking was to avoid the 
> > issue of overlay's forcing their eclasses upon gentoo-x86 ebuilds 
> > (which may not support those modified eclasses) via the old 
> > PORTDIR_OVERLAY behaviour.  This is why multiple repositories have 
> > layout.conf master definitions- to explicitly mark that they 
> > require/consume a seperate repo.
> 
> So let me get this straight — instead, you want overlay users to 
> maintain a copy of every eclass they use, which will almost 
> automatically become outdated and stale because it won't track the 
> gentoo-x86 version?

Where did I say that?

layout.conf exists to allow repo's to explicitly state what they need- 
this means we can have individual overlay stacks, instead of having 
gentoo-x86, overlay1, overlay2, overlay3, with that as a single stack 
(including eclass lookup), it can be broken out as individual stacks.  

This limits the eclass affect for a repo to just what is explicitly 
configured.  This is a good thing.  This is controllable in addition.

What I said from the getgo and you're missing is that pushing EAPI 
implementation into the tree and ignoring EAPI, or having this notion 
that every repository must automatically use gentoo-x86 (pushing the 
format into the tree) is /wrong/; aside from meaning that the format 
definition can now *vary*, which is great for wasting dev time and 
screwing up compatibility, it opens up tweaking/customizing that 
functionality- aka, fragmentation/divergence.  If we did the sort of 
thing you're basically pushing for, how long do you think it would be 
till funtoo added support for a new archive format to unpack?  That's 
a *simple*, and *likely* example of how this can diverge.

Further, doing as you propose means we're flat out, shit out of luck 
/ever/ distributing a usable cache for standalone repositories.  If 
they're bound to the changes of another repository, distributing a 
cache in parallel is pointless (and not doable in current form since 
metadata/cache lacks necessary eclass validation data for overlay 
inheritance).

Fact is, gentoo-x86 has a lot of usable eclass in it, but it's not 
required to be used.  Anything trying to *force* that is very short 
sighted and forgetting history.

You want new EAPI functionality that is bash only?  Awesome, eclass 
compatibility, and EAPI; don't just jam it into an eclass and say 
"EAPI is slow/annoying and I don't want to do it".  Do both, everyones 
happy.

~harring, cranky at revisiting the same arguments over and over



  parent reply	other threads:[~2011-09-16 20:43 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-13 21:56 [gentoo-dev] new `usex` helper Mike Frysinger
2011-09-13 22:01 ` Alec Warner
2011-09-13 22:13   ` Mike Frysinger
2011-09-13 23:08     ` Brian Harring
2011-09-14  2:45       ` Mike Frysinger
2011-09-14  3:04         ` Brian Harring
2011-09-14  3:43           ` Mike Frysinger
2011-09-14  3:56             ` Brian Harring
2011-09-14  6:02         ` Ulrich Mueller
2011-09-14 14:53           ` Mike Frysinger
2011-09-14  2:02 ` Donnie Berkholz
2011-09-14  2:14   ` Brian Harring
2011-09-14 19:16     ` Donnie Berkholz
2011-09-15  0:29       ` Brian Harring
2011-09-16  3:00         ` Donnie Berkholz
2011-09-16  9:06           ` Brian Harring
2011-09-16 12:30             ` Donnie Berkholz
2011-09-16 14:04               ` Michał Górny
2011-09-16 17:27                 ` Alec Warner
2011-09-16 20:43               ` Brian Harring [this message]
2011-09-18  3:59                 ` Donnie Berkholz
2011-09-18 11:22                   ` Brian Harring
2011-09-19  3:16                     ` Donnie Berkholz
2011-09-20 21:20                       ` Brian Harring
2011-09-21 13:11                         ` Donnie Berkholz
2011-09-21 16:37                           ` Alec Warner
2011-09-23  0:41                             ` Donnie Berkholz
2011-09-23  1:04                               ` Alec Warner
2011-09-23  1:15                                 ` Donnie Berkholz
2011-09-17 21:37             ` Zac Medico
2011-09-14  2:47   ` Mike Frysinger
2011-09-14  5:34   ` Ciaran McCreesh
2011-09-14 19:23     ` Donnie Berkholz
2011-09-14 15:03 ` Mike Frysinger
2011-09-21 19:25 ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110916204315.GA30103@beast \
    --to=ferringb@gmail.com \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox