| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
svn path=/main/trunk/; revision=11164
|
|
|
|
|
|
| |
mode.
svn path=/main/trunk/; revision=11163
|
|
|
|
| |
svn path=/main/trunk/; revision=11162
|
|
|
|
| |
svn path=/main/trunk/; revision=11161
|
|
|
|
| |
svn path=/main/trunk/; revision=11160
|
|
|
|
| |
svn path=/main/trunk/; revision=11159
|
|
|
|
|
|
|
| |
graph and create a new clean list when necessary. This completes the fix
for bug #230053.
svn path=/main/trunk/; revision=11158
|
|
|
|
|
|
|
|
| |
bail out if the clean list contains a package that will cause link breakage
if removed. TODO: Calculate a new cleanlist instead of bailing out, and
implement a package set for rebuilding consumers.
svn path=/main/trunk/; revision=11157
|
|
|
|
|
|
| |
since obviously it shouldn't grow each time that findProviders() is called.
svn path=/main/trunk/; revision=11156
|
|
|
|
|
|
| |
it works when $ROOT != /.
svn path=/main/trunk/; revision=11155
|
|
|
|
| |
svn path=/main/trunk/; revision=11154
|
|
|
|
| |
svn path=/main/trunk/; revision=11153
|
|
|
|
|
|
|
|
| |
the depgraph class to do it. The depgraph class was used in the past for this
purpose but back then it didn't handle USE flags correctly for installed
packages. Now it works fine.
svn path=/main/trunk/; revision=11152
|
|
|
|
|
|
| |
_status_msg().
svn path=/main/trunk/; revision=11151
|
|
|
|
| |
svn path=/main/trunk/; revision=11150
|
|
|
|
|
|
| |
filtered out when in background mode.
svn path=/main/trunk/; revision=11147
|
|
|
|
|
|
| |
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
|