Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove duplicate attributes from __slots__. | Zac Medico | 2010-08-19 | 1 | -2/+1 | |
| | ||||||
* | Move the code from _prepare_env_file() to a new BinpkgEnvExtractor | Zac Medico | 2010-08-18 | 3 | -9/+99 | |
| | | | | 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 | 1 | -0/+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 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 | 1 | -2/+1 | |
| | ||||||
* | _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 | |
| | ||||||
* | 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. | |||||
* | * Replace config._iuse_implicit_re with a callable _iuse_implicit_match | Zac Medico | 2010-08-18 | 2 | -13/+8 | |
| | | | | | | | 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. | |||||
* | Remove unused iuse_implicit attribute. | Zac Medico | 2010-08-18 | 1 | -1/+0 | |
| | ||||||
* | Temporarily disable portage.dep deprecation warnings for external api | Zac Medico | 2010-08-17 | 1 | -0/+1 | |
| | | | | | 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 | -7/+1 | |
| | ||||||
* | Fix breakage in REPLACING_VERSIONS support for emerge. | Zac Medico | 2010-08-17 | 2 | -1/+15 | |
| | ||||||
* | 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. | |||||
* | 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 | |
| | ||||||
* | Unify ebuild spawing some more. All proper ebuild phases which execute | Zac Medico | 2010-08-17 | 1 | -24/+5 | |
| | | | | ebuild.sh are spawned via _doebuild_spawn() now. No exceptions. | |||||
* | Fix _spawn_phase() to spawn phases without sandbox when necessary. | Zac Medico | 2010-08-17 | 1 | -8/+2 | |
| | ||||||
* | Make doebuild() use EbuildPhase to execute all phase (unless returnpid | Zac Medico | 2010-08-17 | 1 | -0/+10 | |
| | | | | is True, which is only for the "depend" phase now). | |||||
* | Make EbuildBuild check the manifest before beginning, since with | Zac Medico | 2010-08-16 | 1 | -0/+27 | |
| | | | | | --keep-going mode it's currently possible to get this far with a broken manifest. | |||||
* | Make spawnebuild() use EbuildPhase to eliminate duplicate code. | Zac Medico | 2010-08-16 | 3 | -11/+20 | |
| | ||||||
* | Fix ebuild.sh argument for cleanrm phase. | Zac Medico | 2010-08-16 | 1 | -1/+6 | |
| | ||||||
* | Move the fakeroot_state attribute back to EbuildSpawnProcess from | Zac Medico | 2010-08-16 | 2 | -4/+4 | |
| | | | | AbstractEbuildProcess (only EbuildSpawnProcess uses it). | |||||
* | Move fakeroot_state attribute from EbuildSpawnProcess to | Zac Medico | 2010-08-16 | 2 | -4/+4 | |
| | | | | AbstractEbuildProcess. | |||||
* | Remove unused attributes from classes. | Zac Medico | 2010-08-16 | 8 | -39/+32 | |
| | ||||||
* | Split out parts of doebuild() so that EbuildProcess can bypass it | Zac Medico | 2010-08-16 | 3 | -26/+50 | |
| | | | | and call the spawn() function directly. | |||||
* | Revert back to using portdbapi.getFetchMap() since the Package class | Zac Medico | 2010-08-16 | 1 | -5/+6 | |
| | | | | doesn't cache SRC_URI. | |||||
* | Pass is_valid_flag to use_reduce if possible | Sebastian Luther | 2010-08-16 | 2 | -4/+5 | |
| | ||||||
* | portage.dep.use_reduce: Better validation of use flags in use conditionals | Sebastian Luther | 2010-08-16 | 1 | -1/+1 | |
| | | | | | use_reduce now uses either a regex or, if provided, a is_valid_flag function to validate use flags | |||||
* | Convert EbuildBinpkg to inherit from MiscFunctionsProcess instead | Zac Medico | 2010-08-16 | 2 | -29/+33 | |
| | | | | | of EbuildProcess. This bypasses the complex doebuild() function, and uses the _spawn_actionmap() function that's been split out. | |||||
* | Use _parse_uri_map() so that we can use cached metadata instead of | Zac Medico | 2010-08-16 | 1 | -6/+5 | |
| | | | | invoking portdbapi.getFetchMap(). | |||||
* | Enable EbuildIpcDaemon support by default. | Zac Medico | 2010-08-15 | 1 | -4/+5 | |
| | ||||||
* | Remove PollScheduler._schedule_waitpid() since this case isn't triggered | Zac Medico | 2010-08-15 | 4 | -33/+3 | |
| | | | | | | anymore, now that PollScheduler._unregister() has be fixed to discard unhandled events (so that reallocation of file descriptors no longer triggers erroneous delivery of stale events). | |||||
* | Don't handle KeyError when looking up event handlers, since | Zac Medico | 2010-08-15 | 1 | -31/+12 | |
| | | | | _unregister() automatically discards stale events now. | |||||
* | Fix PollScheduler._unregister() to discard any unhandled events | Zac Medico | 2010-08-15 | 1 | -0/+13 | |
| | | | | | | | | | that belong to the unregistered file, in order to prevent these events from being erroneously delivered to a future handler that is using a reallocated file descriptor of the same numeric value (causing extremely confusing bugs). Note that this is was the cause of the intermittent bug that forced me to disable EbuildIpcDaemon by default. | |||||
* | Fix SubProcess instances to call _set_returncode() when appropriate, | Zac Medico | 2010-08-15 | 4 | -8/+8 | |
| | | | | instead of setting self.returncode directly. | |||||
* | Evaluate SRC_URI and return early if there's nothing to fetch. | Zac Medico | 2010-08-15 | 1 | -26/+52 | |
| | ||||||
* | Make DoebuildSpawnTestCase instantiate a minimal Package instance, and | Zac Medico | 2010-08-15 | 1 | -1/+1 | |
| | | | | fix code to tolerate missing metadata values in various places. | |||||
* | Remove unuser return values from PollScheduler event handlers. | Zac Medico | 2010-08-15 | 4 | -6/+0 | |
| | ||||||
* | Remove redundant os.path.join() call in _init_ipc_fifos(). | Zac Medico | 2010-08-15 | 1 | -3/+1 | |
| | ||||||
* | Add the "unexpected bash exit" case to the docstring. | Zac Medico | 2010-08-15 | 1 | -1/+3 | |
| | ||||||
* | Disable EbuildIpcDaemon for now, since it seems to be triggering | Zac Medico | 2010-08-14 | 1 | -20/+81 | |
| | | | | | intermittent build failures in my stage builds. For testing purposes set PORTAGE_IPC_DAEMON_ENABLE=1 to enable EbuildIpcDaemon. | |||||
* | portage.dep: Integrate the functionality of flatten into use_reduce | Sebastian Luther | 2010-08-14 | 1 | -2/+2 | |
| |