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

Bug 583440

Summary: general-concepts/news: add information about how and when to remove news items
Product: Documentation Reporter: Göktürk Yüksek <gokturk>
Component: GLEP ChangesAssignee: Alec Warner <antarus>
Status: CONFIRMED ---    
Severity: normal CC: ulm
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://devmanual.gentoo.org/general-concepts/news/index.html
Whiteboard:
Package list:
Runtime testing required: ---

Description Göktürk Yüksek archtester gentoo-dev 2016-05-18 21:02:16 UTC
GLEP 42 has:

News Item Removal
News items can be removed (by removing the news file from the main tree) when they are no longer relevant, if they are made obsolete by a future news item or after a long period of time. This is the same as the method used for updates entries.


Reproducible: Always
Comment 1 Alec Warner (RETIRED) archtester gentoo-dev Security 2018-01-03 17:33:21 UTC
I think the most recent discussion centered around not removing news items (which are rarely updated and take up trivial space) and instead are going to modify the GLEP to make obsolete news items not display'd. Does that meet your needs?

We can modify eselect news to show "hidden / expired" news items if we want.

-A
Comment 2 Ulrich Müller gentoo-dev 2018-01-03 20:54:19 UTC
(In reply to Alec Warner from comment #1)
> I think the most recent discussion centered around not removing news items
> (which are rarely updated and take up trivial space) and instead are going
> to modify the GLEP to make obsolete news items not display'd. Does that meet
> your needs?
> 
> We can modify eselect news to show "hidden / expired" news items if we want.

I think that any filtering should be done by the package manager, as it is currently done for the Display-If-* headers. So the list of unread news items (/var/lib/gentoo/news/news-gentoo.unread) would be updated when syncing, and any expired items would be removed from it.

In eselect news, filtering could cause problems, e.g. if an item expires between doing "eselect news list" and "eselect news read <item>".