1 |
On 11/10/05, Ciaran McCreesh <ciaranm@g.o> wrote: |
2 |
> On Thu, 10 Nov 2005 23:12:28 +0000 Stuart Herbert <stuart@g.o> |
3 |
> wrote: |
4 |
> | Should the GLEP explain how Portage will know how many unread news |
5 |
> | items there are in /var/lib/gentoo/news? I couldn't spot where this |
6 |
> | is covered in the text, or in the example code. |
7 |
> |
8 |
> Well, I was going to go with the plain but simple "once you've read it, |
9 |
> delete it" approach, but some people didn't like that. Next draft will |
10 |
> propose being able to append .read to a filename to mark it read |
11 |
> without deleting it. Either way, it's just a case of looking |
12 |
> for ????-??-??-*.??.txt, chopping off the .??.txt, removing duplicates |
13 |
> and counting. |
14 |
> |
15 |
|
16 |
|
17 |
What about something like "/etc/portage/news.read", which contains a |
18 |
single news file per line. Perhaps have support for something like |
19 |
"<=2006-01-01" in order to be able to manually mark date ranges as |
20 |
read. |
21 |
|
22 |
HTH, |
23 |
Mike |
24 |
|
25 |
-- |
26 |
gentoo-dev@g.o mailing list |