| Commit message (Expand) | Author | Age | Files | Lines |
* | * Fix doebuild so "returnpid" works for preinst and postinst. | Zac Medico | 2008-07-14 | 1 | -11/+39 |
* | Add async execution support for pkg_preinst and pkg_postinst. This allows the | Zac Medico | 2008-07-14 | 1 | -8/+69 |
* | Remove redundant failed_packages check from Scheduler._main_loop() since | Zac Medico | 2008-07-13 | 1 | -2/+1 |
* | Ensure that that Scheduler._main_loop() doesn't return before the merge | Zac Medico | 2008-07-13 | 1 | -1/+3 |
* | Remove all traces of the "poll" parameter for the PollScheduler constructor | Zac Medico | 2008-07-13 | 1 | -8/+6 |
* | * Since can_poll_pty() is unsafe due to he possibility of the poll() call | Zac Medico | 2008-07-13 | 1 | -42/+27 |
* | In can_poll_tty(), direct bash's stderr into the pty since we don't want | Zac Medico | 2008-07-13 | 1 | -1/+1 |
* | Changes to pym/_emerge/__init__.py from the previous commit weren't meant | Zac Medico | 2008-07-13 | 1 | -21/+3 |
* | Fix broken binpkg path comparison in in binarytree.inject() so that duplicate | Zac Medico | 2008-07-13 | 1 | -3/+21 |
* | In order to avoid having BlockerDB instantiate a new FakeVartree for each | Zac Medico | 2008-07-13 | 1 | -9/+110 |
* | Fix Scheduler._schedule_tasks() so that it never schedules a task when a | Zac Medico | 2008-07-13 | 1 | -1/+1 |
* | Decrement the job count prior to merging a given package (after it's been | Zac Medico | 2008-07-13 | 1 | -9/+7 |
* | * Wrap calls to PollScheduler._schedule_tasks() with a _schedule() method | Zac Medico | 2008-07-12 | 1 | -5/+25 |
* | Rename PollScheduler._schedule() to _schedule_wait(). | Zac Medico | 2008-07-12 | 1 | -4/+4 |
* | Remember to close file descriptors before returning early from can_poll_pty(). | Zac Medico | 2008-07-12 | 1 | -0/+2 |
* | Add missing self.wait() calls when tasks return unsuccessfully. | Zac Medico | 2008-07-12 | 1 | -2/+8 |
* | Set self._mergelist inside Scheduler._calc_resume_list() since it needs to | Zac Medico | 2008-07-12 | 1 | -5/+6 |
* | Implement a runtime test that checks whether it's possible to use poll() to | Zac Medico | 2008-07-12 | 1 | -9/+69 |
* | Split out a portage._create_pty_or_pipe() function to avoid duplicate code. | Zac Medico | 2008-07-12 | 1 | -25/+2 |
* | Derive a PtyReaderTestCase from PipeReaderTestCase. This test is expected to | Zac Medico | 2008-07-12 | 1 | -2/+12 |
* | Create a test case for the poll loop which uses the loop to read data from a | Zac Medico | 2008-07-12 | 1 | -41/+226 |
* | * Add a digraph.get() method, analogous to dict.get(), used to simplify | Zac Medico | 2008-07-12 | 1 | -6/+3 |
* | For subclasses of Task, explicitly assign __hash__ = Task.__hash__ for | Zac Medico | 2008-07-12 | 1 | -0/+5 |
* | Fix SpawnProcess.start() to return early and notify exit listeners if the | Zac Medico | 2008-07-11 | 1 | -1/+10 |
* | Call settings.reset() in EbuildMetadataPhase.start() since that's what | Zac Medico | 2008-07-11 | 1 | -0/+1 |
* | Document the new --jobs and --load-average options for parallelization. | Zac Medico | 2008-07-11 | 1 | -4/+24 |
* | Refactor and simplify the main task scheduling and poll loops: | Zac Medico | 2008-07-11 | 1 | -94/+74 |
* | Add support for parallel --regen, using the existing --jobs and --load-average | Zac Medico | 2008-07-10 | 1 | -135/+326 |
* | When a package replaces another one, add the corresponding uninstall task | Zac Medico | 2008-07-10 | 1 | -1/+19 |
* | * Fix AsynchronousTask._wait_hook() to prevent potential recursive calls | Zac Medico | 2008-07-10 | 1 | -2/+22 |
* | * Handle errno.ECHILD and errno.ESRCH from waitpid() and kill() calls. These | Zac Medico | 2008-07-10 | 1 | -4/+28 |
* | Fix Scheduler._is_restart_necessary() to return False if the replacement | Zac Medico | 2008-07-10 | 1 | -0/+48 |
* | Like in Binpkg, cancel or wait for the prefetcher in EbuildBuild. | Zac Medico | 2008-07-09 | 1 | -4/+36 |
* | For parallel-fetch prefetchers, pass fetchonly=1 into the EbuildFetcher | Zac Medico | 2008-07-09 | 1 | -1/+2 |
* | Use the EbuildFetcher class to implement async fetch for the EbuildBuild | Zac Medico | 2008-07-09 | 1 | -30/+47 |
* | * Unify the scheduler's "build" and "extract" queues into a single | Zac Medico | 2008-07-09 | 1 | -11/+34 |
* | Fix SubProcess._poll to handle a missing pid gracefully. | Zac Medico | 2008-07-09 | 1 | -0/+2 |
* | Fix Scheduler._choose_pkg() to perform uninstallation actions (due to | Zac Medico | 2008-07-09 | 1 | -5/+25 |
* | Fix _prune_digraph() to correctly distinguish "nomerge" nodes from | Zac Medico | 2008-07-09 | 1 | -1/+2 |
* | * Fix _choose_pkg() to pop the first node if there are no other jobs running. | Zac Medico | 2008-07-08 | 1 | -2/+6 |
* | Make the "tight loop" assertion trigger whenever there is no state change | Zac Medico | 2008-07-08 | 1 | -1/+1 |
* | In scheduler._schedule_main(), only consider a poll() event to be a state | Zac Medico | 2008-07-08 | 1 | -1/+1 |
* | Fix Scheduler._dependent_on_scheduled_merges() to properly distinguish | Zac Medico | 2008-07-08 | 1 | -1/+1 |
* | Remove redundant call to _schedule_main(). | Zac Medico | 2008-07-08 | 1 | -2/+0 |
* | * Call self._wait() when unregistering output handlers, in order to avoid | Zac Medico | 2008-07-08 | 1 | -8/+24 |
* | Derive PackageMerge from AsynchronousTask instead of CompositeTask since | Zac Medico | 2008-07-08 | 1 | -1/+1 |
* | Raise an AssertionError in CompositeTask._wait() if it's detected that | Zac Medico | 2008-07-08 | 1 | -1/+7 |
* | Fix infinite loop in CompositeTask._wait(). | Zac Medico | 2008-07-08 | 1 | -1/+4 |
* | Fix ValueError triggered when Scheduler._choose_pkg() doesn't find a package | Zac Medico | 2008-07-08 | 1 | -1/+2 |
* | Use a normal list instead of a deque for Scheduler._pkg_queue since deque | Zac Medico | 2008-07-08 | 1 | -3/+3 |