Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: GLEP 42 (Critical news reporting) updates
Date: Wed, 14 Dec 2005 02:12:43
Message-Id: 439F7F2A.3010406@gmail.com
In Reply to: Re: [gentoo-dev] Re: GLEP 42 (Critical news reporting) updates by Ciaran McCreesh
1 For reference, I'm quoting this snippet from earlier in the thread:
2
3 Jason Stubbs wrote:
4 > On Sunday 11 December 2005 10:35, Ciaran McCreesh wrote:
5 >>.. Note:: Future changes to Portage involving support for multiple
6 >>repositories may require one news list per repository. Assuming
7 >>repositories have some kind of unique identifier, this file could be named
8 >>``news-repoid.unread``.
9 >
10 >
11 > Repositories will definitely have a unique identifier. Perhaps it would be
12 > better to use the repository-identifing format from the beginning so that
13 > readers are forced to be forwards-compatible? Assuming the readers would then
14 > output the repository name, labeling it "gentoo" should work well...
15 >
16
17 [...]
18
19 Ciaran McCreesh wrote:
20 > On Wed, 14 Dec 2005 09:11:51 +0900 Jason Stubbs <jstubbs@g.o>
21 > wrote:
22 > | newsdir="$(portageq envvar PORTDIR)/metadata/news"
23 > | newsdir="$(portageq newsdir gentoo)"
24 > |
25 > | Both have one level of indirection. The first has two hard coded
26 > | elements. The first has one. Where is the massive over-indirection?
27 > |
28 > | The second allows future changes. The first does not. Where does the
29 > | specification come into it? All that would be needed is to allow a
30 > | user a method to name overlays and it'd be useful straight off the
31 > | bat.
32 >
33 > The former relies upon existing, widely used functionality together
34 > with a well-defined path. The latter has some magic hard-coded name
35 > voodoo (what's a 'gentoo'?) and is still stuck only supporting a single
36 > location.
37 >
38
39 Apparently, 'gentoo' is meant to be the identifier for the official gentoo repository (portage tree). It corresponds to 'magic-chicken' below.
40
41 Ciaran McCreesh wrote:
42 >
43 > Whenever relevant unread news items are found, the package manager will create a
44 > file named ``/var/lib/gentoo/news/news-magic-chicken.unread`` (if it does not
45 > already exist) and append the news item identifier (eg
46 > ``2005-11-01-yoursql-updates``) on a new line.
47
48 Zac
49 --
50 gentoo-dev@g.o mailing list