1 |
On Friday 11 November 2005 00:35, Ciaran McCreesh wrote: |
2 |
> On Thu, 10 Nov 2005 23:12:28 +0000 Stuart Herbert <stuart@g.o> |
3 |
> |
4 |
> wrote: |
5 |
> | Should the GLEP explain how Portage will know how many unread news |
6 |
> | items there are in /var/lib/gentoo/news? I couldn't spot where this |
7 |
> | is covered in the text, or in the example code. |
8 |
> |
9 |
> Well, I was going to go with the plain but simple "once you've read it, |
10 |
> delete it" approach, but some people didn't like that. Next draft will |
11 |
> propose being able to append .read to a filename to mark it read |
12 |
> without deleting it. Either way, it's just a case of looking |
13 |
> for ????-??-??-*.??.txt, chopping off the .??.txt, removing duplicates |
14 |
> and counting. |
15 |
|
16 |
If you don't delete it, we might still have a supersedes header that |
17 |
indicates that one news item overrides another one. This would also be |
18 |
useful for a web version that contains a full archive of all news items. |
19 |
|
20 |
Paul |
21 |
|
22 |
-- |
23 |
Paul de Vrieze |
24 |
Gentoo Developer |
25 |
Mail: pauldv@g.o |
26 |
Homepage: http://www.devrieze.net |