Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-osx
Navigation:
Lists: gentoo-osx: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-osx@g.o
From: Brian Harring <ferringb@g.o>
Subject: Re: Re: [RFC] Separate alt-prefix repo for base-system packages.
Date: Tue, 30 Aug 2005 18:13:37 -0500
On Wed, Aug 31, 2005 at 01:32:04AM +1000, Finn Thain wrote:
> > > > Reasoning is, how do you know that pkg xyz is actually the package 
> > > > you're after?
> > Re-inserted the quote to clarify what I'm talking about; mapping another 
> > pkg managers db into our own requires either a lot of human 
> > intervention, or some dodgy rules that somewhat manage it, with bugs.
> 
> OK, I see what you mean. You're asking, how does portage know that vendor 
> package xyz is the portage package abc?
> 
> Short answer is package.mask, meta-packages and name mapping.
> 
> A particular vendor package version is a known-good dep, as tested by 
> devs, otherwise it is masked. E.g. package.mask says
> >vendor-sun/app-arch/cpio-x.y.z if no higher version has been tested. In
> mac os, automated updates mean that most of the time, there will be some 
> vendor packages that the tree hasn't been tested against. These have to be 
> masked until the user does emerge sync.

Alright, so I'm just being a tool 'coz I thought you were talking 
about dynamic mapping (vs dev managed mappings).  Nevermind me :)

> BTW, do repos share a namespace? Presented with the same cpv in several 
> repos, is portage's behaviour defined yet?
repo's have their own *total* namespace now; an overlay + repo is 
different though since an overlay is slaved to a repo.

<=2.1 basically lacks any true support for N repos; you can have a 
portdir(+overlays), a vdb, and a bintree.  Rewrite has no such 
restriction built into it.

> My feeling is that the burden of managing the mappings is better than the 
> burden of managing one package.provided for mac os 10.3, alongside another 
> for 10.4, etc. (If I'm wrong about that, then this exercise is pointless.)
Actually, I agree; it's cleaner then just autoassuming stuff is there.

> Did I read something about the rewrite being modular? Could the shim/query 
> take the form of a portage plugin that implements the query-apple-packages 
> feature? Obviously, if implemented the way I descibed above, it would need 
> to be intimate with certain ebuilds' environments.

Well, considering I'm seriously considering when/if rewrite is 
released, it's released as two packages; portage-core, and 
portage-ebuild... yes.  Very modular.

There pretty much is one point of required entry into the code; 
getting the config obj- from there it loads the code it needs, 
instantiating objects on the fly.  Aside from the entry point/config 
obj, everything else is intended to be configurable.

~harring
Attachment:
pgpWHXCIcoQS8.pgp (PGP signature)
Replies:
Re: Re: [RFC] Separate alt-prefix repo for base-system packages.
-- Finn Thain
References:
Re: [RFC] Separate alt-prefix repo for base-system packages.
-- Grobian
Re: [RFC] Separate alt-prefix repo for base-system packages.
-- Finn Thain
Re: Re: [RFC] Separate alt-prefix repo for base-system packages.
-- Kito
Re: Re: [RFC] Separate alt-prefix repo for base-system packages.
-- Finn Thain
Re: Re: [RFC] Separate alt-prefix repo for base-system packages.
-- Brian Harring
Re: Re: [RFC] Separate alt-prefix repo for base-system packages.
-- Finn Thain
Re: Re: [RFC] Separate alt-prefix repo for base-system packages.
-- Brian Harring
Re: Re: [RFC] Separate alt-prefix repo for base-system packages.
-- Finn Thain
Navigation:
Lists: gentoo-osx: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: [RFC] Separate alt-prefix repo for base-system packages.
Next by thread:
Re: Re: [RFC] Separate alt-prefix repo for base-system packages.
Previous by date:
Re: Re: [RFC] Separate alt-prefix repo for base-system packages.
Next by date:
Re: Re: [RFC] Separate alt-prefix repo for base-system packages.


Updated Jun 17, 2009

Summary: Archive of the gentoo-osx mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.