Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 424870 - sys-*/ upgrade notification in Portage
Summary: sys-*/ upgrade notification in Portage
Status: RESOLVED WORKSFORME
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-05 09:53 UTC by 白川間瀬流
Modified: 2014-12-10 19:44 UTC (History)
0 users

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 白川間瀬流 2012-07-05 09:53:19 UTC
It would be nice if portage would show a notification when an upgrade (emerge -DNavu world) also upgrades an sys-*/ package.

Reproducible: Always
Comment 1 白川間瀬流 2012-07-05 09:56:40 UTC
(In reply to comment #0)
> It would be nice if portage would show a notification when an upgrade
> (emerge -DNavu world) also upgrades an sys-*/ package.
> 
> Reproducible: Always

for clearification, it would be nice if it would be something like the attention message when an upgrade of portage is aviable.
Comment 2 Zac Medico gentoo-dev 2012-07-05 20:57:09 UTC
Rather than base it on the category, maybe it would be better to us the "system set" that's defined in the profile. For example, see $PORTDIR/profiles/base/packages. Actually, system packages can already have special color coding in the merge list, if you configure PKG_MERGE_SYSTEM in /etc/portage/color.map. See `man color.map'.
Comment 3 白川間瀬流 2012-07-06 06:02:04 UTC
You're right, @system would be enough as this guarantees at least a working base system. So even if the other stuff is broken, with a working @system you can at least fix it (except the kernel :P)

but would be awesome if this color map for System packages would be default or when emerge gives the output of what packages get merged and system packages are there, they get grouped together like

emerge -DNavu world

These are the packages that would be merged, in order:                                                                                                                                  
                                                                                                                                                                                        
Calculating dependencies... done!                                                                                                                                                       

!!! System Packages !!!
[ebuild   U    ] foo/bar-5.0.4  USE="nls threads -static-libs" 0 kB                                                                                                           
[ebuild   U    ] foo/foo-0  0 kB                                                                                                                                                
[ebuild   U    ] foo/foobar-1.0.6-r3  USE="-static -static-libs" 0 kB                                                                                                               

Packages in World
[ebuild   U    ] bla/blubb-20120116  0 kB                                                                                                                                     
[ebuild   U    ] bla/mlp-0  0 kB USE="ponyville celestia -discord"                                                                                                                                               
[ebuild   U    ] bla/brony-2.1.0-r2  USE="season1 season2 -season3" 0 kB
Comment 4 白川間瀬流 2012-07-06 06:05:05 UTC
sry for the unneeded whitespaces, second try

# emerge -DNavu world                     

Calculating dependencies... done!                                           

!!! System Packages !!!
[ebuild   U    ] foo/bar-5.0.4  USE="nls threads -static-libs" 0 kB         
[ebuild   U    ] foo/foo-0  0 kB                                            
[ebuild   U    ] foo/foobar-1.0.6-r3  USE="-static -static-libs" 0 kB       

Packages in World
[ebuild   U    ] bla/blubb-20120116  0 kB                                   
[ebuild   U    ] bla/mlp-0  0 kB USE="ponyville celestia -discord"          
[ebuild   U    ] bla/brony-2.1.0-r2  USE="season1 season2 -season3" 0 kB
Comment 5 Zac Medico gentoo-dev 2012-09-04 00:35:19 UTC
(In reply to comment #3)
> but would be awesome if this color map for System packages would be default

The reason for the current default is that it's pretty safe to assume that @selected packages are the most interesting to users.

Your interest in @system seems to based on the idea that these are the packages that are most likely to break your system in a way that's difficult to recover from? If so, it seems like a rather paranoid attitude to have. :)

> or when emerge gives the output of what packages get merged and system
> packages are there, they get grouped together like

I guess we could add an option for that. I wouldn't enable it by default, because some people like to know the exact merge order in advance (see bug 158100 for example).
Comment 6 白川間瀬流 2012-09-04 05:42:54 UTC
(In reply to comment #5)
> (In reply to comment #3)
> > but would be awesome if this color map for System packages would be default
> 
> The reason for the current default is that it's pretty safe to assume that
> @selected packages are the most interesting to users.
> 
> Your interest in @system seems to based on the idea that these are the
> packages that are most likely to break your system in a way that's difficult
> to recover from? If so, it seems like a rather paranoid attitude to have. :)
> 
> > or when emerge gives the output of what packages get merged and system
> > packages are there, they get grouped together like
> 
> I guess we could add an option for that. I wouldn't enable it by default,
> because some people like to know the exact merge order in advance (see bug
> 158100 for example).

So the udev upgrade was paranoia? When using (~) i think its more than just paranoia =)
For people which are willing to test packages before they are out, i think it should be easy as possible. Maybe an additional warning at the beginning + the correct order would be a compromis?
Comment 7 白川間瀬流 2014-12-10 19:44:11 UTC
Wont get done anyway