Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 450960 - sys-apps/portage proposed changes for emerge --autounmask output
Summary: sys-apps/portage proposed changes for emerge --autounmask output
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 445274
  Show dependency tree
 
Reported: 2013-01-09 00:39 UTC by Ben Kohler
Modified: 2013-01-10 15:39 UTC (History)
0 users

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


Attachments
patch with proposed changes (autounmask-output-changes.patch,2.04 KB, patch)
2013-01-09 00:39 UTC, Ben Kohler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Kohler gentoo-dev 2013-01-09 00:39:07 UTC
Created attachment 334854 [details, diff]
patch with proposed changes

I would like to propose a couple of changes to the output of emerge --autounmask foo. 

The first changes aim to make it easier for users to make manual package.* changes instead of pushing them so hard toward --autounmask-write.  If users are not made aware of the package.* files at all, they have little to no choice-- they have to use autounmask-write to continue.  Another good option would be to simply have the various package.* modifications trigger a link to the relevant online gentoo documentation, ie: 
keyword changes: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=3
USE changes: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=2
etc etc.

I have also added a warning about the possible danger of --autounmask-write.  I feel this is necessary as --autounmask is on by default, but known to be... somewhat less than totally safe & predictable.  See bug #376695 for some past & present issues.

Attached is a patch with a rough idea of the changes I am proposing.  Some rewording or formatting may be needed, but the general message is there.
Comment 2 Zac Medico gentoo-dev 2013-01-09 01:30:22 UTC
I've tweaked the --autounmask-write suggestion:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=42e53d601895515cb51fd7189b95d54154de877e
Comment 3 Zac Medico gentoo-dev 2013-01-10 15:39:33 UTC
This is fixed in 2.1.11.39 and 2.2.0_alpha150.