summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Split out a _ordered_by_atom_specificity() in order to eliminateZac Medico2010-08-201-86/+48
| | | | duplicate code from the package.* config file handling.
* Make DEPCACHE_PATH relative to EPREFIX, and comment about similarityZac Medico2010-08-201-2/+17
| | | | to make.globals handling.
* * Make dblink._linkmap_rebuild() return early if preserve-libs is disabledZac Medico2010-08-201-2/+10
| | | | | | and the preserve-libs registry is empty. * Make dblink._find_unused_preserved_libs() return early if the preserve-libs registry is empty.
* Stop using the myroot arguments to the dblink constructor, merge(),Zac Medico2010-08-201-29/+52
| | | | | and unmerge(). Use settings['ROOT'] instead. This helps avoid confusion given support for EROOT.
* * Fix EROOT handling in various places in vartree.py. It should beZac Medico2010-08-203-44/+81
| | | | | | | | | all fixed now, but needs testing. * Remove unused root parameter in calls to dblink.isowner() and _match_contents(). * Make doebuild_environment() and prepare_build_dirs() take keyword arguments, and ignore unused parameters. Especially don't use myroot parameters since they are confusing given EROOT support.
* Fix LinkageMap to use vardbapi._eroot instead of _root.Zac Medico2010-08-201-1/+1
|
* Don't pass the myroot parameter to *counter_tick* methods since it'sZac Medico2010-08-201-7/+7
| | | | ignored anyway.
* Make the portagetree.root attribute a property that generates aZac Medico2010-08-201-3/+11
| | | | DeprecationWarning on access.
* Remove unused clone paramter from vartree constructor (support andZac Medico2010-08-201-1/+1
| | | | | deprecation warning were already removed in commit c0ee69585bf87e09c237668531127e79e0cd1c46).
* Fix typo in comment.Zac Medico2010-08-201-1/+1
|
* --autounmask: If we can't do a change because of REQUIRED_USE, give at least ↵Sebastian Luther2010-08-203-11/+61
| | | | a good error message
* --autounmask: Don't do use changes if they violate REQUIRED_USESebastian Luther2010-08-201-19/+32
| | | | This also fixes some pkg.use.enabled / _pkg_use_enabled(pkg) bugs
* slot collision handler: Drop solutions that violate REQUIRED_USESebastian Luther2010-08-202-0/+33
|
* slot collision handler: Work correctly with --autounmaskSebastian Luther2010-08-202-29/+35
|
* circular dependency handler: Add support for REQUIRED_USESebastian Luther2010-08-202-13/+46
|
* Add portage.dep.get_required_use_flags to extract the use flags used in a ↵Sebastian Luther2010-08-202-2/+121
| | | | REQUIRED_USE string
* circular dependency handler: Small code clean upsSebastian Luther2010-08-201-5/+6
|
* Make the make.globals path relative to EPREFIX, and add comments possibleZac Medico2010-08-191-2/+24
| | | | alternative behavior for target systems.
* Fix BinTestCase instances to stop leaving orphan temp dirs.Zac Medico2010-08-193-18/+25
|
* Add experimental EPREFIX/EROOT support to the config and vartreeZac Medico2010-08-195-85/+114
| | | | | | | | | classes, and use it in ResolverPlayground to emulate a prefix-like environment. This fixes ResolverPlayground so that it doesn't have to abuse the --root and --root-deps options in order to create a testing environment. Instead it simply creates a temporary EPREFIX. WARNING: EPREFIX/EROOT support is experimental and may be incomplete for cases in which EPREFIX is non-empty.
* Stop trying to read /etc/make.globals because it's been a symlink toZac Medico2010-08-191-1/+1
| | | | /usr/share/portage/config/make.globals since portage-2.1.6.
* Update docs, comments, and messages to refer to make.globals inZac Medico2010-08-197-20/+30
| | | | /usr/share/portage/config/ instead of /etc/make.globals.
* Rename the bdeps_root variable to depend_root, since it's used to controlZac Medico2010-08-191-4/+4
| | | | | DEPEND and in the future we may have separate build-time dep types for host and target.
* Eliminate the bdeps_optional variables inside depgraph._add_pkg_deps(),Zac Medico2010-08-191-4/+3
| | | | and use the pkg.built attribute instead.
* Tests: Properly test the circular dep handlerSebastian Luther2010-08-191-15/+38
|
* Tests: ResolverPlayground: Support checking the suggestions given by the ↵Sebastian Luther2010-08-191-0/+8
| | | | circular dep handler.
* Move the clever parts of depgraph._show_circular_deps into its own module.Sebastian Luther2010-08-192-155/+240
| | | | This also fixes some bugs related to autounmask.
* cycle-finder: Don't try to change flags that are in use.{make,focrce}Sebastian Luther2010-08-191-16/+5
|
* Move code from EbuildProcess to EbuildPhase.Zac Medico2010-08-192-24/+24
|
* Raise ValueError if fromlist contains an extra comma.Zac Medico2010-08-191-0/+3
|
* Remove duplicate attributes from __slots__.Zac Medico2010-08-191-2/+1
|
* * In helpers_die arguments, display ${0##*/} instead of $0 since $0Zac Medico2010-08-1832-78/+78
| | | | | | is needlessly long. * When calling helpers_die from a function, use ${FUNCNAME[0]} in arguments instead of $0.
* Use doebuild_environment() to ensure proper environment initializationZac Medico2010-08-181-16/+21
| | | | | for clean/cleanrm phases, and use the simpler _spawn_phase() function instead of doebuild to spawn the phases.
* Use simpler _spawn_phase() instead of doebuild() sinceZac Medico2010-08-181-9/+3
| | | | doebuild_environment() already done the env setup.
* Move the code from _prepare_env_file() to a new BinpkgEnvExtractorZac Medico2010-08-185-56/+126
| | | | class.
* Remove unnecessary call to _prepare_env_file(), since it only makesZac Medico2010-08-181-8/+1
| | | | sense for binary or installed packages.
* Move environment sanity check to the Scheduler and do it if thereZac Medico2010-08-182-16/+36
| | | | are any source packages in the merge list.
* When suggesting solutions inside _show_circular_deps(), ignore solutionsZac Medico2010-08-181-0/+16
| | | | that involve changes to use.mask or use.force settings.
* Fix get_cycles() to handle None return value from shortest_path().Zac Medico2010-08-181-0/+2
|
* Fix deprecation warnings from paren_reduce.Zac Medico2010-08-181-2/+2
|
* Fix small bug in _show_circular_deps and add some testsSebastian Luther2010-08-182-2/+47
|
* portage.util.digraph: Raise KeyError in newly added functions. Add tests.Sebastian Luther2010-08-182-13/+222
|
* extract_affecting_use: Fix the same bug as in use_reduceSebastian Luther2010-08-182-6/+31
|
* _show_circular_deps: Ignore solution that violate use dpendencies specified ↵Sebastian Luther2010-08-181-6/+39
| | | | by parents. Warn the user if there are many cycles.
* _show_circular_deps: Stop prunning the graph to show (other) parents of the ↵Sebastian Luther2010-08-181-14/+0
| | | | involved packages in the merge list
* _show_circular_deps: Fix handling of 'None' returned by ↵Sebastian Luther2010-08-181-1/+2
| | | | extract_affecting_use and remove debug output
* _emerge.depgraph._show_circular_deps(): Find suggestions if an atom occures ↵Sebastian Luther2010-08-181-11/+66
| | | | more than once in a dep string
* Print suggestions for circular dependenciesSebastian Luther2010-08-181-8/+44
|
* _emerge.depgraph._show_circular_deps(): Display only the smallest cycleSebastian Luther2010-08-181-1/+31
|
* portage.util.digraph: Add get_cycles() and its helpers shortest_path() and bfs()Sebastian Luther2010-08-181-0/+35
|