summaryrefslogtreecommitdiffstats
path: root/pym/portage.py
Commit message (Collapse)AuthorAgeFilesLines
* Return early from global directory initialization if the current user does ↵Zac Medico2006-08-091-0/+3
| | | | | | not have write access to $ROOT. svn path=/main/trunk/; revision=4209
* Remove unnecessary check for USE flags that start with "-".Zac Medico2006-08-081-1/+1
| | | | svn path=/main/trunk/; revision=4191
* When performing expansion of USE_EXPAND variables, display warnings about ↵Zac Medico2006-08-071-3/+10
| | | | | | invalid use of incremental operators. svn path=/main/trunk/; revision=4187
* Sort the USE flags.Zac Medico2006-08-061-0/+1
| | | | svn path=/main/trunk/; revision=4181
* Split the USE flags calculation out of the generic incrementals loop and ↵Zac Medico2006-08-061-44/+74
| | | | | | process it separately in order to account for interaction with USE_EXPAND. All USE_EXPAND environment variables are regenerated so that they are consistent with the flags in USE. See bug #142909. svn path=/main/trunk/; revision=4178
* Allow USE_EXPAND vars to be overridden in the environment for bug #142909.Zac Medico2006-08-061-2/+2
| | | | svn path=/main/trunk/; revision=4175
* Ignore hidden files or directories in the vardbapi.cpv_all() listing.Zac Medico2006-08-041-0/+2
| | | | svn path=/main/trunk/; revision=4153
* For completeness, clone self.puse and self.mycpv.Zac Medico2006-08-041-0/+2
| | | | svn path=/main/trunk/; revision=4152
* Add support for package.use.mask in the profile. It should behave exactly ↵Zac Medico2006-08-041-1/+22
| | | | | | as use.mask currently does except that it allows USE flags to be masked for specific packages rather than for all packages. See bug #96368. svn path=/main/trunk/; revision=4151
* Protect USE_EXPAND flags from -* in order to preserve previous behavior ↵Zac Medico2006-08-031-1/+6
| | | | | | which has changed due to the fix for bug #142125. svn path=/main/trunk/; revision=4114
* Instead of self.puse, use self.mycpv to return early from setcpv.Zac Medico2006-08-031-5/+5
| | | | svn path=/main/trunk/; revision=4113
* Expand USE_EXPAND flags earlier so that their incremental stacking behaves ↵Zac Medico2006-08-031-10/+23
| | | | | | just like it does for normal USE flags. See bug #142125. svn path=/main/trunk/; revision=4112
* Use a recursive function to simplify the walking of the profile paths. The ↵Zac Medico2006-08-031-17/+20
| | | | | | number of parent profiles is constrained to 1 but could easily be extended to allow multiple inheritence. svn path=/main/trunk/; revision=4091
* Remove the unnecessary "Previously fetched" portion of the disfiles checksum ↵Zac Medico2006-08-021-2/+2
| | | | | | output for bug #142271. svn path=/main/trunk/; revision=4089
* Grab /etc/profile.env from the target root instead of the configroot.Zac Medico2006-08-021-2/+2
| | | | svn path=/main/trunk/; revision=4085
* Move profile.env to the bottom of the stack so that, for example, it's ↵Zac Medico2006-08-021-12/+12
| | | | | | possible for make.conf values to override or stack incrementally with values from profile.env. See bug #51370. svn path=/main/trunk/; revision=4084
* Remove duplicate profile.env values from the environment so that they don't ↵Zac Medico2006-08-021-0/+18
| | | | | | override updated profile.env values later (profile.env is reloaded in each call to self.regenerate). See bug #51370. svn path=/main/trunk/; revision=4083
* Add matching quote (typo from last revision).Zac Medico2006-07-311-1/+1
| | | | svn path=/main/trunk/; revision=4051
* Catch ParseError from getconfig during env_update for bug #142157.Zac Medico2006-07-311-4/+5
| | | | svn path=/main/trunk/; revision=4050
* Stack /etc/profile.env inside portage.config so that it doesn't stop ↵Zac Medico2006-07-291-2/+14
| | | | | | variables in inappropriate places. See bug #51370. svn path=/main/trunk/; revision=4048
* Make sure we doebuild uses the correct tree for fetch lists when there are ↵Zac Medico2006-07-281-2/+6
| | | | | | overlays. svn path=/main/trunk/; revision=4047
* Add PKG_CONFIG_PATH to env_update incrementals for bug #105384.Zac Medico2006-07-281-2/+3
| | | | svn path=/main/trunk/; revision=4044
* Simplify permissions adjustment after a file is fetched.Zac Medico2006-07-271-12/+9
| | | | svn path=/main/trunk/; revision=4037
* Move the filesystem mirrors code into the main fetch loop.Zac Medico2006-07-271-16/+13
| | | | svn path=/main/trunk/; revision=4034
* Move permissions adjustment of previously fetched files into the main fetch ↵Zac Medico2006-07-271-8/+8
| | | | | | loop. svn path=/main/trunk/; revision=4033
* Fix ENOENT exception handler so that it only wraps the relevant stat call.Zac Medico2006-07-271-8/+7
| | | | svn path=/main/trunk/; revision=4032
* Hide a password if a uri contains one (a custom local mirror, for example). ↵Zac Medico2006-07-271-1/+2
| | | | | | Thanks to nelchael for the patch. svn path=/main/trunk/; revision=4031
* Simplify fetch failure logic.Zac Medico2006-07-271-12/+10
| | | | svn path=/main/trunk/; revision=4030
* Ensure that that fetch restriction message is only show once in --pretend mode.Zac Medico2006-07-271-0/+2
| | | | svn path=/main/trunk/; revision=4029
* Allow fetch restricted files to be fetched from custom local mirrors as per ↵Zac Medico2006-07-271-24/+25
| | | | | | bug #37455. This patch additionally allows a mirror:// uri to override fetch restriction, but only for the specified mirror (or a custom local mirror). svn path=/main/trunk/; revision=4028
* Move the initial check of previously fetched files out of the locations loop ↵Zac Medico2006-07-271-54/+47
| | | | | | so that that the same code path can be used (patch to follow) when fetch is restricted and there are no custom local mirrors. See bug #37455. svn path=/main/trunk/; revision=4027
* Move the self dependency check from digraph.addnode() to depgraph.create() ↵Zac Medico2006-07-251-4/+0
| | | | | | since that's the only place it's currently needed. This patch should not affect emerge behavior. svn path=/main/trunk/; revision=4021
* Add more dependencies to the digraph in order to help prevent strange merge ↵Zac Medico2006-07-251-0/+4
| | | | | | orders for bug #126748. svn path=/main/trunk/; revision=4019
* Move best_match_to_list, match_from_list, and match_to_list from the core ↵Zac Medico2006-07-221-112/+2
| | | | | | portage module to portage_dep. svn path=/main/trunk/; revision=3991
* Move portage.best() to portage_versions.Zac Medico2006-07-221-17/+2
| | | | svn path=/main/trunk/; revision=3990
* Remove unused portage.match_from_list_original() function.Zac Medico2006-07-221-116/+0
| | | | svn path=/main/trunk/; revision=3989
* Make sure that PORTAGE_BUILDDIR exists before attempting to lock it. ↵Zac Medico2006-07-211-2/+2
| | | | | | Depending on the phase, either BUILD_PREFIX or PKG_TMPDIR could be the parent, so we simply use PORTAGE_BUILDDIR to cover both cases. svn path=/main/trunk/; revision=3985
* Collapse whitespace in aux_get calls for remote binpkg metadata. See bug ↵Zac Medico2006-07-211-4/+2
| | | | | | #141279. svn path=/main/trunk/; revision=3984
* Move dep_transform from the portage_dep module to portage_update.Zac Medico2006-07-211-3/+3
| | | | svn path=/main/trunk/; revision=3981
* Move update_config_files from the core portage module to portage_update.Zac Medico2006-07-211-70/+2
| | | | svn path=/main/trunk/; revision=3980
* Move new_protect_filename from the core portage module to portage_util.Zac Medico2006-07-211-52/+1
| | | | svn path=/main/trunk/; revision=3978
* Move parse_updates from the core portage module to portage_update.Zac Medico2006-07-211-35/+1
| | | | svn path=/main/trunk/; revision=3977
* Move isjustname, isspecific, dep_getkey, and dep_transform from the core ↵Zac Medico2006-07-211-67/+2
| | | | | | portage module to portage_dep. svn path=/main/trunk/; revision=3976
* Remove grabdict_package and grabfile_package from the core portage module ↵Zac Medico2006-07-211-26/+0
| | | | | | since the copies in portage_util can now work by importing isvalidatom from portage_dep. svn path=/main/trunk/; revision=3975
* Move dep_getcpv, get_operator, and isvalidatom from the core portage module ↵Zac Medico2006-07-211-57/+1
| | | | | | to portage_dep. svn path=/main/trunk/; revision=3974
* Blacklist some variables in the config constructor so that they can't ↵Zac Medico2006-07-211-4/+9
| | | | | | interfere with portage internals. svn path=/main/trunk/; revision=3973
* Remove redundant initialization of directories for cloned config instances.Zac Medico2006-07-201-2/+2
| | | | svn path=/main/trunk/; revision=3970
* Move initialization of config.uvlist into the regenerate() method since ↵Zac Medico2006-07-201-9/+9
| | | | | | that's the only place it's used. svn path=/main/trunk/; revision=3969
* Move initialization of self.lookuplist to a more logical location for cloned ↵Zac Medico2006-07-201-3/+2
| | | | | | config instances. svn path=/main/trunk/; revision=3968
* Remove redundant initialization of self.features (and self.regenerate() ↵Zac Medico2006-07-201-36/+27
| | | | | | call) for cloned config instances. svn path=/main/trunk/; revision=3967