On Sat, Jan 6, 2018 at 1:05 PM, Ulrich Mueller <u...@gentoo.org> wrote:
> Filtering in eselect news would be problematic: Obtaining the list
> of items with "eselect news list" and e.g. reading them with "eselect
> news read" are issued as separate commands, which requires that the
> list of valid items does not change. However, time-based filtering
> could cause a race condition, like an item expiring between execution
> of the two commands.

Would it be possible to make the expiration times use not the wall
clock time, but the timestamp of the repository if one is available?

That would not only be more predictable (can expire on repository
manipulations only), but also better suited for updating severely
outdated systems. You can advance the repository state by 1 year and
read the news items as they were at that time, not half of them
expired and hidden.

Denis Lisov.

Reply via email to