summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Bug #278895 - After EbuildIpcDaemon identifies an ebuild process thatZac Medico2010-08-132-1/+28
| | | | | has left an orphan child process running in the background, generate an eerror message about a 'zombie' process and note the pid.
* Use EbuildIpcDaemon to replace the functionality ofZac Medico2010-08-131-11/+86
| | | | EBUILD_EXIT_STATUS_FILE.
* * Fix IndexError in PollScheduler._next_poll_event() by raisingZac Medico2010-08-131-2/+11
| | | | | | StopIteration instead. * Add an optional timeout parameter to PollScheduler._schedule_wait() (this will be used in a later commit).
* Call pickle.load() directly on the input pipe, and handle exceptions.Zac Medico2010-08-121-7/+4
|
* Refactor interaction between EbuildIpcDaemon and ExitCommand.Zac Medico2010-08-121-1/+21
|
* Make IpcDaemonTestCase demonstrate an EbuildIpcDaemon basedZac Medico2010-08-121-10/+10
| | | | replacement for EBUILD_EXIT_STATUS_FILE.
* Split out an EbuildIpcDaemon class from FifoIpcDaemon.Zac Medico2010-08-122-42/+53
|
* Add some pieces of an IPC framework that will eventually allow ebuildZac Medico2010-08-121-0/+108
| | | | | | | | | | | | | | | processes can to communicate with portage's main python process. Here are a few possible uses: 1) Robust subshell/subprocess die support. This allows the ebuild environment to reliably die without having to rely on signal IPC. 2) Delegation of portageq calls to the main python process, eliminating performance and userpriv permission issues. 3) Reliable ebuild termination in cases when the ebuild has accidentally left orphan processes running in the backgraound (as in bug 278895).
* Avoid unnecessary sys.hexversion conditional.Zac Medico2010-08-121-5/+2
|
* Factor EBUILD_EXIT_STATUS_FILE code out of AbstractEbuildProcessZac Medico2010-08-124-29/+16
| | | | subclasses and into AbstractEbuildProcess itself.
* Consolidate EBUILD_EXIT_STATUS_FILE handling in doebuild.spawn()Zac Medico2010-08-122-4/+12
| | | | and subclasses of AbstractEbuildProcess.
* autounmask: Print use flag that trigger a given dep in commentsSebastian Luther2010-08-121-2/+33
|
* Add copyright header.Zac Medico2010-08-121-0/+2
|
* Add missing __init__.pyZac Medico2010-08-121-0/+0
|
* _emerge.depgraph: use writemsg() instead of print() (to silence tests)Sebastian Luther2010-08-121-48/+40
|
* Tests: resolver/test_slot_collisions: Check for slot_collision_solutionsSebastian Luther2010-08-121-2/+5
|
* slot_collision_handler: Add more documentationSebastian Luther2010-08-121-0/+59
|
* slot_collision_handler: Fix function names broken by import changesSebastian Luther2010-08-121-3/+3
|
* slot_collision_handler: Minor formatting changesSebastian Luther2010-08-121-2/+2
|
* slot_collision_handler: Pass noiselevel=-1 to writemsg for debug outputSebastian Luther2010-08-121-16/+20
|
* Remove unused importSebastian Luther2010-08-121-2/+0
|
* slot_collision_handler: Return a string instead of priting the messages to ↵Sebastian Luther2010-08-122-24/+33
| | | | screen.
* slot_collision_handler: Don't print an explanation for version based conflicts.Sebastian Luther2010-08-121-1/+11
|
* Rework the way the slot_collision_handler selects packages for display and ↵Sebastian Luther2010-08-121-53/+150
| | | | highlight violated parts of atoms.
* Add new slot collision handler in _emerge/resolver/slot_collision.pySebastian Luther2010-08-122-186/+661
|
* autounmask: Print comments for USE changes tooSebastian Luther2010-08-121-0/+1
|
* Make REQUIRED_USE work again. Without paren_reduce this time.Sebastian Luther2010-08-111-9/+7
|
* Make sure we don't allow REQUIRED_USE in EAPIs that don't support itSebastian Luther2010-08-111-1/+5
|
* Make sure we don't allow IUSE defaults in EAPIs that don't allow themSebastian Luther2010-08-111-0/+5
|
* Use eapi_has_required_use for REQUIRED_USE eapi checksSebastian Luther2010-08-111-3/+3
|
* Introduce portage.eapi. Use it everywhere.Sebastian Luther2010-08-112-2/+4
|
* portage.dep._dep_check_strict: Unused, removedSebastian Luther2010-08-104-51/+25
|
* portage.dep.use_reduce: Work on depstrings instead of paren_reduce'd dep arraysSebastian Luther2010-08-102-14/+9
| | | | | This change makes paren_reduce and paren_normalize calls for use_reduce redundant, resp. wrong. All consumers inside portage are adopted.
* Allow flags from IUSE_IMPLICIT in REQUIRED_USE. Move checks to resolution time.Sebastian Luther2010-08-102-62/+37
|
* Add REQUIRED_USE check as pre-merge check.Sebastian Luther2010-08-101-0/+61
|
* Add REQUIRED_USE to metadata keys, caches, etc.Sebastian Luther2010-08-101-1/+1
|