| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Returns a dict of tuples instead of a dict of sets.
|
| |
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
Fixes 'Unknown tag' error with rpm 4.10.0.
|
|
|
|
|
| |
This reverts commit 56fbe3fe63adf4e7c5b47400182cd857d145d5b0.
The race is now handled internally by spawn and ForkProcess.
|
|
|
|
| |
This is the most reliable way to handle the race condition.
|
|
|
|
| |
This is the most reliable way to handle the race condition.
|
| |
|
|
|
|
| |
Also, use writemsg for unicode safety.
|
| |
|
|
|
|
|
|
|
| |
The line continuation code is no longer needed since commit
a1578c654f26cab07309bc9cbddd3c95c0c205b5, because wrapped lines are
automatically joined before they are passed to the check. Also, inherit
ignore_comment = True from LineCheck.
|
|
|
|
|
| |
This minimizes the probability of triggering irrelevant finally blocks
from earlier in the call stack (bug #345289).
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
See bug #437516 for example.
|
|
|
|
| |
This will fix bug #437546.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
- Print different die() message for invalid atoms.
- Mention ebuild-ipc instead of portageq in other die() messages when
ebuild-ipc is actually used.
|
| |
|
| |
|
| |
|
|
|
|
| |
This ensures that errors are logged before new jobs are scheduled.
|
|
|
|
|
| |
EventLoop suffices for all of these cases. EventLoop(main=False) is
used for thread safety where API consumers may be using threads.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
It's not allowed for AsyncScheduler to inherit from two classes that
define __slots__, so it useless to define __slots__ for AsyncScheduler
and subclasses.
|
|
|
|
| |
This allows the QueueScheduler class to be eliminated.
|
|
|
|
|
| |
Emulate the sleep command, in order to ensure a consistent return code
when it is killed by SIGTERM (see bug #437180).
|
| |
|
| |
|
| |
|
|
|
|
|
| |
If the existing Manifest already has the correct content, but it is
not signed, then sign it if appropriate.
|
|
|
|
| |
Triggers cleanup and exit listeners if there's nothing left to do.
|
| |
|
|
|
|
|
| |
The _terminate_tasks method is always supposed to be called via
_termination_check.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
This fixes some strange behavior triggered during fetch, which is only
observable with Python 2.6 since it doesn't have
collections.OrderedDict.
|
|
|
|
|
|
| |
This fixes warnings for prefix users (see commits
1c3c3b802014ac6356af09d149aaaffce6c14dc3 and
6983b1a1dd21f931ba751b727bd1a3c460383840).
|