Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use doebuild_environment() to ensure proper environment initialization | Zac Medico | 2010-08-18 | 1 | -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() since | Zac Medico | 2010-08-18 | 1 | -9/+3 |
| | | | | doebuild_environment() already done the env setup. | ||||
* | Move the code from _prepare_env_file() to a new BinpkgEnvExtractor | Zac Medico | 2010-08-18 | 5 | -56/+126 |
| | | | | class. | ||||
* | Remove unnecessary call to _prepare_env_file(), since it only makes | Zac Medico | 2010-08-18 | 1 | -8/+1 |
| | | | | sense for binary or installed packages. | ||||
* | Move environment sanity check to the Scheduler and do it if there | Zac Medico | 2010-08-18 | 2 | -16/+36 |
| | | | | are any source packages in the merge list. | ||||
* | When suggesting solutions inside _show_circular_deps(), ignore solutions | Zac Medico | 2010-08-18 | 1 | -0/+16 |
| | | | | that involve changes to use.mask or use.force settings. | ||||
* | Fix get_cycles() to handle None return value from shortest_path(). | Zac Medico | 2010-08-18 | 1 | -0/+2 |
| | |||||
* | Fix deprecation warnings from paren_reduce. | Zac Medico | 2010-08-18 | 1 | -2/+2 |
| | |||||
* | Fix small bug in _show_circular_deps and add some tests | Sebastian Luther | 2010-08-18 | 2 | -2/+47 |
| | |||||
* | portage.util.digraph: Raise KeyError in newly added functions. Add tests. | Sebastian Luther | 2010-08-18 | 2 | -13/+222 |
| | |||||
* | extract_affecting_use: Fix the same bug as in use_reduce | Sebastian Luther | 2010-08-18 | 2 | -6/+31 |
| | |||||
* | _show_circular_deps: Ignore solution that violate use dpendencies specified ↵ | Sebastian Luther | 2010-08-18 | 1 | -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 Luther | 2010-08-18 | 1 | -14/+0 |
| | | | | involved packages in the merge list | ||||
* | _show_circular_deps: Fix handling of 'None' returned by ↵ | Sebastian Luther | 2010-08-18 | 1 | -1/+2 |
| | | | | extract_affecting_use and remove debug output | ||||
* | _emerge.depgraph._show_circular_deps(): Find suggestions if an atom occures ↵ | Sebastian Luther | 2010-08-18 | 1 | -11/+66 |
| | | | | more than once in a dep string | ||||
* | Print suggestions for circular dependencies | Sebastian Luther | 2010-08-18 | 1 | -8/+44 |
| | |||||
* | _emerge.depgraph._show_circular_deps(): Display only the smallest cycle | Sebastian Luther | 2010-08-18 | 1 | -1/+31 |
| | |||||
* | portage.util.digraph: Add get_cycles() and its helpers shortest_path() and bfs() | Sebastian Luther | 2010-08-18 | 1 | -0/+35 |
| | |||||
* | Tests: Make sure the ResolverPlayground doesn't ignore DEPEND | Sebastian Luther | 2010-08-18 | 1 | -0/+10 |
| | |||||
* | Tests: ResolverPlaygound: change --root-deps parameter to include build time ↵ | Sebastian Luther | 2010-08-18 | 1 | -1/+1 |
| | | | | deps | ||||
* | Use _prepare_env_file() to extract the binary package environment.bz2 | Zac Medico | 2010-08-18 | 1 | -1/+10 |
| | | | | | | prior to the pkg_setup phase. This fixes a regression since EbuildPhase no longer calls doebuild(), and therefore _prepare_env_file() needs to be called now. | ||||
* | Use _prepare_env_file() to extract environment.bz2 prior to the | Zac Medico | 2010-08-18 | 1 | -1/+3 |
| | | | | | | pkg_prerm phase. This fixes a regression since EbuildPhase no longer calls doebuild(), and therefore _prepare_env_file() needs to be called now. | ||||
* | Bug #324075 - If the vcs doesn't preserve mtimes then disable the | Zac Medico | 2010-08-18 | 1 | -3/+7 |
| | | | | | copyright date check unless the ebuild has just been added or modified. | ||||
* | check_required_use: Fix the same bug as in use_reduce | Sebastian Luther | 2010-08-18 | 2 | -1/+19 |
| | |||||
* | paren_reduce: Fix the same bug as in use_reduce | Sebastian Luther | 2010-08-18 | 2 | -10/+38 |
| | |||||
* | Revert "Tests: Remove paren_reduce tests" | Sebastian Luther | 2010-08-18 | 1 | -0/+60 |
| | | | | This reverts commit 67f3bef9efeff7061765edc9515a97143c2f2e55. | ||||
* | * Replace config._iuse_implicit_re with a callable _iuse_implicit_match | Zac Medico | 2010-08-18 | 7 | -34/+31 |
| | | | | | | | object that simply returns boolean, and update consumers. * Make check_required_use() take a callable for the iuse parameter, and pass in Package.use.is_valid_flag or iuse.__contains__ as appropriate. | ||||
* | use_reduce: code cleanup | Sebastian Luther | 2010-08-18 | 2 | -34/+33 |
| | |||||
* | Bug #312085 - Make config.setcpv() treat USE_EXPAND_HIDDEN flags as if | Zac Medico | 2010-08-18 | 1 | -8/+29 |
| | | | | | | they are in IUSE. This helps for the embedded profile which does not have typical use.force/use.mask settings. The flags are matched with a regular expression and match results are memoized in order to optimize performance. | ||||
* | Bug #308933 - Export os.path.realpath(PORTAGE_TMPDIR), to make sandbox | Zac Medico | 2010-08-18 | 1 | -1/+1 |
| | | | | happy. | ||||
* | Remove unused iuse_implicit attribute. | Zac Medico | 2010-08-18 | 1 | -1/+0 |
| | |||||
* | Add opconvert test for "|| ( ( A B ) C )". | Zac Medico | 2010-08-18 | 1 | -0/+4 |
| | |||||
* | Fix use_reduce() to correctly handle "|| ( ( A B ) C )", and also | Zac Medico | 2010-08-18 | 2 | -7/+33 |
| | | | | fix some test cases that had erroneous expected_result values. | ||||
* | Add commented test case for a known regression. | Zac Medico | 2010-08-18 | 1 | -0/+3 |
| | |||||
* | Temporarily disable portage.dep deprecation warnings for external api | Zac Medico | 2010-08-17 | 4 | -11/+24 |
| | | | | | consumers. Once the relevant api changes are in a portage release with stable keywords, make these warnings unconditional. | ||||
* | Use binarytree._ensure_dir() to create the binpkg parent dir. | Zac Medico | 2010-08-17 | 1 | -6/+11 |
| | |||||
* | Use binarytree._ensure_dir() to create the binpkg parent dir. | Zac Medico | 2010-08-17 | 1 | -7/+1 |
| | |||||
* | Fix breakage in REPLACING_VERSIONS support for emerge. | Zac Medico | 2010-08-17 | 2 | -1/+15 |
| | |||||
* | Add pretend to actionmap_deps. | Zac Medico | 2010-08-17 | 1 | -1/+2 |
| | |||||
* | Fix the REPLACING_VERSIONS code to work in cases when the pretend/setup | Zac Medico | 2010-08-17 | 1 | -16/+21 |
| | | | | phases are pulled in as dependencies of other phases. | ||||
* | Discard REPLACING_VERSIONS and REPLACED_BY_VERSION when they are no | Zac Medico | 2010-08-17 | 2 | -0/+4 |
| | | | | longer needed. | ||||
* | Use EbuildPhase instead of EbuildProcess, for things like die_hooks | Zac Medico | 2010-08-17 | 1 | -2/+2 |
| | | | | support. | ||||
* | Make EbuildBinpkg inherit from CompositeTask since the EbuildPhase | Zac Medico | 2010-08-17 | 1 | -12/+23 |
| | | | | class is capable of executing the 'package' phase. | ||||
* | Remove no longer needed code. | Arfrever Frehtes Taifersar Arahesis | 2010-08-17 | 1 | -8/+0 |
| | |||||
* | Tweak the EbuildSpawnProcess test and add comments. | Zac Medico | 2010-08-17 | 1 | -3/+9 |
| | |||||
* | Make EbuildBinpkg inherit from EbuildProcess since the 'package' | Zac Medico | 2010-08-17 | 1 | -18/+6 |
| | | | | phase is already a member of actionmap. | ||||
* | Pass actionmap keyword argument as keyword, rather than positional. | Zac Medico | 2010-08-17 | 1 | -1/+1 |
| | |||||
* | Write compiled bytecodes to /dev/null, rather than write and unlink | Zac Medico | 2010-08-17 | 1 | -10/+1 |
| | | | | them. | ||||
* | Fix _spawn_phase() to pass actionmap to EbuildPhase. | Zac Medico | 2010-08-17 | 1 | -1/+1 |
| | |||||
* | Unify ebuild spawing some more. All proper ebuild phases which execute | Zac Medico | 2010-08-17 | 3 | -75/+56 |
| | | | | ebuild.sh are spawned via _doebuild_spawn() now. No exceptions. |