From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AD6C3138247 for ; Thu, 9 Jan 2014 15:27:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83200E0C9F; Thu, 9 Jan 2014 15:26:46 +0000 (UTC) Received: from mail-qa0-f52.google.com (mail-qa0-f52.google.com [209.85.216.52]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8FD61E0C97 for ; Thu, 9 Jan 2014 15:26:45 +0000 (UTC) Received: by mail-qa0-f52.google.com with SMTP id j15so2366889qaq.25 for ; Thu, 09 Jan 2014 07:26:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=HTcixE+YPACigWbluEjMBG79YakD2JCqTSyyLTvb1zk=; b=w/IWWQQ+dpjQTj8fhFp9rZSruu3HVNC4tC47yZkoSPaLQrtMf6d2RvJr1tI/qme6Yn +zCW58s2zAcKu8h56bVOQPX09YBXK4Rh9NeJX0rykke4SpMIXCHSZfGMbi99oWeG/fLS 9CupZ0jtL4DjaZDOBi24XgRyZ9goThPa4q+BsHxr4l3J/Rb10Ye9piditCu5yu3t6Zmt G3FgK2h7Nm/HXhwq2/7dIKL9NTeobw/kWrf5X6g8JAT0COlf3p02WEItmPckXJ3aMPr2 hYZOdgOvRvfSf0ANzizgczZHbKtCknWTNqEAqE9styaVnJx29MpzVe//M4p9sO7DTnv2 V/tA== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.49.72.193 with SMTP id f1mr8769522qev.58.1389281204893; Thu, 09 Jan 2014 07:26:44 -0800 (PST) Received: by 10.96.131.41 with HTTP; Thu, 9 Jan 2014 07:26:44 -0800 (PST) In-Reply-To: References: Date: Thu, 9 Jan 2014 09:26:44 -0600 Message-ID: Subject: Re: [gentoo-dev] Portage Feature Request: making thirdpartymirrors easier to manage From: Ben Kohler To: gentoo-dev@lists.gentoo.org Content-Type: multipart/alternative; boundary=047d7b676af2b5fd0204ef8b3c02 X-Archives-Salt: 1e4c1f53-6bfe-4057-8b37-5a3d503bc1bd X-Archives-Hash: 0a8693e839973f22b28b7d2a26f2599c --047d7b676af2b5fd0204ef8b3c02 Content-Type: text/plain; charset=ISO-8859-1 On Mon, Jan 6, 2014 at 2:20 PM, Robin H. Johnson wrote: > 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. > > I am very excited about this whole idea, this thirdpartymirrors setup badly needs some reworking. To me it makes the most sense to turn thirdpartymirrors into a dir, with a file structure like: thirdpartymirrors/mirror1 thirdpartymirrors/mirror2 thirdpartymirrors/mirror3/ thirdpartymirrors/mirror3/Asia thirdpartymirrors/mirror3/Europe thirdpartymirrors/mirror3/Etc thirdpartymirrors/mirror4 I'm not sure I see much real value in allowing individual profiles to add/remove mirrors from each group, to be honest. Maybe I'm just not thinking of the right scenarios. But I really do believe just the basic changes like splitting the file so each group gets its own file, one server per line, with comments, etc... will be a huge help in using and maintaining these groups. -Ben --047d7b676af2b5fd0204ef8b3c02 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

= On Mon, Jan 6, 2014 at 2:20 PM, Robin H. Johnson <robbat2@gentoo.org&= gt; wrote:
This is a small feature request, but it will require a mod= ification 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 eas= y
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.

I am very excited about this whole idea, t= his thirdpartymirrors setup badly needs some reworking. =A0 To me it makes = the most sense to turn thirdpartymirrors into a dir, with a file structure = like:

thirdpartym= irrors/mirror1
thirdpartymirrors/mirror2
thirdpartymirrors/mirror3/
thirdpartymirrors/mirror3/Asia
th= irdpartymirrors/mirror3/Europe
thirdpartymirrors/mirro= r3/Etc
thirdpartymirrors/mirror4

I'm not sure I see much real value in allowing individual profiles to a= dd/remove mirrors from each group, to be honest. =A0Maybe I'm just not = thinking of the right scenarios. =A0

But I really = do believe just the basic changes like splitting the file so each group get= s its own file, one server per line, with comments, etc... will be a huge h= elp in using and maintaining these groups.

-Ben

--047d7b676af2b5fd0204ef8b3c02--