public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Roy Bamford <neddyseagoon@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: GLEP 55 Version 2
Date: Sun, 07 Jun 2009 15:11:58 +0100	[thread overview]
Message-ID: <1244383925.3671.1@NeddySeagoon> (raw)
In-Reply-To: <18987.35220.808040.666422@a1ihome1.kph.uni-mainz.de>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2009.06.07 10:34, Ulrich Mueller wrote:
> >>>>> On Sun, 07 Jun 2009, Steven J Long wrote:
> 
> > I'd just like to know what the implications would be for users if 
> we
> > kept the .ebuild extension, and a new PMS were rolled out stating
> > that the mangler were allowed to find the EAPI without sourcing 
> (and
> > giving the restrictions) once portage 2.2 was stable, or the 
> ability
> > to handle this backported to 2.1.6, and issued in a release?
> 
> Even if we do only a one-time change of the file extension, can we
> ever get rid of the old extension? Or are we then stuck with two
> extensions in the tree until the end of time?
> 
> Let's assume for the moment that we change from ".ebuild" to ".eb".
> Then we obviously cannot change all ebuilds in the tree to ".eb",
> otherwise old Portage versions would see an empty tree and there 
> would
> be no upgrade path.
> 
> Or am I missing something?
> 
> Ulrich

First, lets be clear that the upgrade path related problems are driven 
by the EAPI change, not the .ebuild to .eb change.  That serves only to 
allow the new EAPI to be introduced immedately and hide the change from 
older package managers 

The upgrade path issue remains even if we do the usual Gentoo introduce 
new features to the package manager then wait a year or so before they 
are deployed. Without the .ebuild to .eb change. late upgraders will 
get the error messages in Appendix A of the GLEP when these features 
are relesed. 

To keep an upgrade path, package managers and their dependencies need 
to use EAPI 0, 1 or 2. (EAPI 3 is not yet out) How far back should the 
upgrade path extend?

As you suggest, even with .ebuild to .eb change.its not a clean break 
with the past but would happen over time, with ebuilds for new package 
versions being migrated to the new format. For example we would 
have 
foo-2.1-r1.ebuild
foo-3.0.eb
portage-2.3.ebuild
portage-3.0.eb

Portage-2.3 will understand the later EAPI but will itself, use only 
EAPI, 0, 1 or 2.
 
With the .ebuild to .eb change. users who do not upgrade portage will 
not see newer versions of foo. Without it, they will get the error 
messages in Appendix A of the GLEP. This will have the side effect of 
driving the adoption of the newer package managers.

It is not suffcient to have portage-2.3.ebuild as understanding later 
EAPI files. All of its dependencies need to keep to EAPI 0, 1 or 2. 
These must be the last packages to migrate to later EAPIs. 

Thats just portage. The same reasoning applies to any other package 
manager and there are at least three. This begs the question of how 
friendly do we want to be to derivitive distros that use our tree but 
their own package manager?

Upgrade path issues need to be addressed in the GLEP. I will add 
something like the above in the next version.

- -- 
Regards,

Roy Bamford
(NeddySeagoon) a member of
gentoo-ops
forum-mods
treecleaners
trustees



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)

iEYEARECAAYFAkoryrUACgkQTE4/y7nJvashtQCgkO+feHG2BBGLOTObrwq72iOx
nI4AoNZ67Mhq4yEKYTzfBOPmu98Py9Mc
=GB62
-----END PGP SIGNATURE-----




  parent reply	other threads:[~2009-06-07 14:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-06 22:31 [gentoo-dev] GLEP 55 Version 2 Roy Bamford
2009-06-07  3:32 ` [gentoo-dev] " Steven J Long
2009-06-07  9:34   ` Ulrich Mueller
2009-06-07 11:55     ` Richard Freeman
2009-06-07 13:16       ` Duncan
2009-06-07 12:15     ` Patrick Lauer
2009-06-07 13:27       ` Richard Freeman
2009-06-07 12:40     ` Federico Ferri
2009-06-07 14:11     ` Roy Bamford [this message]
2009-06-08 12:42       ` [gentoo-dev] " Steven J Long
2009-06-08 10:18 ` [gentoo-dev] " Michael Haubenwallner

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=1244383925.3671.1@NeddySeagoon \
    --to=neddyseagoon@gentoo.org \
    --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