Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bug #337465 - Make EbuildIpcDaemon._input_handler() use os.read() | Zac Medico | 2010-09-23 | 1 | -3/+11 |
| | | | | | since array.fromfile() and file.read() are both known to erroneously return an empty string from this non-blocking fifo stream on FreeBSD. | ||||
* | Add support for FEATURES=binpkg-logs which is similar to unmerge-logs, | Zac Medico | 2010-09-22 | 1 | -0/+8 |
| | | | | but applies to all binary package merges. | ||||
* | Fix a typo in a comment. | Zac Medico | 2010-09-21 | 1 | -1/+1 |
| | |||||
* | Bug #337465 - Disable EbuildIpcDaemon on Darwin and FreeBSD since | Zac Medico | 2010-09-21 | 1 | -0/+8 |
| | | | | | | it reportedly triggers a tight loop in emerge. This reverts commit 6085103bdd7623d941e3c6ae5905e66658c49fd7. | ||||
* | Bug #338267 - Fix broken PORTAGE_BUILDDIR assertion in Binpkg when | Zac Medico | 2010-09-21 | 1 | -1/+3 |
| | | | | PORTAGE_TMPDIR is a symlink. | ||||
* | Remove obsolete comment about non-blocking from | Zac Medico | 2010-09-20 | 1 | -4/+0 |
| | | | | EbuildIpcDaemon._send_reply() since ebuild-ipc now uses blocking IO. | ||||
* | Remove obsolete docstring from _RepoDisplay.__str__(). | Zac Medico | 2010-09-20 | 1 | -4/+0 |
| | |||||
* | Tests: add resolver/test_output: Make sure we don't backtrace in the merge ↵ | Sebastian Luther | 2010-09-20 | 1 | -16/+12 |
| | | | | list printer | ||||
* | Move mergelist printing into resolver/output.py | Sebastian Luther | 2010-09-20 | 6 | -1051/+1080 |
| | |||||
* | Always mask the higher version when backtracking due to a slot conflict | Sebastian Luther | 2010-09-19 | 1 | -4/+10 |
| | |||||
* | With waitpid and WNOHANG, only check the first element of the tuplev2.2_rc85 | Zac Medico | 2010-09-19 | 2 | -3/+12 |
| | | | | since the second element may vary (bug #337465, comment #12). | ||||
* | Bug #337465 - Enable EbuildIpcDaemon on Darwin and FreeBSD since it | Zac Medico | 2010-09-19 | 1 | -8/+0 |
| | | | | seems fixed since commit 81fc303212b8379219cf5d463c8717359b972dba. | ||||
* | slot collision handler: Fix bug in atom pretty printer for =* atoms | Sebastian Luther | 2010-09-19 | 1 | -0/+8 |
| | |||||
* | Fix depgraph._complete_graph() to preserve initial_arg_list when it | Zac Medico | 2010-09-19 | 1 | -4/+6 |
| | | | | updates args with _set_args(). | ||||
* | Fix incorrect depgraph_sets reference in depgraph._load_favorites().v2.2_rc84 | Zac Medico | 2010-09-18 | 1 | -1/+1 |
| | |||||
* | Invert SetArg conditional in depgraph._set_args(), for clarity. | Zac Medico | 2010-09-18 | 1 | -3/+4 |
| | |||||
* | Add multiple $ROOT support to depgraph._iter_atoms_for_pkg(). | Zac Medico | 2010-09-18 | 2 | -91/+85 |
| | |||||
* | Add digraph --debug output in calc_depclean() for the case when | Zac Medico | 2010-09-18 | 1 | -0/+6 |
| | | | | it bails out due to unresolved dependencies. | ||||
* | Fix breakage in population of dynamic_config._set_atoms since the | Zac Medico | 2010-09-18 | 1 | -2/+5 |
| | | | | fix from bug #337540. | ||||
* | Use blocking IO in ebuild-ipc.py and EbuildIpcDaemon._send_reply(), | Zac Medico | 2010-09-18 | 1 | -6/+1 |
| | | | | in hopes that it will be more portable (see bug #337465). | ||||
* | Disable EbuildIpcDaemon for Darwin (similar issues to FreeBSD). | Zac Medico | 2010-09-18 | 1 | -1/+2 |
| | |||||
* | Fix --autounmask get_dep_chain() function to traverse nested sets. | Zac Medico | 2010-09-18 | 1 | -7/+20 |
| | |||||
* | Never traverse the same node twice when showing parents in | Zac Medico | 2010-09-18 | 1 | -1/+3 |
| | | | | depgraph._show_unsatisfied_dep(). | ||||
* | When depgraph._show_unsatisfied_dep() displays parents, traverse nested | Zac Medico | 2010-09-18 | 1 | -7/+15 |
| | | | | sets. | ||||
* | Make depgraph._pkg_visibility_check() when --autounmask is not | Zac Medico | 2010-09-17 | 1 | -0/+3 |
| | | | | enabled. | ||||
* | Make EbuildIpcDaemon._input_handler() use a blanket exception | Zac Medico | 2010-09-17 | 1 | -2/+5 |
| | | | | | handler for pickle.loads() since that can raise practically any exception when given corrupt data. | ||||
* | Update emerge --autounmask docs to indicate support for LICENSE | Zac Medico | 2010-09-17 | 1 | -2/+2 |
| | | | | masks. | ||||
* | --autounmask: Support license changes | Sebastian Luther | 2010-09-17 | 1 | -35/+92 |
| | |||||
* | Bug #337540 - Record nested package set information in the digraph. | Zac Medico | 2010-09-17 | 4 | -37/+85 |
| | | | | | | A new depgraph._expand_set_args() method adds nested SetArg instances to the digraph, in order to record parent -> child relationships from nested sets. | ||||
* | Move traversal of world_sets from calc_depclean() to | Zac Medico | 2010-09-16 | 2 | -26/+51 |
| | | | | | | | | depgraph._complete_graph(). With this patch, nested set traversal is only used for removal operations like --depclean and --prune. A later patch will introduce similar traversal for all operations, in order to solve bug #337540. | ||||
* | Fix misspelling of DependencyArg.__eq__() method. | Zac Medico | 2010-09-16 | 1 | -1/+1 |
| | |||||
* | Make Package __str__ and __unicode__ methods more like DependencyArg. | Zac Medico | 2010-09-16 | 2 | -3/+13 |
| | |||||
* | Make RepoDisplay __str__ and __unicode__ methods more like | Zac Medico | 2010-09-16 | 2 | -5/+17 |
| | | | | DependencyArg. | ||||
* | Make EbuildPhase display "Package" and "Repository" instead of "CPV" | Zac Medico | 2010-09-16 | 1 | -2/+2 |
| | | | | and "REPO" the the start of the build log. | ||||
* | Add missing noiselevel parameter to writemsg_stdout() call from previous | Zac Medico | 2010-09-16 | 1 | -1/+1 |
| | | | | commit. | ||||
* | Make UseFlagDisplay __str__ and __unicode__ methods more like | Zac Medico | 2010-09-16 | 2 | -3/+19 |
| | | | | DependencyArg, and add tests. | ||||
* | Implement DependencyArg __equals__, __hash__, and __unicode__ methods. | Zac Medico | 2010-09-15 | 1 | -2/+24 |
| | |||||
* | Bug #337465 - Disable EbuildIpcDaemon on FreeBSD since it doesn'tv2.2_rc83 | Zac Medico | 2010-09-15 | 1 | -0/+8 |
| | | | | work yet. | ||||
* | 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) | ||||
* | 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 | 4 | -6/+6 |
| | | | | 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. | ||||
* | Make AbstractEbuildProcess lock PORTAGE_BUILDIR if it's not already | Zac Medico | 2010-09-13 | 2 | -1/+12 |
| | | | | locked. | ||||
* | 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. | ||||
* | Add a new AsynchronousLock class that uses the portage.locks module to | Zac Medico | 2010-09-13 | 1 | -0/+103 |
| | | | | acquire a lock asynchronously, using a background thread. | ||||
* | 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 |