FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Alt

 
 
LinkBack Thread Tools
 
Old 10-01-2011, 05:34 PM
Zac Medico
 
Default RFC: changing sys-apps/portage python API to use $EROOT instead of $ROOT for keys to portage.db and similar map objects

Hi,

As I integrate prefix support into mainline portage, I think it will
make more sense to use $EROOT instead of $ROOT for keys to portage.db
and similar map objects. This will also affect the portageq commands
which take a <root> parameter. The reason that I think $EROOT makes more
sense for these keys is that it will allow for multiple prefixes to
exist simultaneously in maps like portage.db.

This won't affect non-prefix users, since $EROOT == $ROOT when $EPREFIX
is empty. So, I'm asking here because if might affect prefix users who
use portageq, or any programs installed in a prefix that use the
sys-apps/portage python API. If necessary, I suppose that python
programs could have some compatibility code which checks whether or no
$EROOT is contained in portage.db, and fall back to "/" otherwise.
--
Thanks,
Zac
 

Thread Tools




All times are GMT. The time now is 07:10 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org