public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Portage Feature Request: making thirdpartymirrors easier to manage
Date: Tue, 7 Jan 2014 21:12:59 +0000	[thread overview]
Message-ID: <robbat2-20140107T211042-802548765Z@orbis-terrarum.net> (raw)
In-Reply-To: <52CB1B6D.5090800@yahoo.ca>

On Mon, Jan 06, 2014 at 04:09:01PM -0500, Alex Xu wrote:
> > 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.
> 
> So if *any* line doesn't have a prefix, then *everything* gets
> overwritten? What about the prior mirrors listed in the file?
> 
> There needs to be some mechanism for specifying this, but I don't think
> this is it.
> 
> Perhaps a header with a special line?
Suggestions on the format then?

Maybe we have two modes:
1. No prefix, always append
2. Prefix required, one of '+', '-', ' '.

I was also asked by a user to make it possible to adjust the priority of
some mirror URLs, instead of only random choice.

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


  reply	other threads:[~2014-01-07 21:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=robbat2-20140107T211042-802548765Z@orbis-terrarum.net \
    --to=robbat2@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox