Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Only initialize Package.inherited to an empty set when it is None. | Zac Medico | 2010-09-14 | 1 | -1/+2 |
| | |||||
* | Ensure that Package.inherited is always initialized, even if there is no | Zac Medico | 2010-09-14 | 1 | -0/+1 |
| | | | | INHERITED metadata available (like for binary packages). | ||||
* | Make EbuildBuildDir.unlock() use an asynchronous lock when locking the | Zac Medico | 2010-09-14 | 1 | -13/+9 |
| | | | | category directory for removal. | ||||
* | Make EbuildBuildDir use the PORTAGE_BUILDDIR variable instead of the | Zac Medico | 2010-09-14 | 7 | -9/+7 |
| | | | | dir_path attribute. | ||||
* | Make Binpkg call doebuild_environment() before constructing | Zac Medico | 2010-09-14 | 1 | -5/+7 |
| | | | | EbuildBuildDir, so PORTAGE_BUILDDIR is initialized first. | ||||
* | Fix some typos. | Arfrever Frehtes Taifersar Arahesis | 2010-09-14 | 3 | -8/+8 |
| | |||||
* | Don't export PORTAGE_BUILDIR_LOCKED to the ebuild environment. | Zac Medico | 2010-09-14 | 1 | -1/+1 |
| | |||||
* | Add a config.pkeywordsdict property for backward compatibility. | Zac Medico | 2010-09-14 | 1 | -0/+7 |
| | |||||
* | In KeywordsManager.pkeywordsdict save values as tuples instead of lists. | Zac Medico | 2010-09-14 | 1 | -0/+2 |
| | |||||
* | config: Add KeywordsManager | Sebastian Luther | 2010-09-14 | 3 | -145/+196 |
| | |||||
* | Make IpcDaemonTestCase use EbuildBuildDir for lock creation. | Zac Medico | 2010-09-14 | 1 | -4/+14 |
| | |||||
* | Make AbstractEbuildProcess lock PORTAGE_BUILDIR if it's not already | Zac Medico | 2010-09-13 | 3 | -2/+13 |
| | | | | locked. | ||||
* | Bug #336142 - Use EbuildBuildDir for threaded locking of PORTAGE_BUILDDIR | Zac Medico | 2010-09-13 | 1 | -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 Medico | 2010-09-13 | 1 | -2/+7 |
| | |||||
* | Make EbuildBuild call doebuild_environment() so that EbuildBuildDir | Zac Medico | 2010-09-13 | 3 | -18/+6 |
| | | | | doesn't need to. | ||||
* | Bug #336142 - Add support for using a thread to wait for locks inside | Zac Medico | 2010-09-13 | 3 | -9/+15 |
| | | | | | EbuildBuildDir.lock() so that the scheduler can concurrently service ipc calls in the main thread. | ||||
* | Make dblink.lockdb() use AsynchronousLock. | Zac Medico | 2010-09-13 | 1 | -29/+7 |
| | |||||
* | Add a new AsynchronousLock class that uses the portage.locks module to | Zac Medico | 2010-09-13 | 4 | -0/+134 |
| | | | | acquire a lock asynchronously, using a background thread. | ||||
* | Make config.setinst() and get_virts_p() call getvirtuals() in order | Zac Medico | 2010-09-13 | 1 | -0/+6 |
| | | | | | to ensure that we don't trigger the _treeVirtuals assertion in VirtualsManager._compile_virtuals(). | ||||
* | In depgraph._load_vdb(), after calling FakeVartree.sync(), update | Zac Medico | 2010-09-13 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | self._frozen_config.pkgsettings so that it has populated virtuals. This solves allows us to avoid triggering an AssertionError reported at http://forums.gentoo.org/viewtopic-t-844519.html with the following traceback: Calculating dependencies... done! Traceback (most recent call last): File "/usr/bin/emerge", line 43, in <module> retval = emerge_main() File "/usr/lib/portage/pym/_emerge/main.py", line 1683, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/lib/portage/pym/_emerge/actions.py", line 204, in action_build settings, trees, mtimedb, myopts, myparams, spinner) File "/usr/lib/portage/pym/_emerge/depgraph.py", line 6047, in resume_depgraph myparams, spinner) File "/usr/lib/portage/pym/_emerge/depgraph.py", line 6070, in _resume_depgraph skip_masked=skip_masked) File "/usr/lib/portage/pym/_emerge/depgraph.py", line 5617, in _loadResumeCommand if not self._add_pkg(task, None): File "/usr/lib/portage/pym/_emerge/depgraph.py", line 893, in _add_pkg pkgsettings.setinst(pkg.cpv, pkg.metadata) File "/usr/lib/portage/pym/portage/package/ebuild/config.py", line 1757, in setinst self._virtuals_manager.add_depgraph_virtuals(mycpv, virts) File "/usr/lib/portage/pym/portage/package/ebuild/_config/VirtualsManager.py", line 199, in add_depgraph_virtuals self.getvirtuals() File "/usr/lib/portage/pym/portage/package/ebuild/_config/VirtualsManager.py", line 156, in getvirtuals self._compile_virtuals() File "/usr/lib/portage/pym/portage/package/ebuild/_config/VirtualsManager.py", line 131, in _compile_virtuals "any query about virtuals" AssertionError: _populate_treeVirtuals() must be called before any query about virtuals | ||||
* | Tests: Add use_reduce test case for bug 120374 | Sebastian Luther | 2010-09-13 | 1 | -0/+1 |
| | |||||
* | Tests: Add resolver/test_missing_iuse_and_evaluated_atoms to make sure we ↵ | Sebastian Luther | 2010-09-13 | 1 | -0/+31 |
| | | | | don't miss a "missing IUSE" | ||||
* | Don't miss a "missing IUSE" because of [foo?] -> [] evaluations. | Sebastian Luther | 2010-09-13 | 2 | -33/+18 |
| | | | | 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 collisions | Zac Medico | 2010-09-13 | 1 | -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 EAPI | Sebastian Luther | 2010-09-13 | 6 | -25/+56 |
| | |||||
* | Bug #336142 - Add support for using a thread to wait for locks inside | Zac Medico | 2010-09-13 | 2 | -4/+34 |
| | | | | | dblink.lockdb() so that the scheduler can concurrently service ipc calls in the main thread. | ||||
* | Add a 'condition' keyword argument to PollScheduler._schedule_wait() | Zac Medico | 2010-09-13 | 1 | -1/+3 |
| | | | | | which is a callable that should return True when it is desirable for the _schedule_wait() method to return. | ||||
* | Bug #336875 - Don't reference errno.ETIME since it's undefined on FreeBSD. | Zac Medico | 2010-09-12 | 1 | -1/+3 |
| | |||||
* | When fetching distfiles inside digestgen(), ignore conditional partsv2.2_rc80 | Zac Medico | 2010-09-11 | 1 | -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 the | Zac Medico | 2010-09-11 | 1 | -1/+9 |
| | | | | opposite of matchall. | ||||
* | Fix digestgen() to respect RESTRICT=fetch. | Zac Medico | 2010-09-11 | 1 | -1/+5 |
| | |||||
* | Make spawn_nofetch() call elog_process(). | Zac Medico | 2010-09-11 | 1 | -0/+2 |
| | |||||
* | Make the mail_summary elog module copy needed variables from the config | Zac Medico | 2010-09-11 | 2 | -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 Medico | 2010-09-10 | 1 | -1/+1 |
| | |||||
* | Make digestgen() use spawn_nofetch() when necessary, since fetch() | Zac Medico | 2010-09-10 | 1 | -13/+6 |
| | | | | no longer does it. | ||||
* | Fix typo in comment. | Zac Medico | 2010-09-10 | 1 | -1/+1 |
| | |||||
* | Since pkg_nofetch is no longer called from fetch(), add a new | Zac Medico | 2010-09-10 | 3 | -1/+85 |
| | | | | | spawn_nofetch() support for doebuild() and other fetch() callers to use. | ||||
* | In doebuild(), don't trigger prepare_build_dirs() for the fetch phase | Zac Medico | 2010-09-10 | 1 | -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 Medico | 2010-09-10 | 2 | -58/+8 |
| | | | | 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 Arahesis | 2010-09-11 | 1 | -2/+2 |
| | |||||
* | config: Handle -atoms properly | Sebastian Luther | 2010-09-10 | 1 | -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 Luther | 2010-09-10 | 1 | -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 Luther | 2010-09-10 | 1 | -4/+4 |
| | | | | (like PORTDIR) | ||||
* | Tests: ebuild/test_config: Make sure -atoms in package.mask work as PMS wants it | Sebastian Luther | 2010-09-10 | 1 | -1/+68 |
| | |||||
* | ResolverPlayground: Add ability to create a basic profile and repo config | Sebastian Luther | 2010-09-10 | 1 | -6/+24 |
| | |||||
* | Remove redundant elog_process() call in EbuildBuild._fetch_exit(). | Zac Medico | 2010-09-10 | 1 | -1/+0 |
| | |||||
* | Ensure that depgraph._show_unsatisfied_dep() doesn't suggest changes | Zac Medico | 2010-09-10 | 1 | -0/+15 |
| | | | | to masked or forced USE flags. | ||||
* | In depgraph._show_unsatisfied_dep(), if the child package is masked then a | Zac Medico | 2010-09-10 | 1 | -0/+7 |
| | | | | | change to parent USE is not a valid solution (a normal mask message should be displayed instead). | ||||
* | Bug #336595 - Make dbapi.update_ents() calls quiet when appropriate in | Zac Medico | 2010-09-10 | 1 | -0/+4 |
| | | | | _global_updates(). | ||||
* | global updates: Honor -q and don't repeat the legend | Sebastian Luther | 2010-09-10 | 3 | -13/+23 |
| |