summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* Scheduler: tweak prefetcher cancellation logicZac Medico2011-03-184-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 tasksZac Medico2011-03-183-6/+24
|
* CompositeTask: fix assertion in _waitZac Medico2011-03-181-0/+5
|
* AsynchronousTask: always call wait() if cancelledZac Medico2011-03-184-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_queueZac Medico2011-03-181-0/+4
|
* slot_conflict: tweak message and fix grammarZac Medico2011-03-181-1/+1
|
* emerge: support [ y | n ] for --quietv2.1.9.43Zac Medico2011-03-142-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 Medico2011-03-141-1/+1
|
* Scheduler: fix AttributeError in _terminate_tasksZac Medico2011-03-141-1/+4
| | | | | Thanks to David James <davidjames@google.com> for reporting this error: AttributeError: 'EbuildPhase' object has no attribute 'merge'
* PollScheduler: tweek termination logicZac Medico2011-03-144-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 _scheduleZac Medico2011-03-141-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-CZac Medico2011-03-141-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 eventsZac Medico2011-03-142-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 simplifyZac Medico2011-03-141-4/+1
| | | | The dblink constructor is complex and best avoided.
* Bug #357009: Disallow uninstallation of currently used Python interpreter.Arfrever Frehtes Taifersar Arahesis2011-03-141-13/+21
|
* depgraph: don't output \b to non-ttyZac Medico2011-03-141-2/+7
| | | | This will fix bug #357093.
* action_deselect: expand cat against world atomsZac Medico2011-03-011-12/+24
|
* depgraph: case insensitive search for unsatisfiedZac Medico2011-03-011-1/+12
| | | | This will fix bug #356555.
* action_sync: handle IPv6 [ip] in SYNC some moreZac Medico2011-03-011-4/+14
| | | | This will fix bug #356375 some more.
* action_sync: handle IPv6 [ip] in SYNCZac Medico2011-03-011-1/+2
| | | | This will fix bug #356375.
* emerge: mention revdep-rebuild in depclean helpv2.1.9.41Zac Medico2011-02-221-5/+10
|
* show_depclean_suggestion: use ewarn, not einfoZac Medico2011-02-211-1/+1
|
* chk_updated_cfg_files: don't display ._cfg0000_Zac Medico2011-02-211-1/+4
|
* Update date headers in modified files.Zac Medico2011-02-211-1/+1
|
* chk_updated_cfg_files: fix plurality of messageZac Medico2011-02-211-2/+8
| | | | This will fix bug #355803.
* post_emerge: suggest depclean after world updateZac Medico2011-02-211-0/+13
| | | | This is part of bug #354787.
* post_emerge: pass in more infoZac Medico2011-02-211-6/+15
| | | | | This makes it possible to do things like give special suggestions after world updates.
* SubProcess: notify exit listeners in _pollZac Medico2011-02-211-0/+1
|
* Scheduler: ensure _prefetchers is clearedZac Medico2011-02-211-0/+1
|
* emerge: fix --sync cvs error messageZac Medico2011-02-191-2/+2
|
* emerge: warn to stderr if post_* hooks failZac Medico2011-02-192-6/+9
|
* emerge: support post_emerge hook like post_syncGokdeniz Karadag2011-02-191-0/+8
| | | | This will fix bug #355447.
* unmerge: don't show null/ cat in unmatched atomsZac Medico2011-02-191-2/+2
| | | | This will fix bug #269534.
* BinpkgVerifier: disable color in background modeZac Medico2011-02-191-1/+5
|
* emerge --sync: display message when cvs failsZac Medico2011-02-191-0/+2
|
* Update date headers for modified files.v2.1.9.40Zac Medico2011-02-153-3/+3
|
* depgraph: fix virtual code to handle unsatisfiedZac Medico2011-02-141-2/+2
|
* depgraph: --deep=0 is equivalent to no deep paramZac Medico2011-02-141-2/+3
|
* depgraph: --nodeps overrides --complete-graphZac Medico2011-02-141-0/+1
|
* Recognize git-2.eclass when reinstalling self.Zac Medico2011-02-143-3/+6
|
* Recognize git-2.eclass as a live eclass.Zac Medico2011-02-141-0/+1
|
* depgraph: fix KeyError in select_atomsZac Medico2011-02-141-0/+2
| | | | This happens if depstring evaluates to nothing.
* get_dep_chain: fix broken parent_arg referenceZac Medico2011-02-131-1/+1
| | | | Broken since commit b4f98ec5a1eb2e010a455b19db5bef8d61def241.
* depgraph: normalize indentationZac Medico2011-02-131-5/+4
|
* depgraph: ignore fewer depsZac Medico2011-02-131-2/+6
| | | | | This restores some desired logic that was left out of commit 5655b4dcfe5e9dae5e9d6352d791c3d04953baf7.
* depgraph: remove redundant "empty" param checksZac Medico2011-02-131-7/+4
| | | | | Since commit 878f166c5a06b0ab6c5a34dd658c878cc7605fe7, empty implies deep = True, so these checks are redundant.
* depgraph: --nodeps overrides --deepZac Medico2011-02-131-2/+5
|
* get_dep_chain: fix unsatisfied_dependency logicZac Medico2011-02-131-2/+5
| | | | | | Always prefer parents for which the parent atom is unsatisfied by the child node. This seems to be the intention of the code, though it may not have behaved correctly due to continuation of the parent loop.
* get_dep_chain: prefer parents in merge listZac Medico2011-02-131-10/+20
| | | | This will fix bug #354747.
* depgraph: fix and test depth control for virtualsZac Medico2011-02-131-8/+42
|