| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
For prefix, there is typically only a single unprivileged user who owns
everthing that is built and installed, and in this case it's desirable
to ignore chown and chrgrp failures. So, move the logic from fowners
into chown and chgrp wrappers, as discussed in bug #433453.
|
|
|
|
| |
See http://forums.gentoo.org/viewtopic-t-938022.html for example.
|
| |
|
|
|
|
|
| |
If /etc/portage/profile/eapi does not exist, then support extended atom
syntax. This will fix bug #436330.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This fixes a case where EventLoop could consume 100% CPU while waiting
for a child process. It also fixes timeout calculations in python 2.x,
where it was using integer division instead of float.
|
| |
|
| |
|
|
|
|
|
|
|
| |
In order to support targetroot, ResolverPlayground always writes
make.conf, since create_trees does not propagate all of the necessary
settings via the env parameter (because the env settings often need to
be isolated from eachother, especially for cross-compilation).
|
|
|
|
| |
This makes it easier to add new types, like HDEPEND.
|
|
|
|
|
|
| |
This module has been obsolete and useless for many years, which is
especially obvious since it was missing INHERITED from its
auxdbkey_order and it did not write any eclass metadata.
|
|
|
|
| |
This enables automatic handling of HDEPEND.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This will fix bug #436084.
|
|
|
|
| |
This allows them to be looked up outside of the USE_EXPAND loop.
|
| |
|
|
|
|
|
| |
Also see bug #435834 and commit
7fb9758506341ffc05585fbd18f2be58ef0e16c2.
|
|
|
|
|
|
| |
This will be useful for adding flags that behave specially in
experimental EAPIs, such as the targetroot/sysroot flag which is
planned for EAPI 5-hdepend.
|
|
|
|
|
|
| |
This binds filename validation to the RepoConfig, so that eventually
we'll be able to control it via a layout.conf setting as discussed in
bug #435934.
|
|
|
|
|
|
|
|
| |
This only affects r'\w' with Python 2.x, since Python 3 already
defaults to re.UNICODE behavior when compiling unicode str objects
(unless re.ASCII is specified). If a repository wants to ban unicode
categore/package names then we can add a layout.conf setting for that,
as discussed in bug #435934.
|
| |
|
| |
|