summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Remove extended package set configuration docs.v2.1.10.65Zac Medico2012-06-041-5/+5
| | | | Extended package sets configuration is disabled in the stable branch.
* portage.const: toggle constants for stable branchZac Medico2012-06-041-5/+5
|
* Handle more import exceptions involving xml.Zac Medico2012-06-043-5/+24
| | | | See http://bugs.python.org/issue14988
* InheritEclass: exempt auto/libtool for multilibZac Medico2012-06-031-1/+1
|
* InheritEclass: exempt autotools for libtoolZac Medico2012-06-031-1/+2
|
* Package: calc visiblity on demandZac Medico2012-06-031-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 ebuildZac Medico2012-06-031-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 Arahesis2012-06-031-10/+0
|
* InheritEclass: remove unused inherited_api codeZac Medico2012-06-011-14/+0
|
* InheritEclass: exempt eclasses that export src_*Zac Medico2012-06-011-3/+35
| | | | | We really need to annotate exceptions like these directly in the eclasses, but hardcode them for now.
* InheritEclass: kde4-base exemptionsZac Medico2012-06-011-2/+2
|
* InheritEclass: add stable / conservative modeZac Medico2012-06-012-2/+29
|
* config: whitelist PORTAGE_COMPRESS, don't save itZac Medico2012-06-011-1/+2
|
* config: lazy VirtualsManager instantiationZac Medico2012-06-011-3/+10
|
* config: lazy MaskManager instantiationZac Medico2012-06-011-6/+14
|
* config: lazy KeywordsManager instantiationZac Medico2012-06-011-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 checkZac Medico2012-06-011-2/+1
| | | | | This check is redundant, since the portdbapi constructor already has special SANDBOX_ON / SANDBOX_WRITE handling.
* grablines: raise PermissionDenied if appropriateZac Medico2012-06-011-2/+13
|
* portageexit: skip secpass checkZac Medico2012-06-011-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 exemptionsZac Medico2012-05-311-1/+5
|
* InheritEclass: support inherit after && or ||Zac Medico2012-05-311-1/+1
|
* InheritEclass: exempt vim for eutilsZac Medico2012-05-311-1/+1
|
* InheritEclass: fix autotools for polylib-9999Zac Medico2012-05-301-2/+2
|
* InheritEclass: support subclass inherited_apiZac Medico2012-05-301-5/+18
|
* InheritEclass: move eclass info to a dictZac Medico2012-05-301-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 Medico2012-05-304-34/+29
|
* _wildcard_set: specify allow_repo=FalseZac Medico2012-05-301-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 Arahesis2012-05-301-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 outMike Frysinger2012-05-252-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 itMike Frysinger2012-05-251-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_alpha108Zac Medico2012-05-241-2/+5
|
* validate_entry: handle KeyError for bug #417253Zac Medico2012-05-231-1/+6
| | | | This error is triggered by corrupt cache entries.
* Profile parent repo: references for bug #414961.Zac Medico2012-05-202-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 #416431Zac Medico2012-05-171-3/+3
|
* merge: fix abs symlink adjustment, bug #416431László Szalma2012-05-171-1/+1
|
* getconfig: only raise ParseErrorv2.2.0_alpha107Zac Medico2012-05-161-1/+1
|
* RepoConfig: cleanup portage1_profiles codev2.2.0_alpha106Zac Medico2012-05-162-6/+7
|
* _eapi_invalid: elog permission issue, bug #416231Zac Medico2012-05-161-4/+12
|
* config: fix /etc/portage/make.profile error msgZac Medico2012-05-151-5/+20
|
* getconfig: use shlex.error_leader() moreZac Medico2012-05-151-22/+23
| | | | | This fixes it to show the correct file/line, even when one file sources another.
* bintree: validate remove cpv morev2.2.0_alpha105Zac Medico2012-05-141-2/+14
|
* depgraph: send output to stderr when appropriateZac Medico2012-05-141-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() callZac Medico2012-05-131-14/+15
|
* BlockerCache: use _unicode() for pickled atomsZac Medico2012-05-131-2/+2
|
* Split out _hide_url_passwd() and use it more.Zac Medico2012-05-133-8/+12
|
* binhost: http auth for python3 (bug #413983)Zac Medico2012-05-132-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 python3Zac Medico2012-05-131-4/+9
|
* tbz2.scan: use finally to close fileZac Medico2012-05-131-4/+4
|
* Revert "Bug #413983: Add portage.util.urlopen(), which transparently handles ↵Zac Medico2012-05-133-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 pkgcmpZac Medico2012-05-131-8/+5
|