Gentoo Archives: gentoo-dev

From: Brian Harring <ferringb@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] GLEP ??: Critical News Reporting
Date: Tue, 01 Nov 2005 02:20:21
Message-Id: 20051101021630.GD10657@nightcrawler
In Reply to: [gentoo-dev] GLEP ??: Critical News Reporting by Ciaran McCreesh
1 On Tue, Nov 01, 2005 at 01:51:25AM +0000, Ciaran McCreesh wrote:
2 > ``Posted:``
3 > Date of posting, in ``dd-mmm-yyyy`` format (e.g. 14-Aug-2001).
4 > Mandatory.
5
6 Don't have a good arguement as to why it should be added, but utc
7 time seems like it should be included.
8
9 <snip>
10
11 > ``Display-If-Installed:``
12 > A dependency atom or simple package name (for example,
13 > ``<dev-lang/php-5_alpha`` or ``net-www/apache``). If the user has the
14 > package specified installed, the news item should be displayed.
15
16 You're going to run into issues with slotmoves for longterm...
17
18 I'd personally rather the translation/updating of the atoms specified
19 for this field does *not* occur in portage clientside, iow it's
20 handled server side.
21
22 > ``Display-If-Keyword:``
23 > A keyword [#glep-22]_ name, for example ``mips``. If the user is on
24 > the arch in question, the news item should be displayed.
25 >
26 > TODO: Display-If-USE for USE flag renames?
27 >
28 > TODO: Display-If-Mode: ``any`` or ``all`` or ``none`` with ``any`` being
29 > the default?
30
31 TODO: Display-If-Profile: ?
32
33 I'd like to kill off the deprecated profile file someday...
34
35
36 > News Item Display
37 > -----------------
38 >
39 > Whenever relevant unread news items are found, ``emerge`` will copy the
40 > news file into ``/var/lib/gentoo/news/``.
41
42 Expand this to address N repo's all delivering their own news
43 please...
44
45 Any reason this must be moved locally? Why not just track some id
46 from the news article locally, instead of copying it?
47
48 Yes this makes things a bit more funky for reading tools... but imo,
49 the duplication is a bit wasteful. Not a huge issue, but worth
50 considering imo.
51
52 ~harring

Replies

Subject Author
Re: [gentoo-dev] GLEP ??: Critical News Reporting Ciaran McCreesh <ciaranm@g.o>