summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/resolver
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Display: Simplify mask code for bug #58416.Zac Medico2011-01-311-5/+6
| | | | | | Hopefully this makes the logic more understandable, though it may support fewer cases. If we want to handle more cases then hopefully we can do it without making the code too complex.
* Display: align nomerge nodes moreZac Medico2011-01-311-4/+12
|
* Display: align blocker and nomerge nodesZac Medico2011-01-311-2/+9
|
* fix a "*" being added for a stable pkg-verBrian Dolbec2011-01-301-2/+3
|
* Display: show masks in the [ ] partZac Medico2011-01-301-11/+16
| | | | | | | | Symbol | Mask Type -------|----------------- # | package.mask * | missing keyword ~ | unstable keyword
* fix the problem of mixing "**" and ebuild keywords for only some archsBrian Dolbec2011-01-301-1/+1
|
* Fix a typo.Arfrever Frehtes Taifersar Arahesis2011-01-301-2/+2
|
* make it only print if it is due to an override settingBrian Dolbec2011-01-301-1/+1
|
* Use the new _getRawMissingKeyword() which optimizes the keyword display. ↵Brian Dolbec2011-01-301-42/+38
| | | | Misc. whitespace cleanup
* Move most of the code to _emerge's Package object. Refine the hardmasking ↵Brian Dolbec2011-01-301-22/+3
| | | | code, optimizing as much as possible.
* add keyword output info for masked pkgs, fixes bug 58416Brian Dolbec2011-01-301-2/+41
|
* Remove unused filter_iuse_defaults() function.Zac Medico2010-12-241-14/+1
|
* Optimize merge list display with Package attrs.Zac Medico2010-12-241-27/+24
|
* Fix merge list repo display breakage.Zac Medico2010-12-232-10/+12
| | | | | Broken since refactoring in commit 48c8cec7c079cb07a4f421a36cdc46a7fdbc7811.
* Fix portage restart warning message.Zac Medico2010-12-221-1/+0
|