summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/resolver
Commit message (Collapse)AuthorAgeFilesLines
* spawn_nofetch: clone locked config, bug #408817Zac Medico2012-03-191-2/+1
| | | | | | 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().
* Display: spawn pkg_nofetch when appropriateMartin von Gagern2012-03-131-1/+12
| | | | Signed-off-by: Zac Medico <zmedico@gentoo.org>
* Use consistent indentation in output of `emerge -p --columns ${package}`Arfrever Frehtes Taifersar Arahesis2012-01-281-2/+2
| | | | regardless of ROOT.
* Delete needless parentheses.Arfrever Frehtes Taifersar Arahesis2012-01-281-5/+5
|
* Don't print ::${repository} for main repository in output ofArfrever Frehtes Taifersar Arahesis2012-01-282-31/+38
| | | | | `emerge -pv ${package}` by default. Add --verbose-main-repo-display option, which enables printing ::${repository} for main repository.
* Fix display of installed version for packages, which have multiple slotsArfrever Frehtes Taifersar Arahesis2012-01-231-2/+3
| | | | installed. Follow-up to commit 8118be36842a2db2eb72538e21a3b343773b3365.
* Make the second part of_emerge.resolver.output.Display.verbose_size()Arfrever Frehtes Taifersar Arahesis2012-01-221-26/+24
| | | | | conditional on self.quiet_repo_display instead of earlier returning if self.quiet_repo_display is False. No functional changes.
* Print [${old_version}::${old_repository}] in output of `emerge -pv ${package}`Arfrever Frehtes Taifersar Arahesis2012-01-221-1/+3
| | | | | when ${old_version} is the same as ${new_version}, but ${old_repository} is different than ${new_repository}.
* Print ::${repository} in output of `emerge -pv ${package}` by default.Arfrever Frehtes Taifersar Arahesis2012-01-212-18/+45
| | | | Add --quiet-repo-display option, which enables previous, more quiet output.
* Display EROOT when ROOT != "/".Zac Medico2011-12-192-2/+2
| | | | | | | 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 != "/".
* Fix some warnings found by pylint.Arfrever Frehtes Taifersar Arahesis2011-12-181-1/+1
|
* resolver/output: unused importsZac Medico2011-11-171-4/+3
|
* emerge --changelog: omit entry for current verZac Medico2011-11-171-1/+2
| | | | | This is a regression from commit 69d7f169ba2e27cf56746791331c63a019357100, reported in bug #390893.
* Skip the "resume after portage update" routine.Zac Medico2011-11-172-22/+0
| | | | | | | 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.
* Fix breakage from last commit.Zac Medico2011-11-071-1/+1
|
* REQUIRED_USE: don't save in built packagesZac Medico2011-11-072-3/+4
| | | | | | | 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.
* emerge --changelog: ChangeLog-YYYY, bug #389611Zac Medico2011-11-061-19/+30
|
* resolver/output: use set for myfetchlist hashingZac Medico2011-10-191-2/+2
|
* resolver/output: display binary fetch sizeZac Medico2011-10-191-5/+14
|
* print_changelog: if no changelogs, no newlineZac Medico2011-10-021-0/+2
| | | | This will fix bug #385413.
* Reject inconsistent backtrack parametersSebastian Luther2011-09-201-0/+25
| | | | | | | 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.
* _RepoDisplay: split PORTDIR_OVERLAY with shlexZac Medico2011-09-171-2/+2
| | | | This fixes the issue in bug #383269, comment #8.
* depgraph: handle invalid SRC_URIZac Medico2011-07-271-2/+7
| | | | This is a minimal fix for bug #376577.
* Migrate from codecs.open() to io.open().Zac Medico2011-07-101-2/+2
| | | | | | | | | | | | | | | | | 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.
* circular_dependency: fix total_flags calcZac Medico2011-07-101-2/+2
|
* slot_collision: fix more for bug 374423Zac Medico2011-07-101-0/+9
|
* slot_collision: fix AttributeError for bug 374423Zac Medico2011-07-101-0/+14
|
* circular_dependency: fix REQUIRED_USE testZac Medico2011-07-091-0/+17
|
* circular_dependency: fix ridiculously long loopZac Medico2011-07-091-10/+0
| | | | | | | | 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.
* slot_collision: be consistent with missing IUSEZac Medico2011-07-091-7/+14
| | | | | | Special handling for missing IUSE that was introduced in commit 9a193d42032005396800eb30e550691513529c79 is also useful in one more spot.
* circular_dependency: show debug graph earlierZac Medico2011-07-091-0/+10
| | | | | This might help in some cases like bug 374397 where we're troubleshooting the circular_dependency code.
* circular_dependency: use itertools.product()Zac Medico2011-07-091-24/+3
| | | | | Python's cartesian product function does exactly what we want, so use it to simplify our code.
* Package: add use.expand/expand_hidden attributesZac Medico2011-06-261-8/+5
| | | | | This allows the merge list display to account for repository-level USE_EXPAND and USE_EXPAND_HIDDEN settings (see bug #370693).
* use_reduce: less strict for installedZac Medico2011-06-211-4/+10
|
* extract_affecting_use: less strict for installedZac Medico2011-06-211-2/+8
|
* slot_collision_notice: don't omit any use depZac Medico2011-06-101-14/+16
| | | | | | When USE flags are removed, it can be essential to see all broken reverse dependencies here, so don't omit any. If the list is long, people can simply use a pager.
* extract_affecting_use: _get_useflag_re(eapi)Zac Medico2011-06-081-1/+2
| | | | | This is needed for EAPI="4-python" added in commit 586760f37fb9784327d8447182d49810662f4427.
* Update timestamps in headers of modified files.Zac Medico2011-06-031-1/+1
|
* Use bool(digraph) instead of empty()/is_empty().Zac Medico2011-06-021-1/+1
|
* Fix some typos.Arfrever Frehtes Taifersar Arahesis2011-05-151-2/+2
|
* --autounmask: Allow package.mask changesSebastian Luther2011-05-151-1/+6
|
* Update timestamps in headers of modified files.Zac Medico2011-05-011-1/+1
|
* emerge: add --rebuild and --norebuild-atoms optsDavid James2011-05-011-1/+12
| | | | | | | | | | | | | | | | | | | | | | | Rebuild when build-time/run-time deps are upgraded. If pkgA has been updated, and pkgB depends on pkgA at both build-time and run-time, pkgB needs to be rebuilt. This feature ensures that all packages are consistent when dependencies that are used at both runtime and build time are changed. This feature only rebuilds packages one layer deep. That means that if you upgrade libcros, for example, packages that depend directly on libcros will be rebuilt and reinstalled, but indirect dependencies will not be rebuilt. BUG=chromium-os:14296 TEST=Test whether packages rebuilding a bunch of packages. Change-Id: Idbc0532b4b1de28fd9e5a0abe3b7dbe1a3abd2c8 Review URL: http://codereview.chromium.org/6905107
* Display: fix fetch restrict msg for RO_DISTDIRSZac Medico2011-03-311-2/+2
| | | | This will fix bug #361463.
* Update timestamps in headers of modified files.v2.2.0_alpha28Zac Medico2011-03-181-1/+1
|
* slot_conflict: tweak message and fix grammarZac Medico2011-03-151-1/+1
|
* Recognize git-2.eclass when reinstalling self.Zac Medico2011-02-141-1/+2
|
* Display: tweak output and docs for bug 58416Zac Medico2011-02-131-2/+5
| | | | | | Now the masking display is disabled by the --quiet option if the --verbose option is not enabled simultaneously. Also, docs are updated as per bug 58416, comment #11 and #12.
* Display: simplify alignment for mask statusZac Medico2011-02-021-15/+11
|
* slot collision suggestions: Avoid showing redundant suggestions.Sebastian Luther2011-01-311-14/+71
| | | | http://forums.gentoo.org/viewtopic-t-862257.html?sid=9ba8646a15044fe024a41154df351c6a