Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296700 - [TRACKER] sys-apps/portage EAPI 3 implementation
Summary: [TRACKER] sys-apps/portage EAPI 3 implementation
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Conceptual/Abstract Ideas (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: Tracker
Depends on: 273638 296701
Blocks: 302803
  Show dependency tree
 
Reported: 2009-12-13 06:40 UTC by Zac Medico
Modified: 2011-01-04 19:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2009-12-13 06:40:11 UTC
Make bugs involving EAPI 3 block this bug.
Comment 1 Ciaran McCreesh 2009-12-13 14:43:29 UTC
Where are you getting your list of what's in EAPI 3 from?
Comment 2 Zac Medico gentoo-dev 2009-12-13 21:01:01 UTC
The prefix stuff came from a council decision. I threw in xz unpack myself because I just assumed everybody would want it.
Comment 3 Ciaran McCreesh 2009-12-13 21:05:51 UTC
Are you planning to throw anything else in there? We're trying to get PMS straightened out after the most recent round of Counciling.
Comment 4 Zac Medico gentoo-dev 2009-12-13 21:09:44 UTC
No, I'm not planning to throw in anything else. Hopefully the current state is final.
Comment 5 Brian Harring (RETIRED) gentoo-dev 2009-12-13 21:28:44 UTC
Simple stuff (cleanup, final removal of vars that were deprecated), etc, should be considered.

Keep in mind to get eapi3 official anyways, it'll have to go back to the council.  A few simple riders that are beneficial shouldn't be cause to get butt hurt.
Comment 6 Ciaran McCreesh 2009-12-13 23:21:04 UTC
Ok, who's coming up with the full list and running it past the Council then?
Comment 7 Zac Medico gentoo-dev 2009-12-13 23:29:12 UTC
If anybody wants to make a list, the ones that block bug 273620 and are marked "fixed" are good choices since there are already patches in portage for those.
Comment 8 Ulrich Müller gentoo-dev 2009-12-13 23:50:25 UTC
Ahem. We voted in the December meeting that we don't want any additional features in EAPI 3.

My personal opinion (not speaking for the council):
EAPI 3 is intended as the Prefix EAPI, so it should be as easy as possible to convert existing ebuilds to it (basically, after replacing 2 by 3 the ebuild should just work).

OTOH, .xz support sounds safe enough since it's just an extension. So if you absolutely want to prepare such a list, I would recommend that you don't include any incompatible changes (like removal of variables or functions, or change of default phase functions).

And probably .xz support is the feature (of the already implemented ones) that is most urgently awaited.
Comment 9 Brian Harring (RETIRED) gentoo-dev 2009-12-14 05:43:37 UTC
(In reply to comment #8)
> Ahem. We voted in the December meeting that we don't want any additional
> features in EAPI 3.
> 
> My personal opinion (not speaking for the council):
> EAPI 3 is intended as the Prefix EAPI, so it should be as easy as possible to
> convert existing ebuilds to it (basically, after replacing 2 by 3 the ebuild
> should just work).

I was more thinking of locking down things ebuilds either expect already, or formally punting stuff they've stopped using.  

Forbidding AA in EAPI3 is pretty much a zero hit on ebuild devs- it's already dead.  Punting KV w/in EAPI3 (get_KV and friends in addition) is potential, although someone would have to talk to the kernel herd since frankly I don't want to dig through their eclass.

The one potentially contentious one is pushing mtime preservation into eapi3- reasoning for doing this is that there are a decent # of ebuilds/eclasses that expect mtime preservation (hence that bug existing).  Formalizing it shouldn't be disruptive to ebuilds (portage/pkgcore already do it after all)- more importantly, it enables said ebuild devs to cleanup some nasty orphan scenarios that exist where they're protecting against the lack of mtime preservation.

Either way, the stuff that is dead or is already expected by ebuilds/eclasses in the tree is what I'm suggesting be slipped in as riders on eapi3.
Comment 10 Christian Faulhammer (RETIRED) gentoo-dev 2009-12-14 08:00:01 UTC
Personally I would like to see EAPI 3 used as fast as possible, so keep as much out as you can.  Maybe some people don't agree on the zero-cost argument and we have discussions on-end again.
Comment 11 Brian Harring (RETIRED) gentoo-dev 2009-12-14 08:17:20 UTC
(In reply to comment #10)
> Personally I would like to see EAPI 3 used as fast as possible, so keep as much
> out as you can.  Maybe some people don't agree on the zero-cost argument and we
> have discussions on-end again.

If the discussion goes cyclical, then lay down the law... if it's got valid technical arguements that are real world breakages/issues, then punt it to eapi4 imo.
Comment 12 Fabian Groffen gentoo-dev 2009-12-14 10:29:57 UTC
Just to contrast ferringb's remark about having to rerun eapi3 against the council: my interpretation of the last council's meeting was that it approved how eapi3 should look like and that it wanted to see it being available ASAP.  Since that last thing is pretty much important to me, I prefer to delay all the discussions on (even though seemingly trivial) other issues, and to stay with the council's decision that eapi3 is just eapi2 + prefix.
Comment 13 Ulrich Müller gentoo-dev 2009-12-14 10:36:16 UTC
I tend to agree with grobian.

But if you really want any additional feature (like .xz support), then please send an e-mail message to the gentoo-council ML *now* and don't wait until the next council meeting. We really should see that we'll have the final spec for EAPI 3 as soon as possible.
Comment 14 Brian Harring (RETIRED) gentoo-dev 2009-12-14 11:11:44 UTC
(In reply to comment #13)
> I tend to agree with grobian.
> 
> But if you really want any additional feature (like .xz support), then please
> send an e-mail message to the gentoo-council ML *now* and don't wait until the
> next council meeting. We really should see that we'll have the final spec for
> EAPI 3 as soon as possible.
Emailed, although go figure, I forgot to mention .xz support.  Someone might want to add that to the ml posting...
Comment 15 Christian Faulhammer (RETIRED) gentoo-dev 2009-12-16 22:50:34 UTC
As I expressed on the -pms mailing list, EAPI 3 should restrict to mtime preservation and prefix support.  All other items should be postponed.
Comment 16 Zac Medico gentoo-dev 2010-01-29 21:31:56 UTC
EAPI 3 is supported in >=sys-apps/portage-2.1.7.17.