public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [RFC] Drop EAPI=0 requirement for system packages.
@ 2012-10-12 10:53 Ralph Sennhauser
  2012-10-12 20:38 ` Walter Dnes
  2012-10-13  3:10 ` [gentoo-dev] " Ryan Hill
  0 siblings, 2 replies; 43+ messages in thread
From: Ralph Sennhauser @ 2012-10-12 10:53 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 3050 bytes --]

From time to time the topic of deprecating EAPIs comes up and usually
one suggestion is to keep 0 and start with converting EAPI 1 ebuilds.
Then someone comes along and asks what is the point? Indeed, a fair
question.

The following tries to take a different approach to the topic. It's not
all thought through in detail, but that wont happen anytime soon,
after all it's on my TODO for long enough. So I present it in the hope
others will try to poke holes into it or even pick it up.


EAPI=0 requirement pointless?
-----------------------------

The EAPI=0 requirement comes from having to provide an update path for
systems with a package manager without EAPI support. By now we are
talking about really ancient systems and it's questionable if there is
any merit in supporting such.

Further the situation is that some of the maintainers of must be EAPI 0
ebuilds already moved on as the majority of users will profit from a
bump. As a result the clean upgrade path is already borked and the
value of keeping others at EAPI=0 deteriorates further and further.

Forcing EAPI 0 on some maintainers for all eternity doesn't strike me
as brilliant, quite the opposite frankly. After all new EAPIs are
supposed to contain bug fixes and new features required to write better
ebuilds.


If all installed PMs supported EAPI?
------------------------------------

The issue of an update path is reduced to keeping intermediate 
versions in tree.

Those PMs also support EAPI=1, rendering EAPI=0 obsolete.


Base EAPI
---------

Systems without having a package manager installed that supports at
least the 'Base EAPI' aren't considered supported any longer. 

Maintainers of system packages can use the Base EAPI without worrying.

Maintainers of system packages can use more recent EAPIs but need to
take special care.


Value of Base EAPI
------------------

Maintainers of system packages need to be able to use newer EAPIs
after some time. They can wait but not forever. built_with_use removal
is one example, strong vs weak blockers an other.

The value can be based on time ( i.e. after 3 years ) or set by council
decision. A combination is fine as well.

The value should be kept low enough so the rule "maintainers don't have
to care about using it" holds.

The need of derived distributions / package managers should be
considered, ie. let them catch up if necessary.

Security updates should be possible for some time without full updates.
This extends to other packages as well. So maintainers of critical non
system packages can use this EAPI as well if they want.

Guess EAPI=2 would be a reasonable compromiss.


Deprecation?
------------

EAPIs below the base EAPI can be considered deprecated if one desires.

References in devmanual can be removed and so the document be
simplified. 

Once there are only few ebuild of a deprecated EAPI left, it might make
sense to convert them and add a repoman check so the number of used
EAPIs is kept reasonable.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 43+ messages in thread

end of thread, other threads:[~2013-04-12 18:38 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-12 10:53 [gentoo-dev] [RFC] Drop EAPI=0 requirement for system packages Ralph Sennhauser
2012-10-12 20:38 ` Walter Dnes
2012-10-12 20:41   ` Ciaran McCreesh
2012-10-12 20:45   ` Ian Stakenvicius
2012-10-12 21:02   ` Alexandre Rostovtsev
2012-10-13  3:10 ` [gentoo-dev] " Ryan Hill
2012-10-13  6:28   ` Ralph Sennhauser
2012-10-17  5:42     ` Ryan Hill
2012-10-17 17:34       ` Pacho Ramos
2012-10-17 19:00         ` Rich Freeman
2012-10-18  4:07           ` Ryan Hill
2012-10-18 13:36             ` Rich Freeman
2012-10-18 15:49               ` Pacho Ramos
2012-10-18 17:49                 ` Rich Freeman
2012-10-18 19:05                   ` Pacho Ramos
2012-10-18 19:35                     ` Rich Freeman
2012-10-19 17:21                       ` Pacho Ramos
2012-10-19 17:51                         ` Alexis Ballier
2012-10-19 18:09                           ` Pacho Ramos
2012-10-19 18:47                             ` Alexis Ballier
2012-10-19 19:32                               ` Pacho Ramos
2012-10-19 19:43                                 ` Thomas Sachau
2012-10-19 19:53                                   ` Pacho Ramos
2012-10-19 20:39                                     ` Thomas Sachau
2012-10-19 20:47                                       ` Rich Freeman
2012-10-20  6:04                                       ` Pacho Ramos
2012-10-20 14:09                                         ` Thomas Sachau
2012-10-20 14:29                                           ` Pacho Ramos
2012-10-20 14:53                                             ` Pacho Ramos
2012-10-20 15:15                                             ` Thomas Sachau
2012-10-20 15:19                                               ` Pacho Ramos
2012-10-20 15:17                                           ` Pacho Ramos
2012-10-20 15:57                                             ` Thomas Sachau
2012-10-20 15:24                                         ` Rich Freeman
2012-10-19 20:43                                     ` Alexis Ballier
2012-10-20  6:07                                       ` Pacho Ramos
2012-10-20  6:14                                         ` Michał Górny
2012-10-20  6:31                                           ` Pacho Ramos
2012-10-20 14:37                                     ` Peter Stuge
2012-10-19  4:09               ` Ryan Hill
2012-10-19  4:34                 ` Zac Medico
2013-04-12 16:25           ` [gentoo-dev] Binary package dependencies for sub-slot-less EAPIs W. Trevor King
2013-04-12 18:38             ` Rich Freeman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox