Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 417013

Summary: Decouple repository format from EAPI
Product: Gentoo Hosted Projects Reporter: Michał Górny <mgorny>
Component: PMS/EAPIAssignee: PMS/EAPI <pms>
Status: CONFIRMED ---    
Severity: enhancement CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=686888
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 373349    
Bug Blocks:    

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 Infrastructure gentoo-dev Security 2021-03-30 00:39:30 UTC
See radhermit's RFC here: https://archives.gentoo.org/gentoo-dev/message/bb5153a187801924bd520253e206f272.