summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Migrate from codecs.open() to io.open().Zac Medico2011-07-1034-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 updateAllHashesZac Medico2011-07-101-1/+2
|
* circular_dependency: fix total_flags calcZac Medico2011-07-101-2/+2
|
* depgraph: more debug output for _add_pkgZac Medico2011-07-102-17/+44
| | | | | This should make it easier to debug cases like bug 374423, among others.
* slot_collision: fix more for bug 374423Zac Medico2011-07-101-0/+9
|
* slot_collision: fix AttributeError for bug 374423Zac Medico2011-07-101-0/+14
|
* depgraph: reject USE conditionals in argumentsZac Medico2011-07-091-0/+8
|
* 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-092-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 earlierZac Medico2011-07-092-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 Medico2011-07-091-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 outputZac Medico2011-07-091-2/+3
|
* Add QA Notice for hasq/useq calls (bug #199722).Zac Medico2011-07-082-0/+2
|
* Remove all hasq/useq calls for bug #199722.Zac Medico2011-07-0810-93/+93
|
* ebuild.5: remove hasq docs for bug #199722Zac Medico2011-07-081-4/+4
|
* Invert has/hasq and use/useq implementations.Zac Medico2011-07-082-8/+8
| | | | | We need to migrate away from hasq and useq since they are deprecated (bug #199722).
* RepoConfig: ignore missing name if no locationZac Medico2011-07-081-1/+3
| | | | This happens if there is an orphan entry in repos.conf.
* getportageversion: omit implicit -r0 for libcZac Medico2011-07-081-1/+4
|
* Qualify "missed update" message as WARNING.Zac Medico2011-07-081-2/+2
|
* repoman: tighten regex for useq and hasqZac Medico2011-07-081-3/+3
|
* repoman: centralize code for ignoring commentsZac Medico2011-07-081-6/+11
|
* repoman: check for deprecated useq and hasq callsDane Smith2011-07-082-1/+16
|
* cpv_expand: fix KeyError when settings is NoneZac Medico2011-07-071-1/+5
|
* Remove the _ensure_encodings module.Zac Medico2011-07-073-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 portageZac Medico2011-07-071-1/+2
| | | | This is required for logrotate-3.8.0 as reported in bug 374287.
* ebuild(1): allow-missing-manifests for fetchZac Medico2011-07-071-1/+4
|
* make.conf.5: fix grammarZac Medico2011-07-071-1/+1
|
* digestcheck: more allow-missing-manifestsZac Medico2011-07-071-0/+2
|
* digestcheck: support allow-missing-manifestsZac Medico2011-07-062-2/+11
| | | | Also, update the man page.
* add FEATURES=allow-missing-manifestsBrian Harring2011-07-062-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 -> SyntaxErrorZac Medico2011-07-031-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 Arahesis2011-07-031-1/+1
|
* portageq get_repo_path: output empty if unknownv2.2.0_alpha43Zac Medico2011-07-011-1/+4
| | | | It used to output "None" for unknown repos, which was not intended.
* Fix a typo in a comment.Zac Medico2011-07-011-1/+1
|
* varexpand: remove escaped newline charactersZac Medico2011-07-012-5/+10
| | | | This fixes a regression reported in bug 365033, comment #14.
* preserve-libs: only preserve soname symlinksv2.2.0_alpha42Zac Medico2011-06-301-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 handlingZac Medico2011-06-301-1/+2
| | | | | The code which checks the soname symlink was missing a join with $ROOT.
* LinkageMapElf: clarify findConsumers soname codeZac Medico2011-06-301-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 libprocZac Medico2011-06-301-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 breakageZac Medico2011-06-301-1/+1
|
* Fix a typo in a comment.Zac Medico2011-06-301-1/+1
|
* Fix a typo in a docstring.Zac Medico2011-06-301-1/+1
|
* LinkageMapELF.isMasterLink(): literally compareZac Medico2011-06-301-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* filesZac Medico2011-06-301-0/+1
|
* Fix last commit to work regardless of nullglob.Zac Medico2011-06-301-1/+2
|
* ecompress: beware of -k in PORTAGE_COMPRESS_FLAGSZac Medico2011-06-301-1/+4
| | | | This will fix bug #372183.
* config: filter repo-level make.defaults earlierZac Medico2011-06-301-4/+5
|
* ebuild(1): use bintree.inject for "package" phaseZac Medico2011-06-291-2/+11
|
* ebuild(1): pass missing myrepo arg to aux_getZac Medico2011-06-291-1/+1
|