aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused imports found by pylint.Arfrever Frehtes Taifersar Arahesis2010-08-291-2/+2
|
* Remove support for the missingos module since apparently nobody has neededZac Medico2010-08-221-9/+5
| | | | it for a long time.
* * Add support for PORTAGE_USERNAME and PORTAGE_GRPNAMEZac Medico2010-07-141-3/+7
| | | | | | | | | | | | environment variables, for use within the chromium-os build environment. * Add PORTAGE_USERNAME and PORTAGE_GRPNAME to the environment whitelist and filter them from the saved environment. Note: In order to support PORTAGE_USERNAME and PORTAGE_GRPNAME settings in make.conf, the associated portage.data attributes may be relocated to the config class in the future.
* Revert formatting so chromioumos-overlay won't have to rebaseZac Medico2010-04-271-2/+2
| | | | set_portage_username-2.1.6.13.patch.
* Make spawning of `id -G portage` happen lazily when userpriv_groups is firstZac Medico2010-04-101-17/+22
| | | | accessed.
* Remove PORTAGE_USERNAME and PORTAGE_GROUPNAME support for now since antarusZac Medico2010-04-061-4/+3
| | | | says he wants it to work via make.conf, requiring redesign.
* Use PORTAGE_USERNAME when populating userpriv_groups.Zac Medico2010-03-251-1/+1
|
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Add support for PORTAGE_USERNAME and PORTAGE_GROUPNAME environmentZac Medico2010-03-231-2/+3
| | | | | variables. Thanks to Alec Warner <antarus@g.o> for submitting the initial PORTAGE_USERNAME patch from chromiumos-overlay.
* Fix conditional logic for userpriv_groups intialization.Zac Medico2010-01-301-19/+20
| | | | svn path=/main/trunk/; revision=15279
* Define userpriv_groups earlier in order to avoid an AttributeError fromZac Medico2010-01-291-0/+1
| | | | | | lazy import code. Thanks to antarus for reporting. svn path=/main/trunk/; revision=15277
* Update system imports for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-1/+4
| | | | svn path=/main/trunk/; revision=14294
* Prepare 308 messages to localization.Arfrever Frehtes Taifersar Arahesis2009-08-151-7/+8
| | | | svn path=/main/trunk/; revision=14067
* Use a single sys.hexversion conditional for both _unicode_func_wrapper()Zac Medico2009-08-121-2/+1
| | | | | | and _unicode_module_wrapper(). svn path=/main/trunk/; revision=14008
* Wrap portage.data.lchown() for unicode support in python-2.x.Zac Medico2009-08-111-0/+3
| | | | svn path=/main/trunk/; revision=14001
* Use lazyimport to avoid importing the dep, output, update, and versionsZac Medico2009-02-221-5/+2
| | | | | | modules when portage is initially imported. svn path=/main/trunk/; revision=12681
* Use lazyimport to avoid importing the checksum, locks, and util modulesZac Medico2009-02-221-2/+7
| | | | | | when portage is initially imported. svn path=/main/trunk/; revision=12680
* Bug #253563 - Replace hardcoded green/red color strings with GOOD/BAD. ThanksZac Medico2009-01-091-13/+13
| | | | | | to Vsevolod Kozlov <sevakda@gmail.com> for the initial patch. svn path=/main/trunk/; revision=12401
* Use "platform" module instead of os.uname, or -- even worse -- a systemZac Medico2008-06-041-2/+2
| | | | | | | | | call to uname. Change repoman's identification string not to use "processor" on Linux (where it is huge), Interix (where it doesn't exist) and AIX/HP-UX (where it prints "unknown"), but "machine" instead. (branches/prefix r10554) svn path=/main/trunk/; revision=10574
* As suggested by grobian, treat Darwin just like USERLAND=gnuZac Medico2007-12-291-3/+1
| | | | | | since they seem to be switching commands to gnu anyway. svn path=/main/trunk/; revision=9118
* Fix broken Darwin USERLAND detection.Zac Medico2007-12-291-1/+3
| | | | svn path=/main/trunk/; revision=9116
* Add back support for silent definition of the dummy lchown()Zac Medico2007-12-291-0/+4
| | | | | | function when ostype == Darwin. svn path=/main/trunk/; revision=9101
* Simplify the userland detection code in portage.data and addZac Medico2007-12-291-10/+5
| | | | | | a bash version of it to isolated-functions.sh. svn path=/main/trunk/; revision=9100
* Remove redundant lchown() compatibility code since theZac Medico2007-12-291-6/+0
| | | | | | getattr(os, "lchown", None) call already handles it. svn path=/main/trunk/; revision=9099
* Move XARGS initialization from portage.data to isolated-functions.sh.Zac Medico2007-12-291-3/+0
| | | | svn path=/main/trunk/; revision=9096
* Bug #121584 - Make the automatic USERLAND detection code recognizeZac Medico2007-12-291-1/+3
| | | | | | GNU/kFreeBSD. svn path=/main/trunk/; revision=9087
* Remove fallback imports for set(), and note minimum requirement of python-2.4Marius Mauch2007-07-051-3/+0
| | | | svn path=/main/trunk/; revision=7157
* Remove old wheel group warnings since portage stopped using this group long ago.Zac Medico2007-06-301-4/+0
| | | | svn path=/main/trunk/; revision=7099
* Provide a default value to the getattr call.Zac Medico2007-04-051-1/+1
| | | | svn path=/main/trunk/; revision=6344
* Make sure XARGS has a default value.Zac Medico2007-04-051-0/+1
| | | | svn path=/main/trunk/; revision=6343
* Don't force OS detection in the portage.data module.Zac Medico2007-04-051-4/+2
| | | | svn path=/main/trunk/; revision=6342
* Don't set os.environ["USERLAND"] inside portage.data and rely on USERLAND ↵Zac Medico2007-04-051-2/+0
| | | | | | from the profile instead (bail out if necessary when USERLAND is unset). svn path=/main/trunk/; revision=6341
* Add missing sys import.Zac Medico2007-03-031-1/+1
| | | | svn path=/main/trunk/; revision=6146
* Namespace sanitizing, step 3Marius Mauch2007-01-251-3/+3
| | | | svn path=/main/trunk/; revision=5782
* Namespace sanitizing, step 2Marius Mauch2007-01-251-2/+2
| | | | | | | Rename portage.exec to portage.process to avoid syntax errors svn path=/main/trunk/; revision=5780
* Namespace sanitizing, step 1Marius Mauch2007-01-251-0/+126
svn path=/main/trunk/; revision=5778