Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | depgraph: pass use_reduce result to dep_check | Zac Medico | 2012-06-08 | 3 | -42/+38 | |
| | | | | This allows us to avoid extraneous use_reduce/paren_enclose calls. | |||||
* | InheritEclass: avoid false positive in func regex | Zac Medico | 2012-06-07 | 1 | -2/+5 | |
| | ||||||
* | parse_layout_conf: fix cache-formats pms fallback | Zac Medico | 2012-06-05 | 1 | -3/+3 | |
| | | | | | This fixes an issue where egencache would not generate metadata/cache unless the directory already existed. | |||||
* | Handle more import exceptions involving xml. | Zac Medico | 2012-06-04 | 3 | -5/+24 | |
| | | | | See http://bugs.python.org/issue14988 | |||||
* | InheritEclass: exempt auto/libtool for multilib | Zac Medico | 2012-06-03 | 1 | -1/+1 | |
| | ||||||
* | InheritEclass: exempt autotools for libtool | Zac Medico | 2012-06-03 | 1 | -1/+2 | |
| | ||||||
* | Package: calc visiblity on demand | Zac Medico | 2012-06-03 | 1 | -15/+34 | |
| | | | | | | This delays visiblity calculations until after FakeVartree applies its metadata tweaks, so commit 650c960be3170bade8bb63ddedcd4796c75ec374 will work as intended. | |||||
* | FakeVartree: use KEYWORDS from unbuilt ebuild | Zac Medico | 2012-06-03 | 1 | -1/+1 | |
| | | | | | | This allows us to avoid triggering the code from bug #350285 (see commit b7de3d1fb10e40b4ef03462f8a145968689ac587) in cases when the KEYWORDS from the unbuilt ebuild would unmask the package. | |||||
* | Delete workaround for http://bugs.python.org/issue14007. | Arfrever Frehtes Taifersar Arahesis | 2012-06-03 | 1 | -10/+0 | |
| | ||||||
* | InheritEclass: remove unused inherited_api code | Zac Medico | 2012-06-01 | 1 | -14/+0 | |
| | ||||||
* | InheritEclass: exempt eclasses that export src_* | Zac Medico | 2012-06-01 | 1 | -3/+35 | |
| | | | | | We really need to annotate exceptions like these directly in the eclasses, but hardcode them for now. | |||||
* | InheritEclass: kde4-base exemptions | Zac Medico | 2012-06-01 | 1 | -2/+2 | |
| | ||||||
* | InheritEclass: add stable / conservative mode | Zac Medico | 2012-06-01 | 2 | -2/+29 | |
| | ||||||
* | 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. |