| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
xterm titles whenever the status display is enabled.
svn path=/main/trunk/; revision=11146
|
|
|
|
|
|
| |
* Make _task() access _background directly instead of as a parameter.
svn path=/main/trunk/; revision=11145
|
|
|
|
|
|
|
| |
them. This makes it more useful as a hook, allowing Scheduler._poll() to
safely call _schedule().
svn path=/main/trunk/; revision=11144
|
|
|
|
|
|
|
| |
auto_schedule on the merge queue in order to avoid excess recursion which
prevents tasks from being marked complete as soon as they should be.
svn path=/main/trunk/; revision=11143
|
|
|
|
|
|
|
| |
are remaining tasks in cases when it's supposed to bail out due to a
package failure.
svn path=/main/trunk/; revision=11142
|
|
|
|
|
|
|
| |
call itself can consume poll events. Therefore, until a safe way exists,
don't do it.
svn path=/main/trunk/; revision=11141
|
|
|
|
|
|
| |
_schedule_tasks() when possible.
svn path=/main/trunk/; revision=11140
|
|
|
|
|
|
| |
until at least one of the existing jobs completes.
svn path=/main/trunk/; revision=11139
|
|
|
|
|
|
| |
a continue statement. Thanks to TGL for this patch.
svn path=/main/trunk/; revision=11138
|
|
|
|
| |
svn path=/main/trunk/; revision=11137
|
|
|
|
|
|
| |
curses.tigetstr() returns None.
svn path=/main/trunk/; revision=11136
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
new jobs can scheduled as soon a the load average is low enough, and
one of the running jobs doesn't have to complete for _schedule() to
get called.
* Cache the result of _background_mode() so it doesn't have to be called
inside _schedule(), since this method is called a lot more often now.
* Move background related state adjustments into _background_mode().
* Call _status_display.display() unconditionally inside _schedule_tasks(),
since we want to update the display to show current load average even
if no new jobs are added.
svn path=/main/trunk/; revision=11135
|
|
|
|
| |
svn path=/main/trunk/; revision=11134
|
|
|
|
|
|
| |
trigger it if either --quiet is enabled or --jobs > 1.
svn path=/main/trunk/; revision=11133
|
|
|
|
|
|
| |
the status display instead of directly to stdout.
svn path=/main/trunk/; revision=11132
|
|
|
|
|
|
| |
if stdout is a tty, so that the load average numbers are always current.
svn path=/main/trunk/; revision=11131
|
|
|
|
| |
svn path=/main/trunk/; revision=11130
|
|
|
|
|
|
| |
displayed, call display() after showing the given message.
svn path=/main/trunk/; revision=11129
|
|
|
|
|
|
|
|
|
|
|
| |
which in the future can be used to erase the line and update it with new
information such as the latest load average measurement. This uses curses
to obtain the simple control codes that are needed, and has fallback codes
in case the curses module is unavailable or raises an error. When stdout
is not a tty then the line erasing behavior is automatically disabled and
display updates are simply show on a new line.
svn path=/main/trunk/; revision=11128
|
|
|
|
|
|
|
|
|
| |
"Building this" or "Installing that". This delegates the resposibility of
generating \r and \n control characters, to guarantee that lines are created
or erased when necessary and appropriate. TODO: Make JobStatusDisplay display
the output.
svn path=/main/trunk/; revision=11127
|
|
|
|
|
|
|
| |
metadata.xml (in addition to use.local.desc). Thanks to Doug Goldstein
<cardoe@g.o> for this patch.
svn path=/main/trunk/; revision=11126
|
|
|
|
| |
svn path=/main/trunk/; revision=11124
|
|
|
|
|
|
|
|
| |
vardbapi.get_counter_tick_core() in cases when the vdb is empty. This
avoids pointless error messages when merging packages into a new root,
like when building stage 1.
svn path=/main/trunk/; revision=11123
|
|
|
|
|
|
| |
PackageUninstall (automatic uninstalls that solve blockers).
svn path=/main/trunk/; revision=11122
|
|
|
|
|
|
|
|
|
|
|
| |
is happening at a given time:
* Change "Emerging" messages to "Building" for ebuilds and "Extracting" for
binary packages.
* Change "Merging" messages to "Installing" and "Uninstalling".
svn path=/main/trunk/; revision=11121
|
|
|
|
|
|
|
|
|
| |
available, suppress output when level < logging.WARNING. This hides
">>> Regenerating /etc/ld.so.cache..." messages that appear after postrm
when PORT_LOGDIR is unset (the log file if it exists is removed after
postrm so there's no place to log the message).
svn path=/main/trunk/; revision=11120
|
|
|
|
| |
svn path=/main/trunk/; revision=11119
|
|
|
|
|
|
| |
that it's properly displayed in the foreground even when in background mode.
svn path=/main/trunk/; revision=11118
|
|
|
|
|
|
|
|
| |
mode. This is implemented by adding a new "out" parameter to the
portage.elog.e* functions, which can be used to send output to an arbitary
file instead of stdout.
svn path=/main/trunk/; revision=11117
|
|
|
|
|
|
|
|
|
|
| |
scheduler each time a fixed number of files are processed (currently 20).
This gives the scheduler an opportunity to service pending poll events. This
is implemented with a new PollScheduler._schedule_yield() method which calls
poll() exactly once, without blocking, and any services any resulting poll
events.
svn path=/main/trunk/; revision=11116
|
|
|
|
| |
svn path=/main/trunk/; revision=11115
|
|
|
|
|
|
| |
properties anymore.
svn path=/main/trunk/; revision=11114
|
|
|
|
| |
svn path=/main/trunk/; revision=11113
|
|
|
|
| |
svn path=/main/trunk/; revision=11112
|
|
|
|
| |
svn path=/main/trunk/; revision=11111
|
|
|
|
|
|
|
|
| |
>>> Jobs: 0 of 2 complete, 2 running Load average: 2.9, 2.4, 2.0
>>> Jobs: 0 of 2 complete, 1 running, 2 merges Load average: 2.8, 2.4, 2.0
>>> Jobs: 2 of 2 complete Load average: 2.6, 2.3, 2.0
svn path=/main/trunk/; revision=11107
|
|
|
|
| |
svn path=/main/trunk/; revision=11105
|
|
|
|
|
|
| |
mode, instead of stdout.
svn path=/main/trunk/; revision=11104
|
|
|
|
| |
svn path=/main/trunk/; revision=11103
|
|
|
|
| |
svn path=/main/trunk/; revision=11102
|
|
|
|
| |
svn path=/main/trunk/; revision=11101
|
|
|
|
|
|
| |
it doesn't exist after postrm cleaning.
svn path=/main/trunk/; revision=11100
|
|
|
|
|
|
| |
display more often than necessary and avoids showing inconsistent counts.
svn path=/main/trunk/; revision=11099
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
parameter to control whether the message is sent to stdout or stderr.
When level >= logging.WARNING then the message is sent to stderr,
otherwise it is sent to stdout. The noiselevel is passed directly to
writemsg().
* Use writemsg_level() for handling merge messages from dblink and add
appropriate noiselevel values to each call.
* Add a writemsg_level parameter to portage.env_update() so that dblink
can pass in dblink._display_merge() as a means to redirect output back
to the scheduler for appropriate handling when running in the background.
svn path=/main/trunk/; revision=11098
|
|
|
|
| |
svn path=/main/trunk/; revision=11097
|
|
|
|
|
|
|
|
|
| |
tracks whether or not any of it's attributes have changed since the last
time it was displayed, so the it's only displayed when something has changed.
Unlike before, now the display should always update whenever a relevant change
occurs.
svn path=/main/trunk/; revision=11096
|
|
|
|
|
|
| |
cancelling it.
svn path=/main/trunk/; revision=11095
|
|
|
|
| |
svn path=/main/trunk/; revision=11094
|
|
|
|
|
|
|
|
| |
so that any attempts to read from stdin will immediately return EOF instead
of blocking indefinitely. TODO: Use job control functions like tcsetpgrp()
to control access to stdin.
svn path=/main/trunk/; revision=11093
|
|
|
|
|
|
| |
instead of SubProcess.
svn path=/main/trunk/; revision=11092
|