summaryrefslogtreecommitdiffstats
path: root/pym/portage
Commit message (Collapse)AuthorAgeFilesLines
* Toggle private constants for stable branch:Zac Medico2010-09-141-5/+5
| | | | | | | | _ENABLE_DYN_LINK_MAP = False _ENABLE_PRESERVE_LIBS = False _ENABLE_REPO_NAME_WARN = False _ENABLE_SET_CONFIG = False _SANDBOX_COMPAT_LEVEL = "21"
* Make IpcDaemonTestCase use a finally block to unlock PORTAGE_BUILDDIR.v2.2_rc82Zac Medico2010-09-141-1/+3
|
* Make EbuildBuildDir use the PORTAGE_BUILDDIR variable instead of theZac Medico2010-09-143-3/+1
| | | | dir_path attribute.
* Fix some typos.Arfrever Frehtes Taifersar Arahesis2010-09-143-8/+8
|
* Don't export PORTAGE_BUILDIR_LOCKED to the ebuild environment.Zac Medico2010-09-141-1/+1
|
* Add a config.pkeywordsdict property for backward compatibility.Zac Medico2010-09-141-0/+7
|
* In KeywordsManager.pkeywordsdict save values as tuples instead of lists.Zac Medico2010-09-141-0/+2
|
* config: Add KeywordsManagerSebastian Luther2010-09-143-145/+196
|
* Make IpcDaemonTestCase use EbuildBuildDir for lock creation.Zac Medico2010-09-141-4/+14
|
* Make AbstractEbuildProcess lock PORTAGE_BUILDIR if it's not alreadyZac Medico2010-09-131-1/+1
| | | | locked.
* Bug #336142 - Use EbuildBuildDir for threaded locking of PORTAGE_BUILDDIRZac Medico2010-09-131-31/+8
| | | | | inside dblink.unmerge(), so that the scheduler can concurrently service ipc calls in the main thread.
* Use EbuildBuildDir for PORTAGE_BUILDDIR locking inside doebuild().Zac Medico2010-09-131-2/+7
|
* Make dblink.lockdb() use AsynchronousLock.Zac Medico2010-09-131-29/+7
|
* Add a new AsynchronousLock class that uses the portage.locks module toZac Medico2010-09-133-0/+31
| | | | acquire a lock asynchronously, using a background thread.
* Make config.setinst() and get_virts_p() call getvirtuals() in orderZac Medico2010-09-131-0/+6
| | | | | to ensure that we don't trigger the _treeVirtuals assertion in VirtualsManager._compile_virtuals().
* Tests: Add use_reduce test case for bug 120374Sebastian Luther2010-09-131-0/+1
|
* Tests: Add resolver/test_missing_iuse_and_evaluated_atoms to make sure we ↵Sebastian Luther2010-09-131-0/+31
| | | | don't miss a "missing IUSE"
* Don't miss a "missing IUSE" because of [foo?] -> [] evaluations.Sebastian Luther2010-09-131-18/+4
| | | | This patch also drops flags with EAPI 4 use dep defaults from use.required.
* Bug #336142 - When looking of packages that own files for file collisionsZac Medico2010-09-131-9/+24
| | | | | inside dblink.treewalk(), periodically yield to the scheduler so that it can service ipc calls.
* Make sure atoms in profiles follow the profiles EAPISebastian Luther2010-09-136-25/+56
|
* Bug #336142 - Add support for using a thread to wait for locks insideZac Medico2010-09-132-4/+34
| | | | | dblink.lockdb() so that the scheduler can concurrently service ipc calls in the main thread.
* Bug #336875 - Don't reference errno.ETIME since it's undefined on FreeBSD.Zac Medico2010-09-121-1/+3
|
* When fetching distfiles inside digestgen(), ignore conditional partsv2.2_rc80Zac Medico2010-09-111-3/+10
| | | | | | of RESTRICT since they don't apply unconditionally. Assume such conditionals only apply on the client side where digestgen() does not need to be called.
* For digestgen(), add a matchnone parameter to use_reduce() that is theZac Medico2010-09-111-1/+9
| | | | opposite of matchall.
* Fix digestgen() to respect RESTRICT=fetch.Zac Medico2010-09-111-1/+5
|
* Make spawn_nofetch() call elog_process().Zac Medico2010-09-111-0/+2
|
* Make the mail_summary elog module copy needed variables from the configZac Medico2010-09-112-5/+21
| | | | | | | instance, since we don't need to hold a reference for the whole thing. This also makes it possible to rely on per-package variable settings that may have come from /etc/portage/package.env, since we'll be isolated from any future mutations of mysettings.
* Fix typo in comment.Zac Medico2010-09-101-1/+1
|
* Make digestgen() use spawn_nofetch() when necessary, since fetch()Zac Medico2010-09-101-13/+6
| | | | no longer does it.
* Fix typo in comment.Zac Medico2010-09-101-1/+1
|
* Since pkg_nofetch is no longer called from fetch(), add a newZac Medico2010-09-102-0/+77
| | | | | spawn_nofetch() support for doebuild() and other fetch() callers to use.
* In doebuild(), don't trigger prepare_build_dirs() for the fetch phaseZac Medico2010-09-101-2/+1
| | | | with RESTRICT=fetch since fetch() doesn't call pkg_nofetch anymore.
* Remove pkg_nofetch code from the fetch() function since it's currently ↵Zac Medico2010-09-101-49/+0
| | | | broken (doebuild_environment raises TypeError due to missing mydbapi parameter) and this is a poor place to spawn pkg_nofetch anyway, especially given that the caller does not even pass in a portdbapi instance. For now, relocate the pkg_nofetch execution to EbuildBuild so that it works for emerge. TODO: Add pkg_nofetch support to fetch() callers where appropriate.
* Fix typos in comments.Arfrever Frehtes Taifersar Arahesis2010-09-111-2/+2
|
* config: Handle -atoms properlySebastian Luther2010-09-101-15/+48
| | | | | | | | | | Before this change -atoms could leak out of the place where they were defined. Different repos could influence their profile/package.mask. Profiles could influence profile/package.mask. Note that the latter is not desirable because other than normal atoms, -atoms have to exactly match the atom they remove. Because of this, the place specifying the -atom has to now which atoms exists, which can only be the case if it (or in case of a profiles, a parent profile) defines it.
* portage.util: Add optional remember_source_file parameter to some functions ↵Sebastian Luther2010-09-101-22/+51
| | | | | | | | to make them return (token, file) pairs This is useful to name the token's source file in error messages. stack_lists has another new optional parameter: warn_for_unmatched_removal, which warns for -atoms that don't remove anything.
* config/p.mask: config from other repos than PORTDIR comes before profiles ↵Sebastian Luther2010-09-101-4/+4
| | | | (like PORTDIR)
* Tests: ebuild/test_config: Make sure -atoms in package.mask work as PMS wants itSebastian Luther2010-09-101-1/+68
|
* ResolverPlayground: Add ability to create a basic profile and repo configSebastian Luther2010-09-101-6/+24
|
* Bug #336595 - Make dbapi.update_ents() calls quiet when appropriate inZac Medico2010-09-101-0/+4
| | | | _global_updates().
* global updates: Honor -q and don't repeat the legendSebastian Luther2010-09-101-11/+21
|
* In update_config_files(), add a comment line showing a package moveZac Medico2010-09-091-1/+14
| | | | | that has been applied. This is intended to reduce the risk given that /etc/portage is in CONFIG_PROTECT_MASK, as discussed in bug
* Import ifilterfalse as filterfalse, for python3 compatibility.Zac Medico2010-09-091-2/+5
|
* maintainer-info: Don't print 'no-herd' and don't print anything twice (bug ↵Sebastian Luther2010-09-091-0/+5
| | | | 336550)
* Add portage.util.unique_everseenSebastian Luther2010-09-091-2/+23
| | | | | List unique elements, preserving order. Remember all elements ever seen. Taken from itertools documentation.
* Use a longer dependency chain in DepcleanWithDepsTestCase, to makev2.2_rc78Zac Medico2010-09-081-3/+8
| | | | sure unmerge order is correct.
* Use RDEPEND for depclean tests since DEPEND is less relevant.Zac Medico2010-09-081-6/+6
|
* Make ResolverPlayground.run() use try/finally when saving/restoringZac Medico2010-09-081-18/+22
| | | | global variable settings.
* Fix dep_zapdeps() to handle satisfied or optional builttime depsZac Medico2010-09-081-1/+2
| | | | appropriately.
* Adjust DepcleanWithInstalledMaskedTestCase now that bug #332719Zac Medico2010-09-081-1/+2
| | | | is fixed.