Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 553568 - sys-apps/portage: Enhance portageq to return default values of make.conf variables if unset
Summary: sys-apps/portage: Enhance portageq to return default values of make.conf vari...
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
Depends on:
Reported: 2015-06-29 15:53 UTC by Paul Varner (RETIRED)
Modified: 2022-10-20 02:43 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Paul Varner (RETIRED) gentoo-dev 2015-06-29 15:53:14 UTC
From IRC:

<fuzzyray> Question, should portageq return default values for variables that are not set in make.conf but are supported by portage? I'm asking because I have a pull request to use EMERGE_LOG_DIR in genlop, but portageq returns nothing if it is not set.
<fuzzyray> I can easily add the fallback to the default location of /var/log, but wondering if portageq should already do that
<dwfreed> I think it might make sense
<fuzzyray> I'm thinking that it should, so that if we do change a default, then the tools don't have to be changed as well (assuming that they are using portageq)
<zmedico> fuzzyray: yeah, having portageq return the default sounds reasonble. we can just set that var in make.globals