summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Remove all usage of the portage.root global from portage.py.Zac Medico2006-04-291-4/+4
| | | | svn path=/main/trunk/; revision=3274
* Add a portage.config.selinux_enabled() accessor and use it to remove all ↵Zac Medico2006-04-291-26/+36
| | | | | | global usage of portage.selinux_enabled. svn path=/main/trunk/; revision=3273
* Prevent a NameError in commit_mtimedb() when the portage.mtimedb attribute ↵Zac Medico2006-04-291-1/+1
| | | | | | does not exist. svn path=/main/trunk/; revision=3272
* Move the legacy global initializations into a function and allow them to be ↵Zac Medico2006-04-291-65/+73
| | | | | | disabled via an experimental PORTAGE_LEGACY_GLOBALS environment variable. svn path=/main/trunk/; revision=3271
* Pass mtimes through doebuild(), into dblink.merge(), and finally to ↵Zac Medico2006-04-291-11/+13
| | | | | | env_update(). svn path=/main/trunk/; revision=3270
* Return early from portage.commit_mtimedb() when mtimedb is None.Zac Medico2006-04-291-0/+2
| | | | svn path=/main/trunk/; revision=3269
* Enable portage.commit_mtimedb() to work without globals.Zac Medico2006-04-291-24/+15
| | | | svn path=/main/trunk/; revision=3268
* Enable portage.pkgmerge() to work without globals.Zac Medico2006-04-291-3/+5
| | | | svn path=/main/trunk/; revision=3267
* Enable portage.dep_zapdeps() to work without globals.Zac Medico2006-04-291-7/+9
| | | | svn path=/main/trunk/; revision=3266
* Enable portage.env_update() to work without globals.Zac Medico2006-04-291-35/+41
| | | | svn path=/main/trunk/; revision=3265
* Catch Permission Denied errors during manifest/digest generation for bug ↵Zac Medico2006-04-292-38/+45
| | | | | | #131073. svn path=/main/trunk/; revision=3263
* Remove global db usage from portdbapi.gvisible().Zac Medico2006-04-281-2/+2
| | | | svn path=/main/trunk/; revision=3259
* Remove global db usage from portage.config.regenerate().Zac Medico2006-04-281-6/+4
| | | | svn path=/main/trunk/; revision=3257
* Disable the FEATURES=cvs part of r3251 because it prevents missing files ↵Zac Medico2006-04-281-1/+1
| | | | | | from bein fetched when they need to be. svn path=/main/trunk/; revision=3255
* Make portage.vardbapi able to work without any global variables.Zac Medico2006-04-281-13/+13
| | | | svn path=/main/trunk/; revision=3254
* Fix portage.global_updates() and portage.do_vartree() so they don't have to ↵Zac Medico2006-04-281-40/+36
| | | | | | use any globals. svn path=/main/trunk/; revision=3253
* Remove usage of the portage.thirdpartymirrors global variable.Zac Medico2006-04-271-8/+9
| | | | svn path=/main/trunk/; revision=3252
* Make FEATURES=cvs cause all distfiles to be fetched if necessary (just like ↵Zac Medico2006-04-271-12/+11
| | | | | | `ebuild digest`) and update the code for Manifest2. svn path=/main/trunk/; revision=3251
* Only use one global statement to avoid bogus python syntax warning.Zac Medico2006-04-271-3/+1
| | | | svn path=/main/trunk/; revision=3250
* Pass in mydbapi and vartree where relevant for all doebuild calls in ↵Zac Medico2006-04-271-15/+31
| | | | | | portage.py and add necessary support to merge() and the dblink class. svn path=/main/trunk/; revision=3249
* Add an option vartree parameter to doebuild(), merge(), and the dblink ↵Zac Medico2006-04-271-25/+35
| | | | | | constructor so that they don't have to use globals. svn path=/main/trunk/; revision=3247
* Add optional mydbapi parameter to doebuild() so that it doesn't have to use ↵Zac Medico2006-04-271-11/+18
| | | | | | any globals. svn path=/main/trunk/; revision=3246
* Make fetchlist_dict an optional parameter in the Manifest constructor since ↵Zac Medico2006-04-262-11/+13
| | | | | | it's required only for generation of a Manifest (not needed for parsing and checking sums). svn path=/main/trunk/; revision=3245
* Pass a portdbapi instance into portage.digestgen() so that it doesn't have ↵Zac Medico2006-04-261-8/+12
| | | | | | to use any globals. svn path=/main/trunk/; revision=3244
* Pass a portdbapi instance into the FetchlistDict constructor so that it ↵Zac Medico2006-04-261-9/+10
| | | | | | doesn't have to use any globals. svn path=/main/trunk/; revision=3243
* Group together and clearly mark some deprecated globals.Zac Medico2006-04-261-13/+17
| | | | svn path=/main/trunk/; revision=3242
* Move PORTAGE_MASTER_PID and BASH_ENV from global scope to the ↵Zac Medico2006-04-261-6/+5
| | | | | | doebuild_environment() function. svn path=/main/trunk/; revision=3241
* Remove portage.config.root (from r3229) and just use config["ROOT"] to ↵Zac Medico2006-04-261-10/+11
| | | | | | eliminate redundancy. svn path=/main/trunk/; revision=3239
* Remove portage.config.groups (formerly portage.groups) and instead use ↵Zac Medico2006-04-261-5/+2
| | | | | | ACCEPT_KEYWORDS directly (simplifies the code). svn path=/main/trunk/; revision=3238
* Fix portdbapi.aux_get(), findname2(), and getfetchlist() so that the tree ↵Zac Medico2006-04-261-26/+22
| | | | | | can be overridden by the caller if necessary (ensures that metadata is pulled from the correct tree when generating a manifest). svn path=/main/trunk/; revision=3237
* Make copies of the groups attribute before modifying (regression from r3231).Zac Medico2006-04-251-2/+2
| | | | svn path=/main/trunk/; revision=3234
* Remove all dependence on the portage.features global variable.Zac Medico2006-04-251-9/+10
| | | | svn path=/main/trunk/; revision=3233
* Remove all usage of the portage.archlist global variable.Zac Medico2006-04-251-2/+2
| | | | svn path=/main/trunk/; revision=3232
* Remove all usage of the portage.groups global variable.Zac Medico2006-04-251-4/+8
| | | | svn path=/main/trunk/; revision=3231
* Remove all usage of portage.usedefaults and portage.profiledir globals.Zac Medico2006-04-251-9/+15
| | | | svn path=/main/trunk/; revision=3230
* Move portage.root logic from global scope into the portage.config class.Zac Medico2006-04-251-20/+18
| | | | svn path=/main/trunk/; revision=3229
* Move initialization of tmp, var/tmp, var/lib/portage, and var/cache/edb from ↵Zac Medico2006-04-251-38/+21
| | | | | | global scope to portage.cofig._init_dirs(). svn path=/main/trunk/; revision=3228
* Move cache dir initialization from global scope to the portdbapi class.Zac Medico2006-04-251-28/+25
| | | | svn path=/main/trunk/; revision=3227
* Move USER_VIRTUALS_FILE deprecation warning to config.validate().Zac Medico2006-04-251-5/+5
| | | | svn path=/main/trunk/; revision=3225
* Split a config.validate() method and move PORTAGE_TMPDIR sanity check to ↵Zac Medico2006-04-251-12/+17
| | | | | | doebuild. svn path=/main/trunk/; revision=3224
* Move the make.profile symlink warning from global scope to the config class.Zac Medico2006-04-251-6/+6
| | | | svn path=/main/trunk/; revision=3223
* Catch IOError when loading the mtimedb.Zac Medico2006-04-251-1/+1
| | | | svn path=/main/trunk/; revision=3222
* Move ACCEPT_KEYWORDS and PORTAGE_ARCHLIST validation from global scope to ↵Zac Medico2006-04-251-8/+14
| | | | | | the config class. svn path=/main/trunk/; revision=3221
* Move the mtimedb initialization code from global scope to a function.Zac Medico2006-04-251-34/+31
| | | | svn path=/main/trunk/; revision=3220
* Add a note concerning the separation of legacy global initializations.Zac Medico2006-04-241-0/+8
| | | | svn path=/main/trunk/; revision=3218
* For better organization, migrate the initialization of all major globals in ↵Zac Medico2006-04-241-196/+171
| | | | | | portage.py to the bottom of the file. svn path=/main/trunk/; revision=3217
* Make sure usage of portage.db and portage.mtimedb is appropriately marked as ↵Zac Medico2006-04-241-5/+9
| | | | | | global. svn path=/main/trunk/; revision=3216
* Make sure a usage of portage.settings is marked as global.Zac Medico2006-04-241-5/+13
| | | | svn path=/main/trunk/; revision=3215
* Use tree="vartree" for prerm, postrm, and cleanrm phases (see bug #131116).Zac Medico2006-04-241-3/+5
| | | | svn path=/main/trunk/; revision=3214
* Use one aux_get call instead of 2.Zac Medico2006-04-241-5/+5
| | | | svn path=/main/trunk/; revision=3213