Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: Gentoo Dev <gentoo-dev@g.o>
From: Zac Medico <zmedico@g.o>
Subject: [RFC] Label profiles with EAPI for compatibility checks
Date: Fri, 03 Oct 2008 17:09:43 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everyone,

Please consider a new "eapi" profile configuration file that will
designate the EAPI to which any package atoms within a given layer
of the profile stack must conform. This will allow package managers
to bail out with an informative error message if the user
accidentally selects a profile containing an EAPI that is not
supported by the currently installed package manager.

In order to allow mixed EAPIs in the profiles, and to avoid having
to configure the EAPI in every single layer, each directory of the
profile stack should be able to either override or inherit the EAPI
value that may have been defined in a previous layer of the profile
stack. If no EAPI has been previously defined then it can be assumed
to be 0.

The format of the configuration file can be very simple, containing
only the EAPI value and nothing more. For example, a file containing
 just a single "0" character, followed by a newline, could be
created at profiles/base/eapi in order to explicitly declare that
atoms in the base profile conform to EAPI 0. However, this
particular declaration would be redundant since the base profile
does not inherit from any other profile and therefore it's EAPI
would be assumed to be 0 anyway.

Does this seem like a good approach? Are there any suggestions for
improvements or alternative approaches?
- --
Thanks,
Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkjmtEYACgkQ/ejvha5XGaNtSQCfXb2OQAYCEAe0Uuuu7Ou+DxyV
QZsAn0VpUbKqHJP0XRZSg6mhFKeUNXui
=qR8c
-----END PGP SIGNATURE-----


Replies:
Re: [RFC] Label profiles with EAPI for compatibility checks
-- Ciaran McCreesh
Re: [gentoo-portage-dev] [RFC] Label profiles with EAPI for compatibility checks
-- Alec Warner
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [gentoo-commits] gentoo-x86 commit in app-misc/anki: metadata.xml Manifest anki-0.9.8.1.ebuild ChangeLog
Next by thread:
Re: [gentoo-portage-dev] [RFC] Label profiles with EAPI for compatibility checks
Previous by date:
Re: Re: [gentoo-commits] gentoo-x86 commit in app-misc/anki: metadata.xml Manifest anki-0.9.8.1.ebuild ChangeLog
Next by date:
Re: [RFC] PROPERTIES=set for meta-packages that should behave like package sets (revised)


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.