Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove unused codecs import. | Zac Medico | 2011-07-10 | 1 | -1/+0 |
| | |||||
* | Migrate from codecs.open() to io.open(). | Zac Medico | 2011-07-10 | 34 | -162/+207 |
| | | | | | | | | | | | | | | | | | 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. | ||||
* | Manifest: fix NameError in updateAllHashes | Zac Medico | 2011-07-10 | 1 | -1/+2 |
| | |||||
* | circular_dependency: fix total_flags calc | Zac Medico | 2011-07-10 | 1 | -2/+2 |
| | |||||
* | depgraph: more debug output for _add_pkg | Zac Medico | 2011-07-10 | 2 | -17/+44 |
| | | | | | This should make it easier to debug cases like bug 374423, among others. | ||||
* | 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 |
| | |||||
* | depgraph: reject USE conditionals in arguments | Zac Medico | 2011-07-09 | 1 | -0/+8 |
| | |||||
* | 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 | 2 | -7/+32 |
| | | | | | | 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 | 2 | -2/+11 |
| | | | | | 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. | ||||
* | depgraph: include pkg.repo in debug output | Zac Medico | 2011-07-09 | 1 | -2/+3 |
| | |||||
* | Add QA Notice for hasq/useq calls (bug #199722). | Zac Medico | 2011-07-08 | 2 | -0/+2 |
| | |||||
* | Remove all hasq/useq calls for bug #199722. | Zac Medico | 2011-07-08 | 10 | -93/+93 |
| | |||||
* | ebuild.5: remove hasq docs for bug #199722 | Zac Medico | 2011-07-08 | 1 | -4/+4 |
| | |||||
* | Invert has/hasq and use/useq implementations. | Zac Medico | 2011-07-08 | 2 | -8/+8 |
| | | | | | We need to migrate away from hasq and useq since they are deprecated (bug #199722). | ||||
* | RepoConfig: ignore missing name if no location | Zac Medico | 2011-07-08 | 1 | -1/+3 |
| | | | | This happens if there is an orphan entry in repos.conf. | ||||
* | getportageversion: omit implicit -r0 for libc | Zac Medico | 2011-07-08 | 1 | -1/+4 |
| | |||||
* | Qualify "missed update" message as WARNING. | Zac Medico | 2011-07-08 | 1 | -2/+2 |
| | |||||
* | repoman: tighten regex for useq and hasq | Zac Medico | 2011-07-08 | 1 | -3/+3 |
| | |||||
* | repoman: centralize code for ignoring comments | Zac Medico | 2011-07-08 | 1 | -6/+11 |
| | |||||
* | repoman: check for deprecated useq and hasq calls | Dane Smith | 2011-07-08 | 2 | -1/+16 |
| | |||||
* | cpv_expand: fix KeyError when settings is None | Zac Medico | 2011-07-07 | 1 | -1/+5 |
| | |||||
* | Remove the _ensure_encodings module. | Zac Medico | 2011-07-07 | 3 | -157/+1 |
| | | | | | | | | This was only needed for ancient versions of python built with USE=build since the ebuilds used to remove the encodings module in that case. Since the StreamWriter and StreamReader classes may be deprecated in the near future, now would be a good time to stop using them. | ||||
* | logrotate.d: su portage portage | Zac Medico | 2011-07-07 | 1 | -1/+2 |
| | | | | This is required for logrotate-3.8.0 as reported in bug 374287. | ||||
* | ebuild(1): allow-missing-manifests for fetch | Zac Medico | 2011-07-07 | 1 | -1/+4 |
| | |||||
* | make.conf.5: fix grammar | Zac Medico | 2011-07-07 | 1 | -1/+1 |
| | |||||
* | digestcheck: more allow-missing-manifests | Zac Medico | 2011-07-07 | 1 | -0/+2 |
| | |||||
* | digestcheck: support allow-missing-manifests | Zac Medico | 2011-07-06 | 2 | -2/+11 |
| | | | | Also, update the man page. | ||||
* | add FEATURES=allow-missing-manifests | Brian Harring | 2011-07-06 | 2 | -1/+3 |
| | | | | | | | The feature is as it sounds- primarily useful for temporary trees or instances where manifests aren't used. Signed-off-by: Brian Harring <ferringb@gmail.com> | ||||
* | repoman: ElementTree.ParseError -> SyntaxError | Zac Medico | 2011-07-03 | 1 | -1/+1 |
| | | | | | The ElementTree.ParseError class is undocumented and isn't available in python-2.6, so use its SyntaxError base class instead. | ||||
* | Show repository in error message about missing USE flags. | Arfrever Frehtes Taifersar Arahesis | 2011-07-03 | 1 | -1/+1 |
| | |||||
* | portageq get_repo_path: output empty if unknownv2.2.0_alpha43 | Zac Medico | 2011-07-01 | 1 | -1/+4 |
| | | | | It used to output "None" for unknown repos, which was not intended. | ||||
* | Fix a typo in a comment. | Zac Medico | 2011-07-01 | 1 | -1/+1 |
| | |||||
* | varexpand: remove escaped newline characters | Zac Medico | 2011-07-01 | 2 | -5/+10 |
| | | | | This fixes a regression reported in bug 365033, comment #14. | ||||
* | preserve-libs: only preserve soname symlinksv2.2.0_alpha42 | Zac Medico | 2011-06-30 | 1 | -13/+13 |
| | | | | | This avoids calling the LinkageMapELF.isMasterLink() method, since the only symlinks that are strictly required are the soname symlinks. | ||||
* | LinkageMapElf.findConsumers(): fix $ROOT handling | Zac Medico | 2011-06-30 | 1 | -1/+2 |
| | | | | | The code which checks the soname symlink was missing a join with $ROOT. | ||||
* | LinkageMapElf: clarify findConsumers soname code | Zac Medico | 2011-06-30 | 1 | -4/+4 |
| | | | | | | Here it referred to an soname symlink as a "master" link, which was inconsistent with the meaning of "master" link used in the isMasterLink() method. | ||||
* | LinkageMapElf.isMasterLink(): handle libproc | Zac Medico | 2011-06-30 | 1 | -1/+10 |
| | | | | | The version component of the libproc-3.2.8.so soname is formed slightly differently than most other libraries. | ||||
* | UseFlagDisplay: fix USE_EXPAND_HIDDEN breakage | Zac Medico | 2011-06-30 | 1 | -1/+1 |
| | |||||
* | Fix a typo in a comment. | Zac Medico | 2011-06-30 | 1 | -1/+1 |
| | |||||
* | Fix a typo in a docstring. | Zac Medico | 2011-06-30 | 1 | -1/+1 |
| | |||||
* | LinkageMapELF.isMasterLink(): literally compare | Zac Medico | 2011-06-30 | 1 | -3/+5 |
| | | | | | | Comparing the lengths of the names alone seems like too much of an assumption, so literally compare the beginning of the soname to the basename of the given file. | ||||
* | misc-functions.sh: remove stale NEEDED* files | Zac Medico | 2011-06-30 | 1 | -0/+1 |
| | |||||
* | Fix last commit to work regardless of nullglob. | Zac Medico | 2011-06-30 | 1 | -1/+2 |
| | |||||
* | ecompress: beware of -k in PORTAGE_COMPRESS_FLAGS | Zac Medico | 2011-06-30 | 1 | -1/+4 |
| | | | | This will fix bug #372183. | ||||
* | config: filter repo-level make.defaults earlier | Zac Medico | 2011-06-30 | 1 | -4/+5 |
| | |||||
* | ebuild(1): use bintree.inject for "package" phase | Zac Medico | 2011-06-29 | 1 | -2/+11 |
| |