Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add tests for DependencyArg __str__ and __unicode__ methods. | Zac Medico | 2010-09-15 | 3 | -0/+53 |
| | |||||
* | Implement DependencyArg __equals__, __hash__, and __unicode__ methods. | Zac Medico | 2010-09-15 | 1 | -2/+24 |
| | |||||
* | Fix typo in comment. | Arfrever Frehtes Taifersar Arahesis | 2010-09-15 | 1 | -1/+1 |
| | |||||
* | Bug #337465 - Disable EbuildIpcDaemon on FreeBSD since it doesn'tv2.2_rc83 | Zac Medico | 2010-09-15 | 1 | -0/+8 |
| | | | | work yet. | ||||
* | Tweak stack_lists() strict_warn_for_unmatched_removal logic. | Zac Medico | 2010-09-15 | 1 | -2/+3 |
| | |||||
* | Bug #337180 - Add a --unmatched-removal option for stricter checking | Zac Medico | 2010-09-15 | 4 | -7/+27 |
| | | | | of package.mask and package.unmask files for unmatched removal atoms. | ||||
* | Bug #337180 - Add a strict_warn_for_unmatched_removal parameter for | Zac Medico | 2010-09-14 | 1 | -2/+8 |
| | | | | stack_lists() that will be useful for repoman, and disable it by default. | ||||
* | Limit the spam caused by unmatched removal atoms | Sebastian Luther | 2010-09-14 | 1 | -9/+12 |
| | |||||
* | In Package._validate_deps(), force unicode format string in | Zac Medico | 2010-09-14 | 1 | -1/+4 |
| | | | | check_required_use() exception handling (for python-2.x safety). | ||||
* | Make Package._metadata_exception() use unicode format strings in order | Zac Medico | 2010-09-14 | 1 | -3/+14 |
| | | | | | | | | | | | | | | | | | | to avoid UnicodeDecodeError in python-2.x. This issue was reported in forum thread http://forums.gentoo.org/viewtopic-t-844623.html where the following traceback was posted: File "/usr/lib/portage/pym/_emerge/FakeVartree.py", line 195, in _pkg type_name="installed") File "/usr/lib/portage/pym/_emerge/Package.py", line 64, in __init__ self._validate_deps() File "/usr/lib/portage/pym/_emerge/Package.py", line 93, in _validate_deps self._metadata_exception(k, e) File "/usr/lib/portage/pym/_emerge/Package.py", line 242, in _metadata_exception "%s: %s in '%s'" % (k, e, path)) UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 22: ordinal not in range(128) | ||||
* | Bug #336692 - When stack_lists() detects unmatched removal atoms, | Zac Medico | 2010-09-14 | 1 | -1/+8 |
| | | | | | account for cases in which the same profile is inherited multiple times in the same stack. | ||||
* | Tests: test isvalidatom ::repo syntax support | Sebastian Luther | 2010-09-14 | 1 | -87/+129 |
| | |||||
* | ResolverPlayground: Add multi repo support | Sebastian Luther | 2010-09-14 | 2 | -93/+194 |
| | |||||
* | Add :.repo syntax support for portage.util.{grabfile_package,grabdict_package} | Sebastian Luther | 2010-09-14 | 1 | -4/+4 |
| | |||||
* | portage.dep: Add support for ::repo syntax to all functions and classes | Sebastian Luther | 2010-09-14 | 3 | -89/+178 |
| | | | | This also adds the dep_getrepo() function | ||||
* | In doebuild(), skip PORTAGE_BUILDDIR locking if it's already locked | Zac Medico | 2010-09-14 | 1 | -3/+6 |
| | | | | or returnpid is True. | ||||
* | Make IpcDaemonTestCase use a finally block to unlock PORTAGE_BUILDDIR.v2.2_rc82 | Zac Medico | 2010-09-14 | 1 | -1/+3 |
| | |||||
* | Make ebuild-ipc.py close the output_file before trying to re-open it | Zac Medico | 2010-09-14 | 1 | -2/+6 |
| | | | | after it has timed out. | ||||
* | Bug #336433 - Don't filter the DCCC_PATH variable from environment since | Zac Medico | 2010-09-14 | 1 | -1/+1 |
| | | | | that breaks distcc ebuilds. | ||||
* | 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). | ||||
* | Add option -s to docompress command. | Ulrich Mueller | 2010-09-14 | 1 | -1/+7 |
| | |||||
* | Make EbuildBuildDir.unlock() use an asynchronous lock when locking the | Zac Medico | 2010-09-14 | 1 | -13/+9 |
| | | | | category directory for removal. | ||||
* | Revert "Remove ebuild-helpers/preplib (bug 102297)" | Zac Medico | 2010-09-14 | 1 | -0/+28 |
| | | | | | This reverts commit 811689f349a91b44448bc8e294903abf990eac45. The preplib helper is still used by at least by stable sys-libs/lib-compat ebuilds. | ||||
* | 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 ebuild-ipc timeout messages show which operation timed out. | Zac Medico | 2010-09-14 | 1 | -6/+11 |
| | |||||
* | Bug #336142 - Make ebuild-ipc.py keep trying to communicate indefinitely, | Zac Medico | 2010-09-14 | 1 | -36/+98 |
| | | | | as long as $PORTAGE_BUILDDIR is locked. | ||||
* | 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 |
| | |||||
* | Remove ebuild-helpers/preplib (bug 102297) | Sebastian Luther | 2010-09-13 | 1 | -28/+0 |
| | |||||
* | 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 | 7 | -26/+57 |
| | |||||
* | Bug #336873 - Add a leading comma when matching --hash-style=gnu | Zac Medico | 2010-09-13 | 1 | -1/+1 |
| | | | | in LDFLAGS, in order to try and filter out invalid settings. |