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

Bug 541226

Summary: sys-apps/portage: profiles/repo_name should not take priority over repos.conf
Product: Portage Development Reporter: Michał Górny <mgorny>
Component: CoreAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-02-24 11:03:49 UTC
[foo]
repo-name = foo

Now if foo has no profiles/repo_name, everything works fine. However, if it has profiles/repo_name, that name overrides the user-specified name that's desired here.

I need that for lightweight-cvs-toolkit. Override in layout.conf is not enough since I already committed that accidentally ;).
Comment 1 Brian Dolbec gentoo-dev 2015-02-24 15:53:33 UTC
Why would a repos.conf need a repo-name option.  The section name is used already as the repo-name.  Maybe I'm missing something still waking up...
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-02-24 16:10:10 UTC
That was 'trying hard' to override profiles/repo_name. With or without that, profiles/repo_name still overrides section name.