summaryrefslogtreecommitdiffstats
path: root/pym/portage
Commit message (Collapse)AuthorAgeFilesLines
* Raise an error if the named repository doesn't existv2.2_pre7Marius Mauch2008-05-211-2/+8
| | | | svn path=/main/trunk/; revision=10383
* Simplify cache code in vardbapi.aux_get().Zac Medico2008-05-201-10/+3
| | | | svn path=/main/trunk/; revision=10377
* In vardbapi.aux_get(), don't mark cacheed metadata invalid just becauseZac Medico2008-05-201-1/+0
| | | | | | some of the values are missing. svn path=/main/trunk/; revision=10375
* Inside vardbapi.aux_get(), do more validation on the cache data toZac Medico2008-05-201-0/+9
| | | | | | ensure it contains the expected data types. svn path=/main/trunk/; revision=10373
* Adjust code order to organize it a bit. (branches/2.1.2 r10371)Zac Medico2008-05-191-5/+5
| | | | svn path=/main/trunk/; revision=10372
* Validate and normalize target_root earlier in the config constructor.Zac Medico2008-05-191-6/+6
| | | | svn path=/main/trunk/; revision=10369
* Fix vardbapi.aux_get() logic so that it will correctly pull the metadataZac Medico2008-05-191-1/+1
| | | | | | value corresponding to an unrecognized metadata key. svn path=/main/trunk/; revision=10367
* Exclude "env" from use in variable substitution since we want to avoidZac Medico2008-05-191-3/+5
| | | | | | | any interaction with the calling environment that might lead to unexpected results. svn path=/main/trunk/; revision=10364
* Tweak vardbapi.aux_get() cache logic a bit.Zac Medico2008-05-181-1/+3
| | | | svn path=/main/trunk/; revision=10360
* * To avoid excessive IO on each call to LinkageMap.rebuild(), cacheZac Medico2008-05-181-8/+29
| | | | | | | | | NEEDED.* files via vardbapi.aux_get(). * Make vardbapi.aux_get() preserve newlines in multi-line metadata such as NEEDED.* and CONTENTS. svn path=/main/trunk/; revision=10359
* Add the environment and some more files to the existing make.defaultsZac Medico2008-05-171-34/+55
| | | | | | | | | | | | | | variable substitution support. Variable substitution occurs in the following order: * env.d * env * make.globals * make.defaults * make.conf svn path=/main/trunk/; revision=10351
* Detect and filter ebuilds that have invalid versions in portdbapi.cp_list().Zac Medico2008-05-161-1/+6
| | | | svn path=/main/trunk/; revision=10346
* add xterm-color and interix to list of valid terminalsMarius Mauch2008-05-131-1/+1
| | | | svn path=/main/trunk/; revision=10329
* make debug mode configurableMarius Mauch2008-05-131-1/+3
| | | | svn path=/main/trunk/; revision=10326
* Add subversion support for repoman (patch by Fabien Groffen, ↵Marius Mauch2008-05-131-2/+6
| | | | | | http://archives.gentoo.org/gentoo-portage-dev/msg_b7080f212c3eb09c943a1ce5a7356f01.xml) svn path=/main/trunk/; revision=10325
* ignore consumers from the current package instance when checking if a ↵Marius Mauch2008-05-131-2/+11
| | | | | | preserved library can be removed svn path=/main/trunk/; revision=10324
* Check vercmp() return value to avoid arbitrary results in case it returns NoneMarius Mauch2008-05-131-2/+4
| | | | svn path=/main/trunk/; revision=10322
* Simplify the code for bug #221755 now that the substitution map is updatedZac Medico2008-05-111-6/+2
| | | | | | automatically by getconfig(). svn path=/main/trunk/; revision=10297
* Make the variable substitution code for bug #221755 slightly more efficientZac Medico2008-05-112-2/+1
| | | | | | | by allowing getconfig() to directly update the map that's used for substitutions. svn path=/main/trunk/; revision=10296
* Fix the variable subsitution code from bug #221755 so that variableZac Medico2008-05-112-4/+8
| | | | | | | assignments from earlier files don't leak into variable assignments from later files (except through substitution). svn path=/main/trunk/; revision=10295
* Bug #221755 - Enable variable substitution in make.defaults to work accrossZac Medico2008-05-112-3/+14
| | | | | | | | multiple files instead of being confined to a single file. This allows profiles to create incremental-like behavior with non-incremental variables when desired. svn path=/main/trunk/; revision=10293
* For the "blockers" parameter that's passed into the dblink constructorZac Medico2008-05-091-1/+5
| | | | | | | now, make it a callable since it really shouldn't be called until the vdb lock has been acquired. svn path=/main/trunk/; revision=10264
* Make some confmem behavior modifications in order to try and make itZac Medico2008-05-081-1/+23
| | | | | | | | | | | | | less confusing for people who have forgotten about the --noconfmem option or are completely unaware of it. Thanks to Joe Peterson <lavajoe@gentoo.org> for suggesting these: * Always behave like --noconfmem is enabled for downgrades. * Purge confmem entries when a package is unmerged rather than replaced. svn path=/main/trunk/; revision=10250
* Don't use try/finally to close atomic_ofstream since we don't want toZac Medico2008-05-081-18/+16
| | | | | | call close() on this stream if an error occurs. svn path=/main/trunk/; revision=10231
* Instead of doing automatic uninstalls in advance, install conflictingZac Medico2008-05-082-7/+56
| | | | | | | | | | | | | | | packages first and then do the uninstall afterwards. This requires special handling for file collisions occur, but it's preferred because it ensures that package files remain installed in a usable state whenever possible. When file collisions occur between conflicting packages, the contents entries for those files are removed from the packages that are scheduled for uninstallation. This prevents uninstallation operations from removing overlapping files that have been claimed by conflicting packages. svn path=/main/trunk/; revision=10225
* Make satisfied blockers "darkblue" by default.Zac Medico2008-05-061-1/+1
| | | | svn path=/main/trunk/; revision=10218
* Display satisfied blockers in green and show a small "b" instead of aZac Medico2008-05-061-0/+2
| | | | | | big "B" (similar to "f" for satisfied fetch restrictions). svn path=/main/trunk/; revision=10214
* Use vardbapi._excluded_dirs to filter results inside cp_list().Zac Medico2008-05-051-4/+1
| | | | svn path=/main/trunk/; revision=10208
* Add -MERGING-.* to vardbapi._excluded_dirs.Zac Medico2008-05-051-1/+1
| | | | svn path=/main/trunk/; revision=10206
* * In vardbapi.cpv_all() use catpkgsplit() for validation since that's whatZac Medico2008-05-051-3/+9
| | | | | | | | with cp_all() uses. * Use the listdir() dirsonly=1 parameter to avoid unnecessary stat calls via os.path.isdir(). svn path=/main/trunk/; revision=10204
* Handle a potential InvalidData exception in vardbapi.cp_all().Zac Medico2008-05-051-2/+6
| | | | svn path=/main/trunk/; revision=10202
* fix preserve_libs logic to properly account for the current package instancev2.2_pre6Marius Mauch2008-05-051-11/+20
| | | | svn path=/main/trunk/; revision=10200
* Add "package" to EBUILD_PHASES since it's possible for einfo to be calledZac Medico2008-05-051-1/+2
| | | | | | by install_mask() during that phase. svn path=/main/trunk/; revision=10198
* Bug #219286 - Whitelist INSTALL_MASK so that it works properly for binaryZac Medico2008-05-051-0/+5
| | | | | | | | packages. Also, filter INSTALL_MASK when saving or loading environment.bz2. This also applies to PKG_INSTALL_MASK and DOC_SYMLINKS_DIR, so add them too. svn path=/main/trunk/; revision=10195
* Bug #220171 - Filter out 'lost+found' directories in vardbapi.cpv_all()Zac Medico2008-05-051-1/+9
| | | | | | | in order to avoid fatal 'Permission denied' errors. Currently, CVS and names beginning with '.' are also filtered. svn path=/main/trunk/; revision=10192
* In the package uninstall sanity check, use RDEPEND from the currentlyZac Medico2008-05-041-0/+1
| | | | | | running 'sys-apps/portage' instance to create a set of protected atoms. svn path=/main/trunk/; revision=10184
* actually remove libraries that aren't strictly needed from the preservation ↵Marius Mauch2008-05-041-1/+5
| | | | | | candidate list svn path=/main/trunk/; revision=10182
* remove NEEDED from list of metadata variables (and associated special ↵Marius Mauch2008-05-041-9/+2
| | | | | | handling) as it's no longer used svn path=/main/trunk/; revision=10180
* remove obsolete classMarius Mauch2008-05-041-42/+0
| | | | svn path=/main/trunk/; revision=10179
* rename NEEDED.2 to NEEDED.ELF.2 to allow other ABI formats to use a ↵Marius Mauch2008-05-021-2/+2
| | | | | | different syntax svn path=/main/trunk/; revision=10085
* fix typoMarius Mauch2008-05-021-1/+1
| | | | svn path=/main/trunk/; revision=10083
* use special symlink comparison code (original patch from prefix r9499)Marius Mauch2008-05-021-1/+18
| | | | svn path=/main/trunk/; revision=10082
* v2 of FEATURES=preserved-libs, using LinkageMap instead of the now removed ↵Marius Mauch2008-05-023-138/+147
| | | | | | LibraryPackageMap class svn path=/main/trunk/; revision=10081
* properly remove sets from 'world' when unmergingMarius Mauch2008-05-021-0/+1
| | | | svn path=/main/trunk/; revision=10078
* add config option for package sets to not be recorded in 'world'Marius Mauch2008-05-022-0/+5
| | | | svn path=/main/trunk/; revision=10077
* check if a given package set is defined more than onceMarius Mauch2008-05-021-2/+10
| | | | svn path=/main/trunk/; revision=10075
* remove 'sets/' name-prefix for file-based package setsMarius Mauch2008-05-021-1/+1
| | | | svn path=/main/trunk/; revision=10073
* check if PORTAGE_TMPDIR is mounted readonly/noexec (bug #219957)Marius Mauch2008-05-021-0/+28
| | | | svn path=/main/trunk/; revision=10069
* * Fix dep_check() so that it doesn't expand virtual blockers since theZac Medico2008-04-301-0/+6
| | | | | | | | | | | | | | | | un-expanded virtual atom is more useful for maintaining a cache of blocker atoms. * Expand virtual blockers in depgraph.validate_blockers(), since it's not done by dep_check() anymore. * If blocker data from the graph is available, use it to validate the blocker cache and update the cache if it seems invalid. * Make BlockerCache._load() more tolerant to installs/uninstalls so so that cache isn't rebuilt every time. svn path=/main/trunk/; revision=10041
* For bug #211833, be explicit that the pkg_prerm() and pkg_postrm() removalZac Medico2008-04-281-1/+2
| | | | | | phases are the ones that are skipped. svn path=/main/trunk/; revision=10024