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 1OOtjy-0006Pi-TD for garchives@archives.gentoo.org; Wed, 16 Jun 2010 14:37:19 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55496E0999; Wed, 16 Jun 2010 14:37:10 +0000 (UTC) Received: from mail-gy0-f181.google.com (mail-gy0-f181.google.com [209.85.160.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 3887FE0999 for ; Wed, 16 Jun 2010 14:37:10 +0000 (UTC) Received: by gya1 with SMTP id 1so4157976gya.40 for ; Wed, 16 Jun 2010 07:37:10 -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:content-type :content-transfer-encoding; bh=juMuwGikxG+LwLbluA88SJ6c3qYU8BeIWVniMLR+ZWE=; b=LOAWsnyaot9FYPtGoNwEpHPcGnRd+LvCis7u/7bIvvjitYqChEl74r1QDpM/+f6630 l4u/4elH4rWWosJSCcgsDwgqW7ThF3xv3FaAjgQN29stmZ6QNXJAOBxzvTzic6KfN7Mc Lu5ux+4CaLRu6x5B2nqGVoA7shcs73KZjNfGk= 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 :content-type:content-transfer-encoding; b=WuW9ZzEE2oAuJ946HTTKF79NL50zNoSwQ7X1UkZPGh/OSMIiCfhByxAJ9A9cBE8enM 6sOrJ8keFONFILVbuuI64OPlBH5yJLMuseP7Km8xVcp5kXxOFDWoj14UWvQ3UKPLuf2o JNDw9jb9D/21RoFolP8FpMFM6nbNFStQDtFuA= Received: by 10.229.238.14 with SMTP id kq14mr3931775qcb.298.1276699029559; Wed, 16 Jun 2010 07:37:09 -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; Wed, 16 Jun 2010 07:36:43 -0700 (PDT) In-Reply-To: References: <1276639916.2991.64.camel@big_daddy.dol-sen.ca> From: =?ISO-8859-1?Q?Ot=E1vio_Pontes?= Date: Wed, 16 Jun 2010 11:36:43 -0300 Message-ID: Subject: Re: [gentoo-soc] Multiple Repository Support in Portage - Week 3 To: gentoo-soc@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 1d3cd490-6b76-4dd6-8b65-ce221915b225 X-Archives-Hash: 2b754e5a91fa7ca48ed166df4b145b9a I couldn't find in paludis documentation (nor in pkgcore) where should go repository name when using useflags to emerge a package. In current Portage you can use the Atom category/package-version:slot[useflags]. Should i place repository name after or before useflags? How is done in paludis pkgcore? category/package-version:slot[useflags]::repo_name or category/package-version:slot::repo_name[useflags]? Thanks, Ot=E1vio Pontes 2010/6/15 Ot=E1vio Pontes : > On Tue, Jun 15, 2010 at 19:11, Brian Dolbec wrot= e: >> On Tue, 2010-06-15 at 19:42 +0200, Auke Booij wrote: >>> Paludis actually puts the repository name after the package, for >>> example app-portage/eix::gentoo. Is there any specific reason you >>> decided to do it your way? I don't know how pkgcore does this, btw, >>> just interested to hear your reasoning. > > There isn't a specific reason i did this way. Actually, i have read > the Paludis docs and copied the '::' from they. But i misunderstood. > I will change it to fit the paludis and pkgcore way. > Thanks for the hint. > > Ot=E1vio Pontes > >>> >>> tulcod. >> >> >> Yes pkgcore is the same repo syntax as paludis. =A0So why mess with a >> standard the other 2 package mangers have had for a few years already? >> It'll be confusing as hell for users trying to figure out and keep >> straight between PM's and forum postings saying one way, then another. >> Also for someone like me coding a gui frontend it means having 2 >> different code blocks to do the same thing, one for each syntax style :( >> >>> >>> 2010/6/15 Ot=E1vio Pontes : >>> > Hi, >>> > Last week i was working with adding to portage support for emerging >>> > packages from one specific repository. >>> > Atom class was modified to support a new field, with repository name. >>> > Now before package category it is possible to add a repository name >>> > followed by '::'. >>> > So emerge gentoo::app-portage/eix is the eix from repository gentoo. >>> > Atom class is already working, but emerge is still ignoring this >>> > repository name. >>> > It was also necessary to change other places in portage because slot >>> > separator is ':' and portage was getting confused when atom has '::'. >>> > This week work will be to use this atom information in portdbapi and >>> > in the dependency resolver to use ebuilds from the specified >>> > repository. >>> > >>> > Ot=E1vio >>> > >>> > >>> >> >> >> -- >> Brian Dolbec >> >