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 1E694138247 for ; Mon, 6 Jan 2014 21:09:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 532EBE0AC4; Mon, 6 Jan 2014 21:09:08 +0000 (UTC) Received: from nm42-vm10.bullet.mail.bf1.yahoo.com (nm42-vm10.bullet.mail.bf1.yahoo.com [216.109.114.155]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 64A55E09FA for ; Mon, 6 Jan 2014 21:09:06 +0000 (UTC) Received: from [98.139.212.152] by nm42.bullet.mail.bf1.yahoo.com with NNFMP; 06 Jan 2014 21:09:05 -0000 Received: from [98.139.211.163] by tm9.bullet.mail.bf1.yahoo.com with NNFMP; 06 Jan 2014 21:09:05 -0000 Received: from [127.0.0.1] by smtp220.mail.bf1.yahoo.com with NNFMP; 06 Jan 2014 21:09:05 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1389042545; bh=V9Ok/nSRZoUl7cnC2ENRb8XQtzUSuC/A/cJhgj+CRhc=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:X-Enigmail-Version:Content-Type; b=lVkvgsB/jnRc/laZOwDJZR0uC0rctduvxqAC0ylq2EMUs/p0BgelD1iusn/VmM7HXMPqxQz6fzB6i5abuOURQSGOydo4NeEGkKPvmG/TCqEZeHfvPk51f46adIDYdkwPz9S9U79PRebK/nqkvBmYgxpEcBvGRo9Gqu1C1md6RlI= X-Yahoo-Newman-Id: 241132.2280.bm@smtp220.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: XvP4VxgVM1nde5cQFywBB1ZG_dVpMKQupZVzVIhOQPr9kVI UYUT_gqx8vUs.0wFJX2zqtfvHiZmL5z1YZ3eg7PbXlzTzeSIcoqwBCGTHAPL YXrik7i00cD93NIv8_5K5PGqYmXPEIWoBC8YEGmJkmR4V1XFNXeIK80iRS1X W8P2nDF2ThoaDGQ0dOubaxB36t8PnNQDO5QFi3Zvnpu.CFHpUKRozuXndPQu wvTgTF5V9CIClh.IgyDOS0y7krtu7e_zKslOcZIDSFYcznXxH2Kentrab6ez LmStaecLfFPc0T3QMs4m2tbdGptMm4hoGs_Qidi6CaPErdfA1KmhC6FXoScv HWwcBp.dJgrhqH4uSfagUW_7k2fP_jtMuAmiM.bNptvihoMR27CF1seyU9cN UrLISfILgwcXxVfacXEiz_q6xq4DiIe48Z6YYEHaR8pJ.aj5nqOcUM5_fM_9 aAN3YbvE9toP1LQDRFQJ9998h4TS498Ie8js.vG2ToQJFthvkIP32Wagzk4j ovUkvAfV9M7uid3_a X-Yahoo-SMTP: Zybq.GKswBCVR5oJTLrx1T39m2F9FA-- X-Rocket-Received: from [192.168.0.100] (alex_y_xu@99.237.123.103 with plain [98.139.211.125]) by smtp220.mail.bf1.yahoo.com with SMTP; 06 Jan 2014 21:09:05 +0000 UTC Message-ID: <52CB1B6D.5090800@yahoo.ca> Date: Mon, 06 Jan 2014 16:09:01 -0500 From: Alex Xu User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 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 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Portage Feature Request: making thirdpartymirrors easier to manage References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="a0jk71BqhF23rpxBAO8TrlTpKuJ4NeEPk" X-Archives-Salt: 3644da6b-377f-4e4f-a26b-fce014ad8a87 X-Archives-Hash: 71cac2733f5b2caee14b4497d64605d7 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --a0jk71BqhF23rpxBAO8TrlTpKuJ4NeEPk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 06/01/14 03: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. >=20 > 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. >=20 > I would like to make it a directory instead of a single file, and exten= d > the internal syntax. I like the idea, but I'm not too sure about the execution. > 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? > 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. >=20 --a0jk71BqhF23rpxBAO8TrlTpKuJ4NeEPk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJSyxtwAAoJEOFfLQs172iqjsMP/2TfZ3nyDjx2TpJLXXY++hfQ 6nplQ2aupFApGuowClb8gYvebB8urqAsqFqksgmXLsPT0lMOkTpoS1NPdL2CGE4d lOw2XXVdhgri1oBbk6kksZXOVFXy5tvaERCnIJvUhlfXD7C9GXOw/61YgyDFxg7s aINIu5XSUzpVJljb++6r0618WmLo8USdnjXvljU+LzRn9GCcV0DeYhqeEVg+ky9z ziB7YV1ww1N6dqCBveniduSi4GGZ05x63pvMyEH/Yb6PWG4C5RzxuqxybMZfL1nb Wroi0s/lKkP20lhSGLg+IaT+8/d5LVxyGz2NUXr8sROOxQb4S7L1QmpLAk1Pxhw1 pC4L5fN8wV8U9biwRYCbsQWRNsqTWswQCi1AJqPAsODZUKnUAcyDtGSsODaYCmwM cdllWIp3wiCxjNFBaLiNPqBJdmrXwOkovV4ZppNwVGqeu2+kIXbYVQE6YiReIoFP OzHeTNGEm+pP5QnNFbIlQcPsSJwJWZ4K9pE3zL4PedZLRJvWaTDImxfmyC4tkRy5 q+IuTXYIWU/DDEwptHEgZFbTqE/uiYT+onNRc1zH2FppGQlgLvI8Z1K3k0k4ApZ0 bOdRRsQm/HF0W6iOnzZB4ZqshtRbscT1lqVvbJz0mDnsCFibIbi4VTuCoiG8Ruhk rvgAbAu+8xyI5SITklNQ =sC9t -----END PGP SIGNATURE----- --a0jk71BqhF23rpxBAO8TrlTpKuJ4NeEPk--