public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] RFC: Removing eclasses
@ 2009-11-30 17:19 Tomáš Chvátal
  0 siblings, 0 replies; only message in thread
From: Tomáš Chvátal @ 2009-11-30 17:19 UTC (permalink / raw
  To: qa, gentoo-dev

[-- Attachment #1: Type: Text/Plain, Size: 1577 bytes --]

Hi,
Currently the approach is that you must mark the eclass as deprecated and wait 
2 years in order to remove it.

I would propose to do it more fine grained.

Since portage 2.1.4.0 the environment is stored and preserved, thus eclasses 
are no longer required for package uninstalls (which is the only reason for 
above rule).

Bit research for history here when 2.1.4.0 or later was stabilised reveals the 
date Mon Feb 18 09:51:22 2008 UTC. [1]
As we can say everyone even stable people potentialy update to before 1st 
August during individual updates. We can safely assume that after 4 months 
noone use individual commands and gets it grabbed using @world or @system 
target. So we can set the date on:
2008-08-01

So we can have 2 case scenario here now.

Eclass is newer than this date
It can be removed right away since portage is using the environment, thus the 
eclass would be just wasting space and looking ugly :P

Eclass is older than the date
Here we need to find out if it is used, and if it is used it needs to go full 
2 years period before removal.
If it is no-longer used, the 2 years period started ticking when the last 
ebuild using such eclass was in main tree.

Cheers

[1] - http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-
apps/portage/portage-2.1.4.4.ebuild?hideattic=0&rev=1.10&view=log

--------
Tomáš Chvátal
Gentoo Linux Developer [KDE/Overlays/QA/Sunrise/X11]
E-Mail          : scarabeus@gentoo.org
GnuPG FP        : 94A4 5CCD 85D3 DE24 FE99 F924 1C1E 9CDE 0341 4587
GnuPG ID        : 03414587

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-30 17:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-30 17:19 [gentoo-dev] RFC: Removing eclasses Tomáš Chvátal

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