| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This amkes sub-slot matching work correctly.
|
| |
|
|
|
|
|
| |
This will fix bug #439694, where built slot-operator deps failed
to trigger rebuilds if the deps were initially broken.
|
|
|
|
|
|
|
|
| |
The multislot tweak from bug #220341 (see commit
65a421ae35acd5639ad1258e220754a85e55de6e) triggered erroneous matches
for built slot-operator deps, causing the depgraph to treat unsatisfied
built slot-operator deps as if they were satisfied (one of the issues
uncovered in bug #439694).
|
| |
|
|
|
|
| |
Parent class AbstractPollTask has equivalent implementation.
|
|
|
|
|
|
| |
The copyright dates for these classes begin in 2008, since SpawnProcess
code is derived from the EbuildFetcherAsync class which was added in
commit e4edadf5ae7063f375d76be151c6d0e949980ecf in 2008.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* Max delay is reduced to 5 seconds (was 10).
* Calculated delay is now proportional to current/desired load ratio.
* When a delay is triggered, an event loop timeout is used to ensure
that scheduling occurs as soon as the delay expires (rather than
waiting for the _loadavg_latency timeout to expire).
|
| |
|
|
|
|
|
| |
The --moo action is fast like --help now. The "moo" argument has been
deprecated since bug #389609, and is now removed.
|
| |
|
| |
|
| |
|
|
|
|
| |
Also move post_emerge and chk_updated_cfg_files to separate files.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Since commit 2ca487f929962154488999a125a7387eeb44be88, --help has not
respected --color=n and related options, since it's been optimized to
bypass options and config parsing. Now it's fixed to show without
colors in this optimized case (help with colors may be shown in some
other cases, like when emerge is called with zero arguments).
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
We handle KeyboardInterrupt instead of installing a SIGINT handler,
since exiting from signal handlers intermittently causes python to
ignore the SystemExit exception with a message like this:
Exception SystemExit: 130 in <function remove at 0x7fd2146c1320> ignored
|
|
|
|
| |
Display._set_root_columns() for consistency with Display._set_no_columns().
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
available_eclasses(), eclass_path() and license_path() functions.
|
| |
|
|
|
|
|
|
| |
This fixes a regression like bug #403895, introduced in commit
b696337bf20fdc539ce7721df7a4b42b35999705, since functions have to
return True in order to be continuously scheduled.
|
|
|
|
|
|
| |
Move the 30 second default to the Scheduler class, since that's the
only place that it's currently needed (all other schedulers have
relatively short-running jobs).
|
|
|
|
|
| |
With no argument, removes a previous load limit (same behavior as
make).
|
|
|
|
|
|
| |
It isn't used externally anymore, since SchedulerInterface is used
directly in those places now. Many of the self.sched_iface references
updated here, it's more appropriate to use self._event_loop.
|
|
|
|
|
|
| |
SchedulerInterface suffices for all of these cases.
EventLoop(main=False) is used for thread safety where
API consumers may be using threads.
|
| |
|
|
|
|
|
| |
The PollScheduler class suffices here, if we just add a small amount of
logic to calculate the _background attribute from the emerge opts.
|
| |
|
| |
|
|
|
|
|
|
|
| |
These methods were aliases for the EventLoop io_add_watch and
source_remove methods. Migrating to the EventLoop method names allows
an EventLoop instance to substitute for a PollScheduler inside
subclasses of AbstractPollTask.
|
|
|
|
| |
This is variable is only needed by the Scheduler class.
|
|
|
|
| |
This allows the QueueScheduler class to be eliminated.
|
|
|
|
|
| |
Also add missing __slots__ to ForkProcess. TODO: Share code
between ForkProcess and MergeProcess.
|
|
|
|
|
|
|
|
|
|
| |
Update manifest files, and sign them if signing is enabled. This
supports parallelization if enabled via the --jobs option. The
--thin-manifests and --sign-manifests options may be used to manually
override layout.conf settings. There's also a new --strict-manifests
option that may be used to manually override the "strict" FEATURES
setting, a --gpg-key option to override PORTAGE_GPG_KEY, and a
--gpg-dir option to override PORTAGE_GPG_DIR.
|
| |
|
|
|
|
| |
See http://forums.gentoo.org/viewtopic-t-938022.html for example.
|