Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651374 - sys-apps/portage: add emerge --autounmask-continue option to avoid writing configuration file changes
Summary: sys-apps/portage: add emerge --autounmask-continue option to avoid writing co...
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All All
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 155723 autouse
  Show dependency tree
 
Reported: 2018-03-24 18:45 UTC by Zac Medico
Modified: 2020-12-13 15:19 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 Zac Medico gentoo-dev 2018-03-24 18:45:12 UTC
Over time, the emerge --autounmask-continue tends to introduce clutter in configuration files. It would be nice if there was an option to avoid writing the configuration file changes. For example, we can avoid the write/reload requirement for package.use simply by updating the UseManager _pusedict attribute in memory:

https://gitweb.gentoo.org/proj/portage.git/tree/pym/portage/package/ebuild/_config/UseManager.py?h=portage-2.3.24#n103

For --keep-going dependency calculations, structures involving package masking status (package.mask, keywords, etc) will also have to be updated in memory.