summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* make.conf(5): document PORTAGE_{GRPNAME,USERNAME,INST_UID,INST_GID}Mike Frysinger2012-05-311-0/+24
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* 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-253-52/+116
| | | | | | | | | | | | | 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
|
* repoman: tweak elif vcs check style to be consistentMike Frysinger2012-05-241-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* 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
|
* FEATURES=config-protect-if-modified by default.Zac Medico2012-05-163-3/+11
| | | | | | | The plan is to send out a GLEP 42 news item for this before it goes to stable, as discussed here: http://archives.gentoo.org/gentoo-dev/msg_7fe557809defad4faca2ee5c6e52d134.xml
* _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
|
* prepstrip: fix installsources breakageZac Medico2012-05-141-3/+3
| | | | | The debug.sources path changed in commit 4941c3c674400116f118a9c75b520c3fd1a25490.
* prepstrip: fix hardlink race in process_elfZac Medico2012-05-141-6/+16
|
* prepstrip: fix hardlink handling for subshellsZac Medico2012-05-141-12/+17
|
* prepstrip: make splitdebug/installsources parallel safeMike Frysinger2012-05-141-24/+20
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* prepstrip: tweak style and document helper funcs a bitMike Frysinger2012-05-141-15/+19
| | | | | | Mostly make sure we be consistent with ${var} rather than $var. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* prepstrip: run the log parsing in parallel to file strippingMike Frysinger2012-05-141-5/+5
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* multijob_post_fork: simpler handling of return valueMike Frysinger2012-05-141-3/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* 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.
* prepstrip: wait for Pre-stripped check to finishZac Medico2012-05-141-0/+3
|
* prepstrip: disable parallel for splitdebug, etc..Zac Medico2012-05-141-2/+17
|
* multijob_post_fork: return child statusZac Medico2012-05-141-1/+3
|
* 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-134-25/+16
| | | | | | | 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
|
* _sets/security: use _pkg_str + vercmp, not pkgcmpZac Medico2012-05-131-4/+4
|