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

Bug 363567

Summary: sys-apps/portage: make emerge exit if unread news items are still present
Product: Portage Development Reporter: Pacho Ramos <pacho>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: enhancement CC: dberkholz
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Pacho Ramos gentoo-dev 2011-04-14 08:56:30 UTC
I usually update my systems with something like follows:
eix-sync && emerge -avuDN world --jobs=2 && emerge -a --depclean && ...

And, then, this can cause people to not always read news items BEFORE updating (I usually read them before but I know some other people that usually forgets that).

With the upcoming baselayout-2 update, I re-thought about this problem and I would prefer "emerge" to simply exit if there are still unread news items, that way, we force people to run "eselect news read ..." and read the news items (that are usually important to read before updating)

What do you think?

Reproducible: Always
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-04-14 10:50:05 UTC
Please keep in mind that this can become quite annoying if you have to update many machines that are equally configured and have the same set of packages installed.
If you really want to implement this feature please give the advanced users the chance to override it someway.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2011-04-14 18:49:07 UTC
The timing is still off on this, because news items trigger when the *installed* package meets the version and not the *visible* package. So you'll emerge openrc, have news items, and you can go on to ignore them, reboot, and break stuff.
Comment 3 Sebastian Luther (few) 2011-04-14 18:53:53 UTC
The news item would depend on baselayout-1. (Why would you bother users which already are at baselayout-2?)
Comment 4 Pacho Ramos gentoo-dev 2011-04-14 19:00:47 UTC
Wouldn't it be solved by making openrc news item to appear when baselayout-*1* is installed instead of after "2" is there? (a bit like we do with gnome stuff news items)