summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove unused iuse_implicit attribute.Zac Medico2010-08-181-1/+0
|
* Temporarily disable portage.dep deprecation warnings for external apiZac Medico2010-08-171-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 Medico2010-08-171-7/+1
|
* Fix breakage in REPLACING_VERSIONS support for emerge.Zac Medico2010-08-172-1/+15
|
* Use EbuildPhase instead of EbuildProcess, for things like die_hooksZac Medico2010-08-171-2/+2
| | | | support.
* Make EbuildBinpkg inherit from CompositeTask since the EbuildPhaseZac Medico2010-08-171-12/+23
| | | | class is capable of executing the 'package' phase.
* Make EbuildBinpkg inherit from EbuildProcess since the 'package'Zac Medico2010-08-171-18/+6
| | | | phase is already a member of actionmap.
* Pass actionmap keyword argument as keyword, rather than positional.Zac Medico2010-08-171-1/+1
|
* Unify ebuild spawing some more. All proper ebuild phases which executeZac Medico2010-08-171-24/+5
| | | | ebuild.sh are spawned via _doebuild_spawn() now. No exceptions.
* Fix _spawn_phase() to spawn phases without sandbox when necessary.Zac Medico2010-08-171-8/+2
|
* Make doebuild() use EbuildPhase to execute all phase (unless returnpidZac Medico2010-08-171-0/+10
| | | | is True, which is only for the "depend" phase now).
* Make EbuildBuild check the manifest before beginning, since withZac Medico2010-08-161-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 Medico2010-08-163-11/+20
|
* Fix ebuild.sh argument for cleanrm phase.Zac Medico2010-08-161-1/+6
|
* Move the fakeroot_state attribute back to EbuildSpawnProcess fromZac Medico2010-08-162-4/+4
| | | | AbstractEbuildProcess (only EbuildSpawnProcess uses it).
* Move fakeroot_state attribute from EbuildSpawnProcess toZac Medico2010-08-162-4/+4
| | | | AbstractEbuildProcess.
* Remove unused attributes from classes.Zac Medico2010-08-168-39/+32
|
* Split out parts of doebuild() so that EbuildProcess can bypass itZac Medico2010-08-163-26/+50
| | | | and call the spawn() function directly.
* Revert back to using portdbapi.getFetchMap() since the Package classZac Medico2010-08-161-5/+6
| | | | doesn't cache SRC_URI.
* Pass is_valid_flag to use_reduce if possibleSebastian Luther2010-08-162-4/+5
|
* portage.dep.use_reduce: Better validation of use flags in use conditionalsSebastian Luther2010-08-161-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 insteadZac Medico2010-08-162-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 ofZac Medico2010-08-161-6/+5
| | | | invoking portdbapi.getFetchMap().
* Enable EbuildIpcDaemon support by default.Zac Medico2010-08-151-4/+5
|
* Remove PollScheduler._schedule_waitpid() since this case isn't triggeredZac Medico2010-08-154-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, sinceZac Medico2010-08-151-31/+12
| | | | _unregister() automatically discards stale events now.
* Fix PollScheduler._unregister() to discard any unhandled eventsZac Medico2010-08-151-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 Medico2010-08-154-8/+8
| | | | instead of setting self.returncode directly.
* Evaluate SRC_URI and return early if there's nothing to fetch.Zac Medico2010-08-151-26/+52
|
* Make DoebuildSpawnTestCase instantiate a minimal Package instance, andZac Medico2010-08-151-1/+1
| | | | fix code to tolerate missing metadata values in various places.
* Remove unuser return values from PollScheduler event handlers.Zac Medico2010-08-154-6/+0
|
* Remove redundant os.path.join() call in _init_ipc_fifos().Zac Medico2010-08-151-3/+1
|
* Add the "unexpected bash exit" case to the docstring.Zac Medico2010-08-151-1/+3
|
* Disable EbuildIpcDaemon for now, since it seems to be triggeringZac Medico2010-08-141-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_reduceSebastian Luther2010-08-141-2/+2
|
* When in background mode, set NOCOLOR=true in order to prevent colorZac Medico2010-08-141-0/+5
| | | | | codes from showing up in logs, since we're not displaying to a terminal anyway. Thanks to Brian Harring for the suggestion.
* Move 'phase' attribute to AbstractEbuildProcess from subclasses, soZac Medico2010-08-143-11/+11
| | | | the _get_phase() method isn't needed.
* Add a QueryCommand.settings attribute and use it so that $USEZac Medico2010-08-141-1/+1
| | | | | doesn't have to be passed to the daemon in has_version and best_version calls.
* Fix EbuildSpawnProcess to use self.settings.environ() for the spawnZac Medico2010-08-142-8/+3
| | | | | environment, so all AbstractEbuildProcess subclasses are consistent in this way.
* Make sure PORTAGE_IPC_DAEMON is only in the environment forZac Medico2010-08-141-3/+6
| | | | | appropriate phases (it was leaking into clean/cleanrm from previous phases.
* Fix _schedule spelling in _schedule_waitpid().Zac Medico2010-08-141-1/+1
|
* Add a PollScheduler._schedule_waitpid() method for SubProcess._wait()Zac Medico2010-08-144-4/+49
| | | | | to use as an alternative to hanging up the scheduler in a blocking waitpid call.
* Atom.violated_conditionals: Use iuse.is_valid_flag instead of iuse.allSebastian Luther2010-08-132-6/+8
|
* Add back the POLLHUP handling for now since PipeReaderTestCase breaksZac Medico2010-08-131-1/+5
| | | | without it.
* Stop handling POLLHUP events, since we're only polling for input andZac Medico2010-08-131-5/+1
| | | | | | POLLHUP is really intendend for purposes of output polling. Hopefully this solves a problem with POLLHUP events causing premature unregistration of event handlers (and subsequent hang in waitpid).
* Implement use dependency defaultsSebastian Luther2010-08-133-13/+31
|
* Handle KeyError due to stale events.Zac Medico2010-08-131-6/+14
|
* Bug #315615 - Use EbuildIpcDaemon to implement has_version and best_version.Zac Medico2010-08-133-2/+9
| | | | | This provides performance benefits and also avoids permissions issues with FEATURES=userpriv.
* Rename SubProcess._zombie() to _orphan_process_warn() and clarifyZac Medico2010-08-132-6/+6
| | | | the eerror message.
* Write eerror messages to the log file, and only to stdout whenZac Medico2010-08-131-5/+30
| | | | appropriate.