Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 537312 - app-portage/gentoolkit-dev: echangelog: support for config file
Summary: app-portage/gentoolkit-dev: echangelog: support for config file
Status: RESOLVED OBSOLETE
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard: Pending removal: 2018-12-11
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2015-01-22 04:57 UTC by Adam Feldman
Modified: 2018-12-11 13:36 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.