Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Migrate from codecs.open() to io.open(). | Zac Medico | 2011-07-10 | 1 | -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 calc | Zac Medico | 2011-07-10 | 1 | -2/+2 |
| | |||||
* | slot_collision: fix more for bug 374423 | Zac Medico | 2011-07-10 | 1 | -0/+9 |
| | |||||
* | slot_collision: fix AttributeError for bug 374423 | Zac Medico | 2011-07-10 | 1 | -0/+14 |
| | |||||
* | circular_dependency: fix REQUIRED_USE test | Zac Medico | 2011-07-09 | 1 | -0/+17 |
| | |||||
* | circular_dependency: fix ridiculously long loop | Zac Medico | 2011-07-09 | 1 | -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 IUSE | Zac Medico | 2011-07-09 | 1 | -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 earlier | Zac Medico | 2011-07-09 | 1 | -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 Medico | 2011-07-09 | 1 | -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 attributes | Zac Medico | 2011-06-26 | 1 | -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 installed | Zac Medico | 2011-06-21 | 1 | -4/+10 |
| | |||||
* | extract_affecting_use: less strict for installed | Zac Medico | 2011-06-21 | 1 | -2/+8 |
| | |||||
* | slot_collision_notice: don't omit any use dep | Zac Medico | 2011-06-10 | 1 | -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 Medico | 2011-06-08 | 1 | -1/+2 |
| | | | | | This is needed for EAPI="4-python" added in commit 586760f37fb9784327d8447182d49810662f4427. | ||||
* | Update timestamps in headers of modified files. | Zac Medico | 2011-06-03 | 1 | -1/+1 |
| | |||||
* | Use bool(digraph) instead of empty()/is_empty(). | Zac Medico | 2011-06-02 | 1 | -1/+1 |
| | |||||
* | Fix some typos. | Arfrever Frehtes Taifersar Arahesis | 2011-05-15 | 1 | -2/+2 |
| | |||||
* | --autounmask: Allow package.mask changes | Sebastian Luther | 2011-05-15 | 1 | -1/+6 |
| | |||||
* | Update timestamps in headers of modified files. | Zac Medico | 2011-05-01 | 1 | -1/+1 |
| | |||||
* | emerge: add --rebuild and --norebuild-atoms opts | David James | 2011-05-01 | 1 | -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_DISTDIRS | Zac Medico | 2011-03-31 | 1 | -2/+2 |
| | | | | This will fix bug #361463. | ||||
* | Update timestamps in headers of modified files.v2.2.0_alpha28 | Zac Medico | 2011-03-18 | 1 | -1/+1 |
| | |||||
* | slot_conflict: tweak message and fix grammar | Zac Medico | 2011-03-15 | 1 | -1/+1 |
| | |||||
* | Recognize git-2.eclass when reinstalling self. | Zac Medico | 2011-02-14 | 1 | -1/+2 |
| | |||||
* | Display: tweak output and docs for bug 58416 | Zac Medico | 2011-02-13 | 1 | -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 status | Zac Medico | 2011-02-02 | 1 | -15/+11 |
| | |||||
* | slot collision suggestions: Avoid showing redundant suggestions. | Sebastian Luther | 2011-01-31 | 1 | -14/+71 |
| | | | | http://forums.gentoo.org/viewtopic-t-862257.html?sid=9ba8646a15044fe024a41154df351c6a | ||||
* | Display: Simplify mask code for bug #58416. | Zac Medico | 2011-01-31 | 1 | -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 more | Zac Medico | 2011-01-31 | 1 | -4/+12 |
| | |||||
* | Display: align blocker and nomerge nodes | Zac Medico | 2011-01-31 | 1 | -2/+9 |
| | |||||
* | fix a "*" being added for a stable pkg-ver | Brian Dolbec | 2011-01-30 | 1 | -2/+3 |
| | |||||
* | Display: show masks in the [ ] part | Zac Medico | 2011-01-30 | 1 | -11/+16 |
| | | | | | | | | Symbol | Mask Type -------|----------------- # | package.mask * | missing keyword ~ | unstable keyword | ||||
* | fix the problem of mixing "**" and ebuild keywords for only some archs | Brian Dolbec | 2011-01-30 | 1 | -1/+1 |
| | |||||
* | Fix a typo. | Arfrever Frehtes Taifersar Arahesis | 2011-01-30 | 1 | -2/+2 |
| | |||||
* | make it only print if it is due to an override setting | Brian Dolbec | 2011-01-30 | 1 | -1/+1 |
| | |||||
* | Use the new _getRawMissingKeyword() which optimizes the keyword display. ↵ | Brian Dolbec | 2011-01-30 | 1 | -42/+38 |
| | | | | Misc. whitespace cleanup | ||||
* | Move most of the code to _emerge's Package object. Refine the hardmasking ↵ | Brian Dolbec | 2011-01-30 | 1 | -22/+3 |
| | | | | code, optimizing as much as possible. | ||||
* | add keyword output info for masked pkgs, fixes bug 58416 | Brian Dolbec | 2011-01-30 | 1 | -2/+41 |
| | |||||
* | Remove unused filter_iuse_defaults() function. | Zac Medico | 2010-12-24 | 1 | -14/+1 |
| | |||||
* | Optimize merge list display with Package attrs. | Zac Medico | 2010-12-24 | 1 | -27/+24 |
| | |||||
* | Fix merge list repo display breakage. | Zac Medico | 2010-12-23 | 2 | -10/+12 |
| | | | | | Broken since refactoring in commit 48c8cec7c079cb07a4f421a36cdc46a7fdbc7811. | ||||
* | Fix portage restart warning message. | Zac Medico | 2010-12-22 | 1 | -1/+0 |
| | |||||
* | Refactor depgraph merge list display code. | Brian Dolbec | 2010-12-22 | 2 | -1013/+1383 |
| | |||||
* | emerge --changelog: repo support for binpkgs | Zac Medico | 2010-12-22 | 1 | -1/+1 |
| | |||||
* | slot_conflict_handler: fix for bug #348389 | Zac Medico | 2010-12-15 | 1 | -8/+17 |
| | | | | | | | | This fixes a broken assumption about USE dep matching behavior, since commit 766988aa56bb1bbd2796f96946e62ed78cdf259 introduced stricter IUSE matching by using Atom.unevaluated_atom for IUSE checks (thus changing behavior in cases where conditional USE dependencies disappear upon evaluation). | ||||
* | highlight_violations: handle unversioned atom | Zac Medico | 2010-12-15 | 1 | -8/+12 |
| | | | | A test case is included, which triggers the previously broken case. | ||||
* | Use Package.use.force/mask attributes. | Zac Medico | 2010-11-20 | 1 | -3/+1 |
| | |||||
* | Fix malformed atom formatting for slot conflict. | Zac Medico | 2010-11-13 | 1 | -1/+1 |
| | | | | This fixes bug #345097. | ||||
* | Fix portdbapi.getfetchsizes() repo handling. | Zac Medico | 2010-11-02 | 1 | -1/+1 |
| | |||||
* | slot_collision.py: Define basestring for python3. | Mao PU | 2010-10-17 | 1 | -0/+5 |
| |