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

Bug 537312

Summary: app-portage/gentoolkit-dev: echangelog: support for config file
Product: Portage Development Reporter: Adam Feldman <np-hardass>
Component: Enhancement/Feature RequestsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED OBSOLETE    
Severity: normal CC: dschridde+gentoobugs, treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: Pending removal: 2018-12-11
Package list:
Runtime testing required: ---

Description Adam Feldman gentoo-dev 2015-01-22 04:57:00 UTC
When repoman is run with --echangelog, ECHANGELOG_USER from make.conf is used.  It would be nice if when echangelog is run on its own, it sourced this variable from a file, preferably make.conf.  As a non-gentoo-dev, the default behavior of ${user}@gentoo.org doesn't work for me, and so if I decided to call echangelog outside of repoman (and there are occasions where this may be the case), I'd be forced to either set it every time I go to work on my overlay, or have it poluting my list of env variables all the time.  So it'd be useful to have echangelog source this variable from somewhere.  Based on the fact that repoman uses it when set via make.conf, I think this makes sense as an appropriate place to check for it.

Thanks in advance for your time.
Comment 1 SpanKY gentoo-dev 2015-06-02 15:07:09 UTC
we can't source any portage file directly ... the system is too flexible.  it would also tie the tool to portage which it currently is not.

we can't really run `portageq envvar` because portageq is way too slow

what's wrong with making an alias ?
  alias echangelog='ECHANGELOG_USER=... echangelog'
a command line option there might not be a bad idea either ...

should make it smarter and when it detects something like git, try running `git var GIT_COMMITTER_IDENT`.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-12-11 13:36:46 UTC
Removing wrt #659412.