| Commit message (Expand) | Author | Age | Files | Lines |
* | Make AsynchronousTask "registered" attributes private since poll() and wait() | Zac Medico | 2008-07-15 | 1 | -32/+32 |
* | Use self.registered to return early from SubProcess.poll() when possible, | Zac Medico | 2008-07-15 | 1 | -2/+2 |
* | Add a PollScheduler._next_poll_event() method to maintain a central event | Zac Medico | 2008-07-15 | 1 | -11/+25 |
* | Split out a _main_loop_cleanup() method from Scheduler._merge() and call it | Zac Medico | 2008-07-15 | 1 | -6/+9 |
* | Split out a generic SubProcess._unregister() method that's called from | Zac Medico | 2008-07-14 | 1 | -44/+54 |
* | Unregister from poll() objects before closing file in order to hopefully | Zac Medico | 2008-07-14 | 1 | -17/+24 |
* | Call prepare_build_dirs() prior to pkg_preinst so that logging works | Zac Medico | 2008-07-14 | 1 | -0/+2 |
* | * Fix doebuild so "returnpid" works for preinst and postinst. | Zac Medico | 2008-07-14 | 3 | -42/+135 |
* | Add async execution support for pkg_preinst and pkg_postinst. This allows the | Zac Medico | 2008-07-14 | 3 | -21/+97 |
* | 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 | 2 | -58/+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 | 2 | -4/+22 |
* | 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 | 3 | -80/+62 |
* | Derive a PtyReaderTestCase from PipeReaderTestCase. This test is expected to | Zac Medico | 2008-07-12 | 2 | -5/+64 |
* | Create a test case for the poll loop which uses the loop to read data from a | Zac Medico | 2008-07-12 | 4 | -41/+272 |
* | * Add a digraph.get() method, analogous to dict.get(), used to simplify | Zac Medico | 2008-07-12 | 2 | -6/+7 |
* | 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 |
* | Fix a few typos found with pyflakes. Thanks to Cardoe for reporting. | Zac Medico | 2008-07-11 | 1 | -3/+5 |
* | Copy INHERITED/_eclasses_ handling from portdbapi._metadata_callback() to | Zac Medico | 2008-07-11 | 1 | -0/+6 |
* | 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 | 3 | -5/+37 |
* | 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 | 3 | -202/+434 |
* | When a package replaces another one, add the corresponding uninstall task | Zac Medico | 2008-07-10 | 1 | -1/+19 |
* | Bug #231382 - If the open() call in getconfig() raises an unexpected IOError, | Zac Medico | 2008-07-10 | 1 | -0/+1 |
* | Make digestcheck() skip the "checking ebuild checksums" part when fetching in | Zac Medico | 2008-07-10 | 1 | -1/+1 |
* | * 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 |
* | Bug #231358 - Fix 'NameError: global name 'p' is not defined' in | Zac Medico | 2008-07-09 | 1 | -1/+1 |
* | 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 | 2 | -32/+48 |
* | * 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 |