Gentoo Archives: gentoo-dev

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Cleaning up integration of external repos into ::gentoo
Date: Thu, 13 Aug 2015 09:26:42
Message-Id: 20150813122627.5dc34cec6a0a281665ee4b52@gentoo.org
In Reply to: [gentoo-dev] Cleaning up integration of external repos into ::gentoo by "Michał Górny"
1 On Thu, 13 Aug 2015 09:12:30 +0200 Michał Górny wrote:
2 > Hi,
3 >
4 > Now that we have the official git repository, I've switched user-facing
5 > git mirrors from rsync->git to the real git. As a result, users are now
6 > complaining that some random Gentoo metadata has disappeared.
7 >
8 > As you may have noticed already, I am *really* unhappy about adding
9 > special conditionals with hardcoded URLs (and ugly mixing stuff) for
10 > Gentoo. So if you really don't want to put the stuff into the repo,
11 > please at least:
12
13 IMO the best way will be to put mandatory stuff in the
14 repo/gentoo.git.
15
16 > 1. Move DTDs to a git repository (seriously, I don't want to have to
17 > touch CVS).
18 >
19 > 2. Strip the year from gentoo-news [1]. I think we have all
20 > the agreement to proceed there. I will prepare a GLEP update today,
21 > and if given OK, I can update the repo, and the scripts.
22 >
23 > 3. Provide a machine-readable description where those files/directories
24 > come from. Not sure how that should look but how about something along
25 > the lines of repos.conf:
26 >
27 > metadata/external-repos.conf::
28 >
29 > [gentoo-news]
30 > location = metadata/news
31 > sync-type = git
32 > sync-uri = https://anongit.gentoo.org/proj/gentoo-news.git
33 >
34 > [herds]
35 > location = metadata/herds.xml
36 > # or do we want to use git here?
37 > sync-type = http
38 > sync-uri = https://api.gentoo.org/packages/herds.xml
39 >
40 > Comments?
41 >
42 > [1]:https://bugs.gentoo.org/show_bug.cgi?id=523828
43 >
44
45
46 Best regards,
47 Andrew Savchenko

Replies