Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update timestamps in headers of modified files.v2.2.0_alpha28 | Zac Medico | 2011-03-18 | 4 | -4/+4 |
| | |||||
* | PackageVirtualDbapi: fix get() for reposyntax | Zac Medico | 2011-03-18 | 2 | -3/+3 |
| | |||||
* | CompositeTask: fix _wait for TASK_QUEUED | Zac Medico | 2011-03-18 | 1 | -3/+19 |
| | | | | | | | Though this case might never have been triggered, the logic was broken for cases in which self.cancelled was false and a task was queued. In this case we need to call back into the scheduler until the queued task is started or we are cancelled, whichever comes first. | ||||
* | EbuildIpcDaemon: use non-blocking write | Zac Medico | 2011-03-17 | 1 | -5/+24 |
| | | | | | | | | | | | This prevents the Scheduler from hanging if the client is killed before we can send the reply, as reported by David James: http://codereview.chromium.org/6713003 This commit depends on ebuild-ipc (the client) opening the other side of this fifo before it sends its request, which has already been added in commit eff879ff0ce7dcc1ce68d5f16de1ec73051f8c18. | ||||
* | AsynchronousLock: implement _cancel | Zac Medico | 2011-03-17 | 1 | -0/+8 |
| | |||||
* | AsynchronousTask: add _cancel template method | Zac Medico | 2011-03-16 | 7 | -17/+21 |
| | |||||
* | Update Scheduler to protect against infinite loop | David James | 2011-03-16 | 1 | -4/+2 |
| | | | | | If we have running tasks, but we're not listening to these tasks, we're going to loop forever. So throw an exception in this case. | ||||
* | Scheduler: tweak prefetcher cancellation logic | Zac Medico | 2011-03-16 | 4 | -7/+16 |
| | | | | | This should prevent "TypeError: an integer is required" raised from waitpid when trying to cancel a prefetcher that never started. | ||||
* | CompositeTask: handle unstarted terminated tasks | Zac Medico | 2011-03-16 | 3 | -6/+24 |
| | |||||
* | CompositeTask: fix assertion in _wait | Zac Medico | 2011-03-16 | 1 | -0/+5 |
| | |||||
* | AsynchronousTask: always call wait() if cancelled | Zac Medico | 2011-03-16 | 4 | -10/+7 |
| | | | | | | This is needed in order to ensure that exit listeners are called. Subclasses call the base class cancel() method in order to inherit the wait() call. | ||||
* | Scheduler: terminate _merge_wait_queue | Zac Medico | 2011-03-16 | 1 | -0/+4 |
| | |||||
* | slot_conflict: tweak message and fix grammar | Zac Medico | 2011-03-15 | 1 | -1/+1 |
| | |||||
* | emerge: support [ y | n ] for --quietv2.2.0_alpha27 | Zac Medico | 2011-03-14 | 2 | -5/+31 |
| | | | | | | This allows --quiet and --quiet-build to be enabled via EMERGE_DEFAULT_OPTS, and then temporarily disabled via the command- line. | ||||
* | Update timestamps in headers of modified files. | Zac Medico | 2011-03-14 | 1 | -1/+1 |
| | |||||
* | Scheduler: fix AttributeError in _terminate_tasks | Zac Medico | 2011-03-12 | 1 | -1/+4 |
| | | | | | Thanks to David James <davidjames@google.com> for reporting this error: AttributeError: 'EbuildPhase' object has no attribute 'merge' | ||||
* | PollScheduler: tweek termination logic | Zac Medico | 2011-03-10 | 4 | -11/+36 |
| | | | | | | | | | * PollScheduler and all subclasses now use the _terminated_tasks variable to check whether or not _terminate_tasks() has been called, and behave appropriately in that case. * The _schedule_tasks() method now has documentation about the relationship with _terminate_tasks() and _terminated_tasks. | ||||
* | PollScheduler: call _terminate_tasks in _schedule | Zac Medico | 2011-03-10 | 1 | -7/+11 |
| | | | | | This prevents it from being called while the _schedule_tasks() implementation is running, in order to avoid potential interference. | ||||
* | Scheduler: avoid infinite loop after CTRL-C | Zac Medico | 2011-03-10 | 1 | -1/+14 |
| | | | | | | | | If CTRL-C was received at certain times, it was possible for discarded tasks to be erroneously left in Scheduler._running_tasks, which would cause the main loop to run infinitely. Thanks to David James <davidjames@google.com> for reporting this issue and helping to devise a solution. | ||||
* | AbstractPollTask: log exceptional events | Zac Medico | 2011-03-09 | 2 | -1/+15 |
| | | | | | | | | | | | | | | | | Previously, when AbstractPollTask receives a POLLERR or POLLNVAL event, it would silently cancel the task. Now it will generate a message like this: !!! SpawnProcess received strange poll event: 8 The message is displayed via a new _log_poll_exception method, which is overridden by AbstractEbuildProcess to log the message via elog. This might help diagnose reported cases of SIGTERM signals killing ebuild processes for no apparent reason: http://code.google.com/p/chromium-os/issues/detail?id=12968 | ||||
* | unmerge: use vardbapi._dblink() to simplify | Zac Medico | 2011-03-08 | 1 | -4/+1 |
| | | | | The dblink constructor is complex and best avoided. | ||||
* | Bug #357009: Disallow uninstallation of currently used Python interpreter. | Arfrever Frehtes Taifersar Arahesis | 2011-03-09 | 1 | -13/+21 |
| | |||||
* | depgraph: don't output \b to non-tty | Zac Medico | 2011-03-02 | 1 | -2/+7 |
| | | | | This will fix bug #357093. | ||||
* | action_deselect: expand cat against world atoms | Zac Medico | 2011-03-01 | 1 | -12/+24 |
| | |||||
* | depgraph: case insensitive search for unsatisfied | Zac Medico | 2011-02-28 | 1 | -1/+12 |
| | | | | This will fix bug #356555. | ||||
* | action_sync: handle IPv6 [ip] in SYNC some more | Zac Medico | 2011-02-24 | 1 | -4/+14 |
| | | | | This will fix bug #356375 some more. | ||||
* | action_sync: handle IPv6 [ip] in SYNC | Zac Medico | 2011-02-24 | 1 | -1/+2 |
| | | | | This will fix bug #356375. | ||||
* | emerge: mention revdep-rebuild in depclean help | Zac Medico | 2011-02-22 | 1 | -5/+10 |
| | |||||
* | show_depclean_suggestion: use ewarn, not einfo | Zac Medico | 2011-02-21 | 1 | -1/+1 |
| | |||||
* | chk_updated_cfg_files: don't display ._cfg0000_ | Zac Medico | 2011-02-21 | 1 | -1/+4 |
| | |||||
* | Update date headers in modified files. | Zac Medico | 2011-02-21 | 1 | -1/+1 |
| | |||||
* | chk_updated_cfg_files: fix plurality of message | Zac Medico | 2011-02-21 | 1 | -2/+8 |
| | | | | This will fix bug #355803. | ||||
* | post_emerge: suggest depclean after world update | Zac Medico | 2011-02-21 | 1 | -0/+13 |
| | | | | This is part of bug #354787. | ||||
* | post_emerge: pass in more info | Zac Medico | 2011-02-21 | 1 | -6/+15 |
| | | | | | This makes it possible to do things like give special suggestions after world updates. | ||||
* | SubProcess: notify exit listeners in _poll | Zac Medico | 2011-02-20 | 1 | -0/+1 |
| | |||||
* | Scheduler: ensure _prefetchers is cleared | Zac Medico | 2011-02-20 | 1 | -0/+1 |
| | |||||
* | emerge: fix --sync cvs error message | Zac Medico | 2011-02-18 | 1 | -2/+2 |
| | |||||
* | emerge: warn to stderr if post_* hooks fail | Zac Medico | 2011-02-18 | 2 | -6/+9 |
| | |||||
* | emerge: support post_emerge hook like post_sync | Gokdeniz Karadag | 2011-02-18 | 1 | -0/+8 |
| | | | | This will fix bug #355447. | ||||
* | unmerge: don't show null/ cat in unmatched atoms | Zac Medico | 2011-02-18 | 1 | -2/+2 |
| | | | | This will fix bug #269534. | ||||
* | BinpkgVerifier: disable color in background mode | Zac Medico | 2011-02-18 | 1 | -1/+5 |
| | |||||
* | emerge --sync: display message when cvs fails | Zac Medico | 2011-02-17 | 1 | -0/+2 |
| | |||||
* | Update date headers for modified files.v2.2.0_alpha24 | Zac Medico | 2011-02-15 | 3 | -3/+3 |
| | |||||
* | depgraph: fix virtual code to handle unsatisfied | Zac Medico | 2011-02-14 | 1 | -2/+2 |
| | |||||
* | depgraph: --deep=0 is equivalent to no deep param | Zac Medico | 2011-02-14 | 1 | -2/+3 |
| | |||||
* | depgraph: --nodeps overrides --complete-graph | Zac Medico | 2011-02-14 | 1 | -0/+1 |
| | |||||
* | Recognize git-2.eclass when reinstalling self. | Zac Medico | 2011-02-14 | 3 | -3/+6 |
| | |||||
* | Recognize git-2.eclass as a live eclass. | Zac Medico | 2011-02-14 | 1 | -0/+1 |
| | |||||
* | depgraph: fix KeyError in select_atoms | Zac Medico | 2011-02-14 | 1 | -0/+2 |
| | | | | This happens if depstring evaluates to nothing. | ||||
* | get_dep_chain: fix broken parent_arg reference | Zac Medico | 2011-02-13 | 1 | -1/+1 |
| | | | | Broken since commit b4f98ec5a1eb2e010a455b19db5bef8d61def241. |