public inbox for gentoo-soc@lists.gentoo.org
 help / color / mirror / Atom feed
From: Brian Harring <ferringb@gmail.com>
To: Otttvio Pontes <otaviobp@gmail.com>
Cc: gentoo-soc@lists.gentoo.org
Subject: Re: [gentoo-soc] Multiple Repository Support in Portage - Report
Date: Tue, 27 Jul 2010 18:49:33 -0700	[thread overview]
Message-ID: <20100728014933.GB31924@hrair> (raw)
In-Reply-To: <AANLkTikaaaq4h5+mB=OeKa4eG-zoTf8Tc2otWNNhFNr5@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1768 bytes --]

On Tue, Jul 27, 2010 at 12:56:44PM -0300, Otttvio Pontes wrote:
>    Hi,
> 
>    I have been some time without reporting my work at this mailing list
>    and i will send my report for the last weeks.
> 
>    When i sent my last e-mail I was working on emerging a package from one
>    specific repository using emerge package::repository syntax. It is now
>    working. It's possible to use the ::repository syntax in emerge command
>    line, ebuild dependencies and when masking/unmasking/setting use flags
>    in /etc/portage/package.*.

Just verifying- if you have repository configuration equivalent to the 
following

overlay stacking:
	master: /usr/portage: repo id gentoo
		has dev-util/diffball-1.0
        slave:  /usr/local/overlay1: repo id local1
		has dev-util/diffball-1.0
		has dev-util/bsdiff-1.1
	slave:  /usr/local/overlay2: repo id local2
		has dev-util/bsdiff-1.1

generated from a make.conf being
PORTDIR=/usr/portage
PORTDIR_OVERLAY="/usr/local/overlay1 /usr/local/overlay2"

For such a setup, =dev-util/diffball-1.0 is only visible from the 
local1 repo- specifically, emerge =dev-util/diffball-1.0::gentoo will 
not find the package, emerge =dev-util/diffball-1.0::local1 however 
will.

Further, =dev-util/bsdiff-1.1::local2 will match, but 
dev-util/bsdiff-1.1::local1 will not.

The reason I ask is that an overlay literally stacks repositories, 
slaves shadowing the master.  If you do an emerge 
=dev-util/diffball-1.0 for the configuration above, you get local1's 
ebuild, not gentoo's.  Repository atom's should not be able to bypass 
this- namely it violates the very nature of repository stacking.

So... what's the status of multirepo support's repository atom's for 
this case?
~brian

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2010-07-28  1:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-27 15:56 [gentoo-soc] Multiple Repository Support in Portage - Report Otávio Pontes
2010-07-28  1:49 ` Brian Harring [this message]
2010-07-29 19:26   ` Otávio Pontes
2010-07-30  4:03     ` Brian Harring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100728014933.GB31924@hrair \
    --to=ferringb@gmail.com \
    --cc=gentoo-soc@lists.gentoo.org \
    --cc=otaviobp@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox