Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 417013 - Decouple repository format from EAPI
Summary: Decouple repository format from EAPI
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PMS/EAPI (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: PMS/EAPI
Depends on: 373349
  Show dependency tree
Reported: 2012-05-22 05:56 UTC by Michał Górny
Modified: 2021-03-30 00:39 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-05-22 05:56:40 UTC
The idea is to have the 'repository' and 'ebuild' format decoupled.

EAPIs would specify the ebuild environment, atom syntax etc. which are identified by the EAPI spec. Most importantly, ebuilds should not try to do assumptions about the particular repository structure -- they are just given the necessary files by Package Manager.

Aside to that, there would be a repository format version, reusing metadata/layout.conf. The repository format could also mention how to read EAPI from ebuilds & for profiles/metadata.

Getting explicit repository version would finally allow us to do some cleanup, like moving repository-specific information from profiles/ directory to metadata/. We could possibly also move repository name to layout.conf.
Comment 1 Ciaran McCreesh 2012-05-22 17:15:12 UTC
The feature users seem to want from this is to enable "partial" or "on demand" repositories to replace all those nasty hacks people use with rsync excludes.
Comment 2 Sam James archtester gentoo-dev Security 2021-03-30 00:39:30 UTC
See radhermit's RFC here: