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

Bug 651374

Summary: sys-apps/portage: add emerge --autounmask-continue option to avoid writing configuration file changes
Product: Portage Development Reporter: Zac Medico <zmedico>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: enhancement CC: esigra, kingjon3377
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 155723, 258371    

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.