Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-soc
Navigation:
Lists: gentoo-soc: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-soc@g.o
From: Fabian Groffen <grobian@g.o>
Subject: Re: Re: Universal select tool: I'm a bit curious
Date: Thu, 2 Apr 2009 11:32:52 +0200
On 30-03-2009 18:43:14 +0100, mephx wrote:
> Besides re-writing eselect in plain C the new implementation would be
> as follows:

I don't think C is a necessity (even though it has my preference), and
might interfere with some requirements, as Donnie already pointed out.

> Every ebuild with SLOT != 0 would create it's own "module" in a
> per-system DB (similar to /var/db) allowing the module listing and
> switching easy. This implies some coding on portage and a few parameter
> tweaking on each "modulable" ebuild.
> The "module" creation would be automatic and therefore created upon a
> successful emerge.
> Another per-user DB would be maintained and read upon each login for
> environment switching (adding a few lines on /etc/bash.rc or similar).
> The per-user DB would also allow various profiles per user and fast
> switching between them.

In this approach, would it be possible to just use the (existing) vdb?
Tools like portage-utils show that you can search through its contents
quickly enough not to even require an index actually.  And if the
package manager is involved anyway, it can simply write those extra bits
you need in the vdb as well, as separate entries.

Big question would be, what.  Like, how would a thing like gcc-config or
binutils-config be implemented like that.  How would be the management
of different versions of the scripts that handle the actual switching
and stuff.


-- 
Fabian Groffen
Gentoo on a different level


Replies:
Re: Re: Universal select tool: I'm a bit curious
-- Sérgio Almeida
References:
Universal select tool: I'm a bit curious
-- Fredrik Klasson
Re: Universal select tool: I'm a bit curious
-- Sébastien Fabbro
Re: Universal select tool: I'm a bit curious
-- Fabian Groffen
Re: Universal select tool: I'm a bit curious
-- mephx
Navigation:
Lists: gentoo-soc: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: Universal select tool: I'm a bit curious
Next by thread:
Re: Re: Universal select tool: I'm a bit curious
Previous by date:
Re: Some experiments on Fast Boot
Next by date:
Re: About "Create and release a Gentoo stats server/client"


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.