summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* Use PORTAGE_TMPDIR if necessary for usersync.Zac Medico2010-10-071-7/+13
| | | | | Bug #340046 - Don't require PORTAGE_TMPDIR access for --sync unless it's really necessary.
* Report len(ips) as max retry count for --sync.Zac Medico2010-10-071-2/+7
|
* Fix spelling of 'wildcards' in --exclude error.Zac Medico2010-10-071-1/+1
|
* Add FifoIpcDaemon._reopen_input() method.Zac Medico2010-10-062-9/+14
|
* Bug #339976 - Suppress fifo POLLHUP events.Zac Medico2010-10-061-0/+11
|
* Merge slot conflict backtracking from master.Zac Medico2010-10-061-36/+61
| | | | | This include the ability to mask packages that don't satisfy all parent atoms, from commit 9ff5e9731142d389373ea6ebc949919c3b637110.
* Remove unused variable.Zac Medico2010-10-061-1/+0
|
* Fix _iter_match_pkgs installed multislot breakageZac Medico2010-10-061-7/+4
|
* Use Atom.without_use in _show_unsatisfied_dep().Zac Medico2010-10-061-1/+1
|
* Show status when listing pkgs for emerge --regen.Zac Medico2010-10-062-1/+2
|
* Add back --sync IPv4/IPv6 override support.Zac Medico2010-10-061-1/+8
|
* Bug #339642 - Use AF_UNSPEC for --sync addresses.Zac Medico2010-10-061-35/+40
|
* Bug #339642 - Make --sync try all addresses.Zac Medico2010-10-061-3/+2
|
* Prune circular nested sets from the digraph.Zac Medico2010-10-061-1/+16
| | | | | | | | | | | | | This prevents the following traceback which was reported in forum thread 847007: File "pym/_emerge/depgraph.py", line 3694, in _merge_order_bias mygraph.order.sort(key=cmp_sort_key(cmp_merge_preference)) File "pym/portage/util/__init__.py", line 808, in __lt__ return self._cmp_func(self._obj, other._obj) < 0 File "pym/_emerge/depgraph.py", line 3675, in cmp_merge_preference if node1.operation == 'uninstall': AttributeError: 'SetArg' object has no attribute 'operation'
* Enable depgraph._load_vdb() with --buildpkgonly.Zac Medico2010-10-011-2/+1
| | | | | | The --buildpkgonly option does not negate the need for _load_vdb(), at least not with the --resume option since otherwise the select_pkg_from_graph() method fails to select installed packages.
* Allow missing category with depclean --exclude.Zac Medico2010-09-301-2/+2
|
* Fix readonly variable assignment for PORTAGE_BINPKG_TMPFILE whenZac Medico2010-09-301-0/+6
| | | | ebuild(1) calls the 'package' phase.
* Tweak depgraph._show_unsatisfied_dep() display for AtomArg instances.Zac Medico2010-09-301-2/+11
|
* search: code clean upSebastian Luther2010-09-301-19/+13
|
* Get --exclude to work with --depclean and --pruneSebastian Luther2010-09-301-1/+19
| | | | Thanks to forum member 'krinn' for the suggestion
* Fix breakage in depgraph._serialize_tasks() blocker handling dueZac Medico2010-09-301-5/+9
| | | | to addition of repo to Package._hash_key.
* Bug #337178 - Fix slot conflict backtracking to mask the higherZac Medico2010-09-271-10/+36
| | | | | | | | | | version if appropriate. Generally, we mask the higher version since this solves common cases in which a lower version is needed so that all dependencies will be satisfied (bug #337178). However, if existing_node happens to be installed then we mask that since this is a common case that is triggered when --update is not enabled.
* Revert one more change from bug #337178: parent_atoms is supposedZac Medico2010-09-261-1/+1
| | | | to refer to the new pkg, not the one to_be_masked.
* Revert slot conflict behavior backtracking behavior changes fromZac Medico2010-09-261-5/+6
| | | | | | | | bug #337178 and comment about reasoning for behavior. We always mask existing_node since _select_package tries to avoid slot conflicts when possible and therefore a conflict typically means that existing_node was a poor choice.
* Fix confusing messages shown byZac Medico2010-09-261-6/+6
| | | | | | | | | | | depgraph._show_missed_update_slot_conflicts() since the fix from bug #337178. When depgraph._add_pkg() was fixed to mask the higher version in 4bc78ab0b563697b98527eebcdfe474863383cf0, we didn't adjust the parent_atoms variable so that it would contain parent atoms from the versions being masked. This resulted in confusing messages from depgraph._show_missed_update_slot_conflicts().
* Fix BinpkgVerifier so that it doesn't try to rename the file ifZac Medico2010-09-251-1/+3
| | | | it doesn't exist.
* In EbuildPhase, don't display Repository if the value is not available.Zac Medico2010-09-251-1/+2
|
* Make BinpkgFetcher use AsynchronousLock.Zac Medico2010-09-251-3/+7
|
* Bug #337465 - Enable EbuildIpcDaemon on Darwin and FreeBSD sinceZac Medico2010-09-251-8/+0
| | | | | | it seems fixed now. This reverts commit 0906fee12ffe0ebd07e8952316f03927962af29b.
* Make EbuildIpcDaemon._input_handler() handle EAGAIN from os.read()Zac Medico2010-09-231-1/+7
| | | | for FreeBSD (bug 337465, comment #35).
* Bug #337465 - Make EbuildIpcDaemon._input_handler() use os.read()Zac Medico2010-09-231-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 Medico2010-09-221-0/+8
| | | | but applies to all binary package merges.
* Fix a typo in a comment.Zac Medico2010-09-211-1/+1
|
* Bug #337465 - Disable EbuildIpcDaemon on Darwin and FreeBSD sinceZac Medico2010-09-211-0/+8
| | | | | | it reportedly triggers a tight loop in emerge. This reverts commit 6085103bdd7623d941e3c6ae5905e66658c49fd7.
* Bug #338267 - Fix broken PORTAGE_BUILDDIR assertion in Binpkg whenZac Medico2010-09-211-1/+3
| | | | PORTAGE_TMPDIR is a symlink.
* Remove obsolete comment about non-blocking fromZac Medico2010-09-201-4/+0
| | | | EbuildIpcDaemon._send_reply() since ebuild-ipc now uses blocking IO.
* Remove obsolete docstring from _RepoDisplay.__str__().Zac Medico2010-09-201-4/+0
|
* Tests: add resolver/test_output: Make sure we don't backtrace in the merge ↵Sebastian Luther2010-09-201-16/+12
| | | | list printer
* Move mergelist printing into resolver/output.pySebastian Luther2010-09-206-1051/+1080
|
* Always mask the higher version when backtracking due to a slot conflictSebastian Luther2010-09-191-4/+10
|
* With waitpid and WNOHANG, only check the first element of the tuplev2.2_rc85Zac Medico2010-09-192-3/+12
| | | | since the second element may vary (bug #337465, comment #12).
* Bug #337465 - Enable EbuildIpcDaemon on Darwin and FreeBSD since itZac Medico2010-09-191-8/+0
| | | | seems fixed since commit 81fc303212b8379219cf5d463c8717359b972dba.
* slot collision handler: Fix bug in atom pretty printer for =* atomsSebastian Luther2010-09-191-0/+8
|
* Fix depgraph._complete_graph() to preserve initial_arg_list when itZac Medico2010-09-191-4/+6
| | | | updates args with _set_args().
* Fix incorrect depgraph_sets reference in depgraph._load_favorites().v2.2_rc84Zac Medico2010-09-181-1/+1
|
* Invert SetArg conditional in depgraph._set_args(), for clarity.Zac Medico2010-09-181-3/+4
|
* Add multiple $ROOT support to depgraph._iter_atoms_for_pkg().Zac Medico2010-09-182-91/+85
|
* Add digraph --debug output in calc_depclean() for the case whenZac Medico2010-09-181-0/+6
| | | | it bails out due to unresolved dependencies.
* Fix breakage in population of dynamic_config._set_atoms since theZac Medico2010-09-181-2/+5
| | | | fix from bug #337540.
* Use blocking IO in ebuild-ipc.py and EbuildIpcDaemon._send_reply(),Zac Medico2010-09-181-6/+1
| | | | in hopes that it will be more portable (see bug #337465).