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 1OR38G-0005oT-Hc for garchives@archives.gentoo.org; Tue, 22 Jun 2010 13:03:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 96CE6E09BC; Tue, 22 Jun 2010 13:03:08 +0000 (UTC) Received: from mail-gw0-f53.google.com (mail-gw0-f53.google.com [74.125.83.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 7D5A8E09D6 for ; Tue, 22 Jun 2010 13:03:08 +0000 (UTC) Received: by gwj18 with SMTP id 18so1612151gwj.40 for ; Tue, 22 Jun 2010 06:03:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=uc9nR8NW5ifrQYcxKypnz6FJFNNd0YefgcAfT0keddM=; b=ADy3muSuiVc+OX0fj/uhvNyfimw1aAAUiZdqG6SDf7itvGX1SXc07zd46cGAiILfQU nxoKiSo4siwURb+HHrWps50d1jvoeNuBDPw9789jICaxKCmoZbJh3ivExb8BPWbqcaIe FpC/KzJM8+4SqK3s2MuHLef3kItj40zC6zkpE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=Hv95vkFqoN2dS6l+am1JUsl6ISXNHGjsCxXM/BRAlivR67Tr8xvt/01AQ7NeJf5Dk9 yTJ8h6zvbqDXGij3kUzN1ctd+v0ajtzXkMhQJr6x+3X1+jKKhSM5F5+TUYGHX5oYduIP crIpP1FyuzZ2qIpTdZvaQYajHeSchdXf1MGh8= Received: by 10.229.222.139 with SMTP id ig11mr3214013qcb.176.1277211788039; Tue, 22 Jun 2010 06:03:08 -0700 (PDT) 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 Received: by 10.229.214.74 with HTTP; Tue, 22 Jun 2010 06:01:15 -0700 (PDT) In-Reply-To: <20100619201821.GK12490@hrair> References: <1276639916.2991.64.camel@big_daddy.dol-sen.ca> <20100619034854.GH12490@hrair> <20100619120615.24f9c07e@snowcone> <20100619201821.GK12490@hrair> From: =?ISO-8859-1?Q?Ot=E1vio_Pontes?= Date: Tue, 22 Jun 2010 10:01:15 -0300 Message-ID: Subject: Re: [gentoo-soc] Multiple Repository Support in Portage - Week 3 To: gentoo-soc@lists.gentoo.org Cc: Ciaran McCreesh , zmedico@gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: cf9a229e-cdb0-4532-9ab2-68c5d34d406e X-Archives-Hash: c4755080e0944a9ff4fa8352bd5622ff On Sat, Jun 19, 2010 at 17:18, Brian Harring wrote: > On Sat, Jun 19, 2010 at 12:06:15PM +0100, Ciaran McCreesh wrote: >> I'm not subscribed to the SOC list, so if this doesn't make it through, >> please repost... >> >> On Fri, 18 Jun 2010 20:48:54 -0700 >> Brian Harring wrote: >> > On Wed, Jun 16, 2010 at 05:47:42PM +0200, Auke Booij wrote: >> > > 2010/6/16 Ot=E1vio Pontes : >> > > > I couldn't find in paludis documentation (nor in pkgcore) where >> > > > should go repository name when using useflags to emerge a package. >> >> http://paludis.pioto.org/configuration/specs.html is what Paludis >> supports for user specs. >> >> > As for syntax, it's cat/pkg:slotting-if-any:repo[flag-bits] >> > >> > So for specifying a slot and a repo, and disabling build, >> > sys-apps/portage:0:gentoo[-build] >> > >> > If you don't care about the slot, you leave it empty- >> > sys-apps/portage::gentoo[-build] >> > >> > CC'ing ciaran either way- in testing paludis 0.46, >> > sys-apps/portage:0:gentoo isn't flying... (the use ordering however >> > does). >> >> ::gentoo not :gentoo (and only in contexts where it's a 'user' dep >> spec, not one covered by an EAPI). > > > Crapola. =A0Didn't notice that paludis requires doubling up there- > specifically, for pkgcore > > sys-apps/portage > sys-apps/portage:0 > sys-apps/portage:0:gentoo > sys-apps/portage::gentoo > sys-apps/portage:0:gentoo[-build] > sys-apps/portage::gentoo[-build] > > From pkgcore's view, the 1st ':' is required- if there is no slot dep, > leave it empty. =A0The second demarks the start of a repository dep. > > For paludis, it's based on consecutive ':' ; so literally the above is > sys-apps/portage > sys-apps/portage:0 > sys-apps/portage:0::gentoo > sys-apps/portage::gentoo > sys-apps/portage:0::gentoo[-build] > sys-apps/portage::gentoo[-build] I am doing exactly this way now. With '::', after slot and before useflags. > > > People's feedback is kind of needed on that one due to the diff. in > syntax... > > >> Also note that that specifically only covers packages that are *in* >> the ::gentoo repository. The package you have installed *from* the >> gentoo repository is ::gentoo->/ or ::gentoo->installed . > > '->' doesn't work very well though; specifically, the '-' is allowed > as part of a repository name. =A0Backtracking parsers can handle that > fine, it's just nonoptimal to have one of the splitter char's be part > of the allowed character set for a name. > > @, or some other char that is explicitly disallow seems a better > choice. > > Comments? > > thanks- > ~harring >