| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
triggered when calling exit listeners.
* Make SequentialTaskQueue use exit listeners to trigger scheduling as
soon as a task exits. This makes it possible for the queues to
automatically schedule new tasks while scheduler remains in it's
poll() loop.
svn path=/main/trunk/; revision=11008
|
|
|
|
|
|
|
|
|
| |
errors commonly occur when ^C is used to kill emerge.
* Remove spawned pids from portage.process.spawned_pids immediately in order
to avoid a race condition for removing it.
svn path=/main/trunk/; revision=11007
|
|
|
|
|
|
|
| |
version of portage is the same exact version as the currently running
instance.
svn path=/main/trunk/; revision=11006
|
|
|
|
| |
svn path=/main/trunk/; revision=11005
|
|
|
|
|
|
| |
getmaskingstatus() that's triggered by a conditional in LICENSE.
svn path=/main/trunk/; revision=11004
|
|
|
|
|
|
| |
constructor.
svn path=/main/trunk/; revision=11003
|
|
|
|
|
|
|
|
|
|
|
| |
class. When in background mode, fetch output is logged to emerge-fetch.log.
This solves a problem with calling doebuild(returnpid=1) and then doebuild
calling fetch() synchronously. In that case, doebuild would return an int
if fetch() failed (including when running pkg_nofetch), which would lead
to a TypeError since doebuild(returnpid=1) is supposed to return a list
containing a spawned pid.
svn path=/main/trunk/; revision=11002
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"jobs" queue.
* Add support for logging fetches to /var/log/emerge-fetch.log when
--jobs is enabled. Previously this log was only used for
the parallel-fetch feature but now it's also used for --jobs.
The scheduler's "prefetch" queue has been renamed to "fetch" since
it's not exclusively used for parallel-fetch anymore.
* Pass the "background" parameter from Binpkg in to the BinpkgFetcher
instance, to send output to emerge-fetch.log instead of stdout.
svn path=/main/trunk/; revision=10999
|
|
|
|
| |
svn path=/main/trunk/; revision=10998
|
|
|
|
|
|
| |
blockers) in the correct order when building in parallel.
svn path=/main/trunk/; revision=10996
|
|
|
|
|
|
| |
"uninstall" nodes.
svn path=/main/trunk/; revision=10995
|
|
|
|
|
|
|
|
|
| |
* Allow _choose_pkg() to choose an uninstall node when it reaches the front
of the queue. TODO: fix order for uninstall operations.
* Fix _dependent_on_scheduled_merges() to handle direct circular deps
correctly.
svn path=/main/trunk/; revision=10994
|
|
|
|
|
|
| |
detected for a given _schedule_main() call.
svn path=/main/trunk/; revision=10993
|
|
|
|
|
|
| |
change if it results in a handler being unregistered.
svn path=/main/trunk/; revision=10992
|
|
|
|
|
|
| |
"nomerge" nodes from "uninstall" nodes.
svn path=/main/trunk/; revision=10991
|
|
|
|
| |
svn path=/main/trunk/; revision=10990
|
|
|
|
|
|
|
|
|
|
|
|
| |
triggering a tight loop. Also fix Subprocess._wait() to only schedule
when self.registered is True.
* Add an assertion inside Scheduler._schedule_main() to try and detect tight
loops like the one above.
* Fix typo in Scheduler._merge_exit().
svn path=/main/trunk/; revision=10989
|
|
|
|
|
|
| |
CompositeTask is designed for self._current_task to be set.
svn path=/main/trunk/; revision=10988
|
|
|
|
|
|
|
| |
self._current_task hasn't been properly updated after calling wait on
it.
svn path=/main/trunk/; revision=10987
|
|
|
|
| |
svn path=/main/trunk/; revision=10986
|
|
|
|
|
|
| |
and returns None.
svn path=/main/trunk/; revision=10985
|
|
|
|
|
|
| |
doesn't have a remove() method until python-2.5.
svn path=/main/trunk/; revision=10984
|
|
|
|
|
|
|
|
| |
options that are analogous to the corresponding `make` options. Input and
output handling still need work to make it look better and act more friendly
for things like interactive ebuilds that require input.
svn path=/main/trunk/; revision=10983
|
|
|
|
|
|
| |
* Make Binpkg pass the current background setting into subtasks.
svn path=/main/trunk/; revision=10982
|
|
|
|
|
|
| |
EbuildPhase class.
svn path=/main/trunk/; revision=10981
|
|
|
|
| |
svn path=/main/trunk/; revision=10980
|
|
|
|
|
|
| |
when max_jobs > 1.
svn path=/main/trunk/; revision=10979
|
|
|
|
|
|
| |
isn't exceeded.
svn path=/main/trunk/; revision=10978
|
|
|
|
| |
svn path=/main/trunk/; revision=10976
|
|
|
|
| |
svn path=/main/trunk/; revision=10975
|
|
|
|
|
|
|
|
| |
generic task exit callback.
* Remove erroneous self.wait() calls inside MergeListItem.start().
svn path=/main/trunk/; revision=10974
|
|
|
|
| |
svn path=/main/trunk/; revision=10971
|
|
|
|
|
|
| |
encapsulated and callers don't have to know about it.
svn path=/main/trunk/; revision=10970
|
|
|
|
|
|
|
|
|
| |
* Make AsynchronousTask classes call self.wait() to notify
exit listeners.
* Rewrite Scheduler._main_loop() to bring it closer to allowing
parallel build scheduling.
svn path=/main/trunk/; revision=10966
|
|
|
|
| |
svn path=/main/trunk/; revision=10965
|
|
|
|
|
|
| |
attrbute instead of just a local variable.
svn path=/main/trunk/; revision=10964
|
|
|
|
|
|
| |
from working properly in some cases.
svn path=/main/trunk/; revision=10963
|
|
|
|
|
|
| |
* Fix BinpkgVerifier.start() to call wait() since it's not asynchronous.
svn path=/main/trunk/; revision=10962
|
|
|
|
|
|
| |
merges. For now it executes synchronously inside the start() method.
svn path=/main/trunk/; revision=10961
|
|
|
|
| |
svn path=/main/trunk/; revision=10960
|
|
|
|
| |
svn path=/main/trunk/; revision=10959
|
|
|
|
|
|
| |
so that wget's progress bar works normally.
svn path=/main/trunk/; revision=10958
|
|
|
|
| |
svn path=/main/trunk/; revision=10957
|
|
|
|
|
|
|
| |
to public methods can be wrapped for implementing hooks such as exit listener
notification.
svn path=/main/trunk/; revision=10956
|
|
|
|
| |
svn path=/main/trunk/; revision=10955
|
|
|
|
|
|
|
|
|
| |
MergeListItem.execute().
* Fix TaskSequence._task_exit_handler() so it won't call
final_exit() if _default_exit() has already set
self._current_task to None.
svn path=/main/trunk/; revision=10954
|
|
|
|
| |
svn path=/main/trunk/; revision=10953
|
|
|
|
|
|
| |
way to start a task.
svn path=/main/trunk/; revision=10952
|
|
|
|
|
|
| |
previous commit.
svn path=/main/trunk/; revision=10951
|
|
|
|
|
|
| |
can use as a generic task exit callback.
svn path=/main/trunk/; revision=10950
|