| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This should not change the behavior at all, but it makes the display
much easier to modify or extend.
|
|
|
|
|
|
| |
Also, make options like emerge --newuse ignore the state of USE=test,
since users typically don't want to trigger a bunch of rebuilds when
they enable or disable FEATURES=test.
|
|
|
|
|
| |
This makes it consistent with the language in the PMS eapi-5 branch:
http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=5d6749ac9e5ddc5b1daaad7737b65fa81c6ece47
|
| |
|
|
|
|
| |
This caused the backtracker to bail out too early sometimes.
|
|
|
|
|
| |
We have to distinguish this from the "version" conflict, in order to
avoid invalid vercmp calls when there's not version.
|
| |
|
| |
|
|
|
|
| |
Refer to 4-slot-abi.docbook for a full description.
|
| |
|
|
|
|
|
|
| |
Only create BacktrackNode instances for the first conflict which
occurred, since the conflicts that occurred later may have been
caused by the first conflict.
|
| |
|
| |
|
| |
|
|
|
|
| |
This will fix bug #373009.
|
|
|
|
|
| |
This should fix possible missing content when displaying split
ChangeLogs (bug #389611), and also normalizes blank lines.
|
|
|
|
|
|
| |
It's unsafe to pass in an unlocked config instance, since that can
trigger issues like bug #408817 due to fragile assumptions involving
the config state inside doebuild_environment().
|
|
|
|
| |
Signed-off-by: Zac Medico <zmedico@gentoo.org>
|
|
|
|
| |
regardless of ROOT.
|
| |
|
|
|
|
|
| |
`emerge -pv ${package}` by default. Add --verbose-main-repo-display
option, which enables printing ::${repository} for main repository.
|
|
|
|
| |
installed. Follow-up to commit 8118be36842a2db2eb72538e21a3b343773b3365.
|
|
|
|
|
| |
conditional on self.quiet_repo_display instead of earlier returning
if self.quiet_repo_display is False. No functional changes.
|
|
|
|
|
| |
when ${old_version} is the same as ${new_version}, but ${old_repository} is
different than ${new_repository}.
|
|
|
|
| |
Add --quiet-repo-display option, which enables previous, more quiet output.
|
|
|
|
|
|
|
| |
Since commit a715b65f7bd36409c1283e6911265d1f4405ab7a, the Package.root
and RootConfig.root attributes refer to EROOT instead of ROOT.
Therefore, adjust display code so that EROOT is only displayed when
ROOT != "/".
|
| |
|
| |
|
|
|
|
|
| |
This is a regression from commit
69d7f169ba2e27cf56746791331c63a019357100, reported in bug #390893.
|
|
|
|
|
|
|
| |
Instead, finish the whole job using a copy of the currently running
instance. This allows us to avoid the complexities of emerge --resume,
such as the differences in option handling between different portage
versions, as reported in bug #390819.
|
| |
|
|
|
|
|
|
|
| |
It should be safe to assume that REQUIRED_USE is satisfied if the
package is built, so it's a waste to save it. Also, fix code which
assumes that built Package instances have a REQUIRED_USE key in their
metadata.
|
| |
|
| |
|
| |
|
|
|
|
| |
This will fix bug #385413.
|
|
|
|
|
|
|
| |
If backtracking masks a package that caused another package to
be masked, we declare this backtracking node as invalid. The
backtracker should be able to find another node that gives a
valid solution if one exists. This fixes bug 375573.
|
|
|
|
| |
This fixes the issue in bug #383269, comment #8.
|
|
|
|
| |
This is a minimal fix for bug #376577.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The io.open() function is the same as the built-in open() function in
python3, and its implementation is optimized in python-2.7 and later.
In addition to the possible performance improvement, this also allows
us to avoid any future compatibility issues with codecs.open() that
may arise if it is delegated to the built-in open() function as
discussed in PEP 400.
The main caveat involved with io.open() is that TextIOWrapper.write()
raises TypeError if given raw bytes, unlike the streams returned from
codecs.open(). This is mainly an issue for python2 since literal
strings are raw bytes. We handle this by wrapping TextIOWrapper.write()
arguments with our _unicode_decode() function. Also, the
atomic_ofstream class overrides the write() method in python2 so that
it performs automatic coercion to unicode when necessary.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
The flags from REQUIRED_USE were added to affecting_use, which was not
really necessary and was a bad idea because a number of flags in
affecting_use affects our number of loops exponentially. This will fix
bug #374397 in which the large number of flags in the REQUIRED_USE of
dev-lang/php-5.3.6-r1 triggered execution of 2 ^ 45 loops.
|
|
|
|
|
|
| |
Special handling for missing IUSE that was introduced in commit
9a193d42032005396800eb30e550691513529c79 is also useful in one
more spot.
|
|
|
|
|
| |
This might help in some cases like bug 374397 where we're
troubleshooting the circular_dependency code.
|
|
|
|
|
| |
Python's cartesian product function does exactly what we want, so use
it to simplify our code.
|
|
|
|
|
| |
This allows the merge list display to account for repository-level
USE_EXPAND and USE_EXPAND_HIDDEN settings (see bug #370693).
|
| |
|