Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | config: whitelist PORTAGE_COMPRESS, don't save it | Zac Medico | 2012-06-01 | 1 | -1/+2 |
| | |||||
* | config: lazy VirtualsManager instantiation | Zac Medico | 2012-06-01 | 1 | -3/+10 |
| | |||||
* | config: lazy MaskManager instantiation | Zac Medico | 2012-06-01 | 1 | -6/+14 |
| | |||||
* | config: lazy KeywordsManager instantiation | Zac Medico | 2012-06-01 | 1 | -5/+18 |
| | | | | | | This allows a config instance to be instantiated by portageq, while accessing /etc/portage/package.keywords only on demand, solving bug #418475 by avoiding PermissionDenied exceptions when possible. | ||||
* | portageexit: skip SANDBOX_ON check | Zac Medico | 2012-06-01 | 1 | -2/+1 |
| | | | | | This check is redundant, since the portdbapi constructor already has special SANDBOX_ON / SANDBOX_WRITE handling. | ||||
* | grablines: raise PermissionDenied if appropriate | Zac Medico | 2012-06-01 | 1 | -2/+13 |
| | |||||
* | portageexit: skip secpass check | Zac Medico | 2012-06-01 | 1 | -1/+1 |
| | | | | | | The portdbapi should handle secpass already internally, and access to secpass here can trigger unnecessary instantiation of a config instance via the portage.data module. | ||||
* | InheritEclass: base and cmake-utils exemptions | Zac Medico | 2012-05-31 | 1 | -1/+5 |
| | |||||
* | InheritEclass: support inherit after && or || | Zac Medico | 2012-05-31 | 1 | -1/+1 |
| | |||||
* | InheritEclass: exempt vim for eutils | Zac Medico | 2012-05-31 | 1 | -1/+1 |
| | |||||
* | InheritEclass: fix autotools for polylib-9999 | Zac Medico | 2012-05-30 | 1 | -2/+2 |
| | |||||
* | InheritEclass: support subclass inherited_api | Zac Medico | 2012-05-30 | 1 | -5/+18 |
| | |||||
* | InheritEclass: move eclass info to a dict | Zac Medico | 2012-05-30 | 1 | -84/+91 |
| | | | | | This handles the info more like it will be handled when we parse it directly from eclasses. | ||||
* | Use any() to optimize intersection operations. | Zac Medico | 2012-05-30 | 4 | -34/+29 |
| | |||||
* | _wildcard_set: specify allow_repo=False | Zac Medico | 2012-05-30 | 1 | -2/+2 |
| | | | | | This make is behave as it did prior to the change in Atom constructor behavior in commit 587cce4816afc7d57b3edf0be6c0670ec0be89c9. | ||||
* | portage.dep.Atom: Ignore allow_repo argument when non-None eapi is passed. | Arfrever Frehtes Taifersar Arahesis | 2012-05-30 | 1 | -4/+9 |
| | | | | Allow repository when allow_repo=False is not passed and eapi=None is passed. | ||||
* | repoman: add a mini framework for checking eclasses, and fill it out | Mike Frysinger | 2012-05-25 | 2 | -49/+113 |
| | | | | | | | | | | | | | Rather than copying & pasting the same behavior for the different eclass checks, add a common class for them to extend. This makes adding more eclass checks trivial, and keeps down bitrot. This does abuse the checking interface slightly -- the eclass will change its category between unused and missing based on the checks. URL: https://bugs.gentoo.org/417159 URL: https://bugs.gentoo.org/417231 Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | 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 |
| |