[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-portage-dev
Subject: [gentoo-portage-dev] portage.settings.profiles
From: Sebastian Pipping <webmaster () hartwork ! org>
Date: 2009-07-10 22:56:00
Message-ID: 4A57C700.80006 () hartwork ! org
[Download RAW message or body]
Hello!
In my current code for GSoC/Gentoo/Smolt I access the list of folders
that /etc/make.profile and parents are resolved to:
portage.settings.profiles
I do this to be able access
- profile package.mask,
- user package.mask, and
- user package.unmask
independently, which
portage.settings._getMaskAtom
portage.settings._getProfileMaskAtom
seem not be able to at the moment, besides looking quite private :-)
Rationale:
Among other things I want to find out if the user unmasked a certain
package in the past even if the related mask entry for it was removed
in the meantime. Also, I want to be able to distinct between a
a "stable on stable package" and an "unmasked masked package".
What I would like to ask for is we could decide that
portage.settings.profiles is declared part of the public
API and not allow to change anymore
or
if we could introduce some getter for now so I could surround
the current access to <portage.settings.profiles> by a portage
API version check and use the getter from a certain version on.
Integrating my code for portage related code into smolt does not seem
reasonable to me as it would require depending on a version of portage
that will not be stable before 2010 or so.
Please share your thoughts with me.
Sebastian
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic