Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 583440 - general-concepts/news: add information about how and when to remove news items
Summary: general-concepts/news: add information about how and when to remove news items
Status: CONFIRMED
Alias: None
Product: Documentation
Classification: Unclassified
Component: GLEP Changes (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alec Warner
URL: https://devmanual.gentoo.org/general-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-18 21:02 UTC by Göktürk Yüksek
Modified: 2018-01-03 20:54 UTC (History)
1 user (show)

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 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>".