From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OQ6nT-0003Ei-MA for garchives@archives.gentoo.org; Sat, 19 Jun 2010 22:45:55 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7287E06B7; Sat, 19 Jun 2010 22:45:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id AB2EAE06B7 for ; Sat, 19 Jun 2010 22:45:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 4CBBC1B4058; Sat, 19 Jun 2010 22:45:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.305 X-Spam-Level: X-Spam-Status: No, score=-2.305 required=5.5 tests=[AWL=0.294, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tt65JfB+Calg; Sat, 19 Jun 2010 22:45:41 +0000 (UTC) Received: from mail-px0-f177.google.com (mail-px0-f177.google.com [209.85.212.177]) by smtp.gentoo.org (Postfix) with ESMTP id 7F24D1B40D4; Sat, 19 Jun 2010 22:45:41 +0000 (UTC) Received: by pxi11 with SMTP id 11so734558pxi.36 for ; Sat, 19 Jun 2010 15:45:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc :subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=OuSXyTirYO+Eboyr7aC6DGJAxRUH2prGUtJOARKUvb8=; b=kbBzqGzj5zuOLwT8l8dGEBseB5GqmIN3ZGNt/svgM90P4FSxjqgPeoON7zq6CSMiDa OX80c2kUZA0BMGErwOn7Sfxeq0pTIa5rOiZy3UCKxba//9L+Jneyzly0mUj1cMdfdq1A CxRmbGjFfLlH1OCiRFztTEKMzzOlnSxVnmx1E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=BFda8/wlDfYxYMihqJLQuQhj9Z0DZvX1mx7K2NwCDkYGZyMZUKkueKAV9yBcZk4c0j VWve1eQGXF2ALnO45tY0iUkpnDHJjHOZtghndQebDyLPlB78p8iLrB0E1xG95cvsiW5V yMvp9PnIBgwNxta6g5UtcbaziVApWvhOKLdLg= Received: by 10.140.58.2 with SMTP id g2mr2353812rva.172.1276987541231; Sat, 19 Jun 2010 15:45:41 -0700 (PDT) Received: from smtp.gmail.com (c-67-171-128-62.hsd1.wa.comcast.net [67.171.128.62]) by mx.google.com with ESMTPS id t1sm1297999rvl.21.2010.06.19.15.45.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 19 Jun 2010 15:45:40 -0700 (PDT) Received: by smtp.gmail.com (sSMTP sendmail emulation); Sat, 19 Jun 2010 15:43:42 -0700 Date: Sat, 19 Jun 2010 15:43:42 -0700 From: Brian Harring To: Ciaran McCreesh Cc: gentoo-soc@lists.gentoo.org, zmedico@gentoo.org Subject: Re: [gentoo-soc] Multiple Repository Support in Portage - Week 3 Message-ID: <20100619224342.GL12490@hrair> References: <1276639916.2991.64.camel@big_daddy.dol-sen.ca> <20100619034854.GH12490@hrair> <20100619120615.24f9c07e@snowcone> <20100619201821.GK12490@hrair> <20100619223730.70f732b0@snowcone> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-soc@lists.gentoo.org Reply-to: gentoo-soc@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCF9ydJxlAJsfRTu" Content-Disposition: inline In-Reply-To: <20100619223730.70f732b0@snowcone> User-Agent: Mutt/1.5.20 (2009-06-14) X-Archives-Salt: 82cd8ffb-07a6-4687-9560-89b0f0cdbac0 X-Archives-Hash: 59a668ef54f19d96c4cefa35404500b2 --FCF9ydJxlAJsfRTu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 19, 2010 at 10:37:30PM +0100, Ciaran McCreesh wrote: > On Sat, 19 Jun 2010 13:18:21 -0700 > Brian Harring wrote: > > From pkgcore's view, the 1st ':' is required- if there is no slot > > dep, leave it empty. The second demarks the start of a repository > > dep. >=20 > I prefer the "always ::" form, simply because it's easier to go "if > repo, then add ::repo" than it is to go "if repo, then add :repo, but > also stick another : in there if we've not done a slot". What a repo > dep looks like shouldn't change based upon whether there's also a slot > dep there. Arguable, but I'll convert pkgcore to the paludis syntax. Next=20 release will have it. > > @, or some other char that is explicitly disallow seems a better=20 > > choice. >=20 > The rationale behind -> is that it reads clearly. ::from->to reads like > what it does. Experience has shown that users do need and make use of > both forms (although unfortunately they're less inclined to appreciate > the difference between ::installed and ::/ ), so it's best to pick > something they can eventually understand. @ carries a similar meaning however; give me=20 pkg::src_repo@target_repo . Reads a bit better imo (I want pkg from=20 src_repo that is in target_repo), and also isn't composed of valid=20 repository name chars. Other's opinions on that one would be useful. > On a semi-related note: real world experience has also shown that every > time we've thought about using ::repo deps of any kind in a repository > rather than a user context, it's been the wrong thing to do, and the > right thing to do is almost always [feature(-)]. Block it at the repo policy level, rather than at the ebuild level-=20 you get the same end result, but leave open a door for people who=20 fall outside your usecases. ~harring --FCF9ydJxlAJsfRTu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iEYEARECAAYFAkwdSB4ACgkQsiLx3HvNzgcGhQCfTuISyqgIaFS5Dh8CiE6Em1xS ZZEAn3nV50BzT3eJo7yXBQUuU0XYIcMT =3IGF -----END PGP SIGNATURE----- --FCF9ydJxlAJsfRTu--