Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC

Bug 414813

Summary: [Future EAPI] REPOSITORY variable set in ebuild environment
Product: Gentoo Hosted Projects Reporter: Arfrever Frehtes Taifersar Arahesis <arfrever.fta>
Component: PMS/EAPIAssignee: PMS/EAPI <pms>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 174380    

Description Arfrever Frehtes Taifersar Arahesis 2012-05-06 02:49:59 UTC
REPOSITORY variable should be set in ebuild environment, similarly to CATEGORY and PN variables. REPOSITORY variable would have value from ${repository_path}/profiles/repo_name.
Comment 1 Ulrich Müller gentoo-dev 2012-05-06 08:57:19 UTC
Why?
Comment 2 Arfrever Frehtes Taifersar Arahesis 2012-05-06 14:13:47 UTC
Such a knowledge might be useful for some ebuilds in overlays. It does not matter if it would be useful in gentoo-x86.
Comment 3 Ulrich Müller gentoo-dev 2012-08-14 07:40:26 UTC
The same arguments as in bug 414815 apply here. Ebuilds shouldn't change their behaviour if moved to a different repository. Therefore they shouldn't need to know in what repository they are located.
Comment 4 Arfrever Frehtes Taifersar Arahesis 2012-09-11 17:44:31 UTC
Portage commit:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=0d9ea2752aa7819e5b26b47920c09218d9f5b7c2
Comment 5 Ulrich Müller gentoo-dev 2019-03-04 07:49:03 UTC
Closing per comment #3.