public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Portage Feature Request: making thirdpartymirrors easier to manage
@ 2014-01-06 20:20 Robin H. Johnson
  2014-01-06 21:09 ` Alex Xu
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Robin H. Johnson @ 2014-01-06 20:20 UTC (permalink / raw
  To: gentoo-dev, gentoo-portage-dev

This is a small feature request, but it will require a modification to
PMS, so I describe it here.

The present thirdpartymirrors file is unwieldy, and difficult to manage
due to it's format with very long lines. It also doesn't permit easy
comments. Presently commits to it look very ugly, because diffs are
line-based, and we pack a lot into each line.

I would like to make it a directory instead of a single file, and extend
the internal syntax.

1. New location: $PROFILEDIR/thirdpartymirrors/$MIRRORNAME
1.1. The name of the mirror is now the name of the file.
1.2. We can have a file extension of .mirrors if somebody would like
     that.

2. New format (for directory-mode):
2.1. Comments permitted, shell-style.
2.2. Blank lines ignored
2.3. One URL per line, optionally prefixed with "-" or "+"
2.4. For stack repos/overlays:
2.4.1. No prefix: replace all prior mirrors from masters with new URLS in this file.
2.4.2. "-" prefix: remove this URL from the list from masters.
2.4.2. "+" prefix: append this URL to the list from masters.

3. New format (for file-mode):
3.1. This is for cases where thirdpartymirrors is still a file.
3.2. The first token on a line remains the name of the mirror.
3.3. Each subsequent token may be prefixed with "+" or "-", and impacts
     prior lines/masters.

-- 
Robin Hugh Johnson
Gentoo Linux: Developer, Infrastructure Lead
E-Mail     : robbat2@gentoo.org
GnuPG FP   : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-01-11 19:20 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-06 20:20 [gentoo-dev] Portage Feature Request: making thirdpartymirrors easier to manage Robin H. Johnson
2014-01-06 21:09 ` Alex Xu
2014-01-07 21:12   ` Robin H. Johnson
2014-01-08 15:11     ` Jeroen Roovers
2014-01-08 18:37       ` Alex Xu
2014-01-09  2:14         ` Jeroen Roovers
2014-01-09  2:23           ` Alec Warner
2014-01-09 15:14         ` Ben Kohler
2014-01-09  7:59 ` "Paweł Hajdan, Jr."
2014-01-09 15:26 ` Ben Kohler
2014-01-10  4:58 ` Michał Górny
2014-01-10  6:05   ` Alec Warner
2014-01-11 18:27     ` Gordon Pettey
2014-01-11 19:16   ` Kent Fredric
2014-01-11 19:19     ` Kent Fredric

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox