Gentoo Archives: gentoo-soc

From: "Otávio Pontes" <otaviobp@×××××.com>
To: gentoo-soc@l.g.o
Subject: Re: [gentoo-soc] Multiple Repository Support in Portage - Week 3
Date: Wed, 16 Jun 2010 14:37:19
Message-Id: AANLkTikcHgfq131J_Q3hvP3Us_Jw7hDM1Dj-ZzoYHdis@mail.gmail.com
In Reply to: Re: [gentoo-soc] Multiple Repository Support in Portage - Week 3 by "Otávio Pontes"
1 I couldn't find in paludis documentation (nor in pkgcore) where should
2 go repository name when using useflags to emerge a package. In current
3 Portage you can use the Atom category/package-version:slot[useflags].
4 Should i place repository name after or before useflags? How is done
5 in paludis pkgcore? category/package-version:slot[useflags]::repo_name
6 or category/package-version:slot::repo_name[useflags]?
7
8 Thanks,
9 Otávio Pontes
10
11 2010/6/15 Otávio Pontes <otaviobp@×××××.com>:
12 > On Tue, Jun 15, 2010 at 19:11, Brian Dolbec <brian.dolbec@×××××.com> wrote:
13 >> On Tue, 2010-06-15 at 19:42 +0200, Auke Booij wrote:
14 >>> Paludis actually puts the repository name after the package, for
15 >>> example app-portage/eix::gentoo. Is there any specific reason you
16 >>> decided to do it your way? I don't know how pkgcore does this, btw,
17 >>> just interested to hear your reasoning.
18 >
19 > There isn't a specific reason i did this way. Actually, i have read
20 > the Paludis docs and copied the '::' from they. But i misunderstood.
21 > I will change it to fit the paludis and pkgcore way.
22 > Thanks for the hint.
23 >
24 > Otávio Pontes
25 >
26 >>>
27 >>> tulcod.
28 >>
29 >>
30 >> Yes pkgcore is the same repo syntax as paludis.  So why mess with a
31 >> standard the other 2 package mangers have had for a few years already?
32 >> It'll be confusing as hell for users trying to figure out and keep
33 >> straight between PM's and forum postings saying one way, then another.
34 >> Also for someone like me coding a gui frontend it means having 2
35 >> different code blocks to do the same thing, one for each syntax style :(
36 >>
37 >>>
38 >>> 2010/6/15 Otávio Pontes <otaviobp@×××××.com>:
39 >>> > Hi,
40 >>> > Last week i was working with adding to portage support for emerging
41 >>> > packages from one specific repository.
42 >>> > Atom class was modified to support a new field, with repository name.
43 >>> > Now before package category it is possible to add a repository name
44 >>> > followed by '::'.
45 >>> > So emerge gentoo::app-portage/eix is the eix from repository gentoo.
46 >>> > Atom class is already working, but emerge is still ignoring this
47 >>> > repository name.
48 >>> > It was also necessary to change other places in portage because slot
49 >>> > separator is ':' and portage was getting confused when atom has '::'.
50 >>> > This week work will be to use this atom information in portdbapi and
51 >>> > in the dependency resolver to use ebuilds from the specified
52 >>> > repository.
53 >>> >
54 >>> > Otávio
55 >>> >
56 >>> >
57 >>>
58 >>
59 >>
60 >> --
61 >> Brian Dolbec <brian.dolbec@×××××.com>
62 >>
63 >

Replies