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

Bug 454628

Summary: sys-apps/portage: repoman - use user config file ~/.repomanrc
Product: Portage Development Reporter: Ralph Sennhauser (RETIRED) <sera>
Component: RepomanAssignee: Portage team <dev-portage>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: polynomial-c
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ralph Sennhauser (RETIRED) gentoo-dev 2013-01-30 09:05:56 UTC
Currently repoman is configured in make.conf. While I was explaining how to setup manifest signing I once more thought awkward config location which I spelled out loud. There was nothing but agreement.

So, the following are user specific and shouldn't have to be put into a global config file:
  ECHANGELOG_USER="Ralph Sennhauser <sera@gentoo.org>"
  PORTAGE_GPG_DIR=/home/sera/.gnupg
  PORTAGE_GPG_KEY=3C5CF75A

And this one feels redundant:
  FEATURES=sign

So my suggestion would be to implement a ~/.repomanrc. Maybe using an ini style config would be preferable over a shell style one?

It could also be home for other options like warnings-are-errors or include-dev-profiles and options to specify where to write stuff to (dtd, distfiles). The latter would be useful as repoman is usually run as a normal user which shouldn't be able to write to /usr/portage.
Comment 1 Zac Medico gentoo-dev 2013-01-30 15:52:11 UTC
(In reply to comment #0)
> So my suggestion would be to implement a ~/.repomanrc. Maybe using an ini
> style config would be preferable over a shell style one?

Yeah, I guess we could have an [environment] section for things that should directly override make.conf variables, and we can add other section(s) for things that don't correspond to make.conf variables.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-12 03:18:35 UTC
repoman support has been removed per bug 835013.

Please file a new bug (or, I suppose, reopen this one) if you feel this check is still applicable to pkgcheck and doesn't already exist.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-12 03:44:08 UTC
pkgcheck has ~/.config/pkgcheck