Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | repoman: unroll escaped lines so we can check the entirety of it | Mike Frysinger | 2012-05-25 | 1 | -12/+53 |
| | | | | | | | | | Sometimes people wrap long lines in their ebuilds to make it easier to read, but this causes us issues when doing line-by-line checking. So automatically unroll those lines before passing the full content down to our checkers. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | reconstruct_eclasses: unicode hashes for python2v2.2.0_alpha108 | Zac Medico | 2012-05-24 | 1 | -2/+5 |
| | |||||
* | validate_entry: handle KeyError for bug #417253 | Zac Medico | 2012-05-23 | 1 | -1/+6 |
| | | | | This error is triggered by corrupt cache entries. | ||||
* | Profile parent repo: references for bug #414961. | Zac Medico | 2012-05-20 | 2 | -5/+45 |
| | | | | | | | | | If "profile-formats = portage-2" is specified in metadata/layout.conf, then paths such as 'gentoo:targets/desktop' or ':targets/desktop' in profile parent files can be used to express paths relative to the root 'profiles' directory of a repository. When the repo name is omitted before the colon, it refers to the current repository that the parent file is inside of. | ||||
* | movefile: fix abs symlink adjustment, bug #416431 | Zac Medico | 2012-05-17 | 1 | -3/+3 |
| | |||||
* | merge: fix abs symlink adjustment, bug #416431 | László Szalma | 2012-05-17 | 1 | -1/+1 |
| | |||||
* | getconfig: only raise ParseErrorv2.2.0_alpha107 | Zac Medico | 2012-05-16 | 1 | -1/+1 |
| | |||||
* | RepoConfig: cleanup portage1_profiles codev2.2.0_alpha106 | Zac Medico | 2012-05-16 | 2 | -6/+7 |
| | |||||
* | _eapi_invalid: elog permission issue, bug #416231 | Zac Medico | 2012-05-16 | 1 | -4/+12 |
| | |||||
* | config: fix /etc/portage/make.profile error msg | Zac Medico | 2012-05-15 | 1 | -5/+20 |
| | |||||
* | getconfig: use shlex.error_leader() more | Zac Medico | 2012-05-15 | 1 | -22/+23 |
| | | | | | This fixes it to show the correct file/line, even when one file sources another. | ||||
* | bintree: validate remove cpv morev2.2.0_alpha105 | Zac Medico | 2012-05-14 | 1 | -2/+14 |
| | |||||
* | depgraph: send output to stderr when appropriate | Zac Medico | 2012-05-14 | 1 | -70/+48 |
| | | | | | | This also removes the stderr -> stdout redirect from display_problems, since the app-portage/autounmask program is no longer supported, and that will fix bug #406867. | ||||
* | Atom: use a single _get_atom_re() call | Zac Medico | 2012-05-13 | 1 | -14/+15 |
| | |||||
* | BlockerCache: use _unicode() for pickled atoms | Zac Medico | 2012-05-13 | 1 | -2/+2 |
| | |||||
* | Split out _hide_url_passwd() and use it more. | Zac Medico | 2012-05-13 | 3 | -8/+12 |
| | |||||
* | binhost: http auth for python3 (bug #413983) | Zac Medico | 2012-05-13 | 2 | -3/+44 |
| | | | | | | | | This uses the code from commit 58a8cd1bb943522bc53d02c008ee8eff798bfaaa as a fallback for python3 when the default urlopen function fails. This has been tested and is known to work with thttpd password authentication (it works unencrypted and also when encrypted with stunnel). | ||||
* | getbinpkg: fix base64 usage for python3 | Zac Medico | 2012-05-13 | 1 | -4/+9 |
| | |||||
* | tbz2.scan: use finally to close file | Zac Medico | 2012-05-13 | 1 | -4/+4 |
| | |||||
* | Revert "Bug #413983: Add portage.util.urlopen(), which transparently handles ↵ | Zac Medico | 2012-05-13 | 3 | -23/+9 |
| | | | | | | | authentication in the way compatible with Python 3." This reverts commit 0a9cc38a66ded0cf0e5b534cb24b970fc9c21920. As reported in bug #415579, that commit broke FTP authentication. | ||||
* | glsa: use _pkg_str + vercmp, not pkgcmp | Zac Medico | 2012-05-13 | 1 | -8/+5 |
| | |||||
* | _sets/security: use _pkg_str + vercmp, not pkgcmp | Zac Medico | 2012-05-13 | 1 | -4/+4 |
| | |||||
* | _sets/dbapi: use _pkg_str + vercmp, not pkgcmp | Zac Medico | 2012-05-13 | 1 | -9/+5 |
| | |||||
* | portdbapi: don't convert _pkg_str to str | Zac Medico | 2012-05-13 | 1 | -1/+2 |
| | |||||
* | dblink: use _pkg_str + vercmp, not pkgcmp | Zac Medico | 2012-05-13 | 1 | -5/+9 |
| | |||||
* | dep_check: use _pkg_str + vercmp, not pkgcmp | Zac Medico | 2012-05-13 | 1 | -15/+21 |
| | |||||
* | _pkg_str: validate repo (move code from Package) | Zac Medico | 2012-05-13 | 4 | -16/+15 |
| | |||||
* | unmerge: use cpv_sort_key instead of pkgcmp | Zac Medico | 2012-05-13 | 1 | -10/+12 |
| | |||||
* | _pkg_str: make version -r0 consistent with input | Zac Medico | 2012-05-13 | 1 | -1/+4 |
| | |||||
* | cpv_sort_key: use _pkg_str | Zac Medico | 2012-05-13 | 1 | -8/+18 |
| | |||||
* | best_match_to_list: use _pkg_str | Zac Medico | 2012-05-13 | 1 | -7/+5 |
| | |||||
* | match_from_list: avoid multiple meanings of mycpv | Zac Medico | 2012-05-13 | 1 | -2/+2 |
| | |||||
* | cpvequal: use _pkg_str | Zac Medico | 2012-05-13 | 2 | -10/+22 |
| | |||||
* | _pms_eapi_re: require whitespace before comment | Zac Medico | 2012-05-13 | 1 | -1/+1 |
| | | | | | See discussion on gentoo-pms mailing list here: http://archives.gentoo.org/gentoo-pms/msg_1f76a55d04b4f2a3721cddc611434aad.xml | ||||
* | match_from_list: preserve input in result | Zac Medico | 2012-05-13 | 1 | -4/+6 |
| | | | | | This fixes an unintended change in behavior from commit f31320b67c9f593a2a8592e1a4e547f5f641943a. | ||||
* | Use _pkg_str.version more. | Zac Medico | 2012-05-13 | 1 | -4/+14 |
| | |||||
* | Don't cache vercmp results. | Zac Medico | 2012-05-13 | 1 | -14/+1 |
| | | | | | It's probably not very helpful to cache vercmp results, since identical version comparisons probably don't recur very often. | ||||
* | _pkg_str: add version attribute for comparisons | Zac Medico | 2012-05-13 | 5 | -23/+34 |
| | | | | | This attribute can be passed directly into vercmp, avoiding the need to generate this string many times. | ||||
* | depgraph: minimize match_from_list operations | Zac Medico | 2012-05-13 | 1 | -58/+64 |
| | | | | | | In _iter_match_pkgs, call match_from_list on one cpv at a time, in order to avoid unnecessary match_from_list comparisons on versions that are never yielded from this method. | ||||
* | SimpleResolverTestCase: handle PYTHONHASHSEED | Zac Medico | 2012-05-12 | 1 | -1/+2 |
| | |||||
* | _pkg_str: add slot and repo attributes | Zac Medico | 2012-05-12 | 9 | -40/+64 |
| | |||||
* | match_from_list: handle Package.UNKNOWN_REPO | Zac Medico | 2012-05-12 | 2 | -4/+8 |
| | |||||
* | _pkg_str: add cpv attribute for match_from_list | Zac Medico | 2012-05-12 | 1 | -0/+2 |
| | |||||
* | Check type of xml.etree.ElementTree.TreeBuilder before applying | Arfrever Frehtes Taifersar Arahesis | 2012-05-13 | 1 | -4/+10 |
| | | | | workaround for http://bugs.python.org/issue14007. | ||||
* | test_digraph: fix get_cycles for PYTHONHASHSEED | Zac Medico | 2012-05-12 | 2 | -7/+15 |
| | |||||
* | test_digraph: fix bfs for PYTHONHASHSEED=random | Zac Medico | 2012-05-12 | 1 | -4/+39 |
| | |||||
* | test_stackLists: fix for PYTHONHASHSEED="random" | Zac Medico | 2012-05-12 | 1 | -2/+2 |
| | |||||
* | Add workaround for http://bugs.python.org/issue14007. | Arfrever Frehtes Taifersar Arahesis | 2012-05-12 | 1 | -0/+4 |
| | |||||
* | Add a _pkg_str class to cache catpkgsplit results | Zac Medico | 2012-05-12 | 6 | -13/+68 |
| | | | | | This will compensate for the removal of the catpkgsplit cache in commit 68888b0450b1967cb70673a5f06b04c167ef879c. | ||||
* | catpkgsplit: don't cache results | Zac Medico | 2012-05-12 | 1 | -7/+1 |
| | | | | | | | | The cache has been subtly broken since commit eb2056631021a04b62c228206e44376f5c7a81ba when the eapi parameter was added. If necessary, we can add a cpv class (or something like that) in order to avoid redundant catpkgsplit calls in places like match_from_list. |