summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* 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).
* Disable EbuildIpcDaemon for Darwin (similar issues to FreeBSD).Zac Medico2010-09-181-1/+2
|
* Fix lockfile() to close the file descriptor before raising TryAgain.Zac Medico2010-09-181-0/+1
|
* Fix the "Unmatch removal atoms" (second try) to show the correctZac Medico2010-09-181-2/+3
| | | | number of undisplayed atoms when there are more than 3.
* catch another case where using EROOT is absolutely not correct:Fabian Groffen2010-09-181-1/+2
| | | | | when reading files from CONTENTS, don't prepend EROOT, since the package already HAS prefix recorded in CONTENTS
* Drop PREFIX LOCAL markersFabian Groffen2010-09-181-10/+2
|
* Fix off-by-one; don't print useless "and 0 more" message.Fabian Groffen2010-09-181-1/+1
|
* Bug #337826 - Fix spawn_nofetch() to create the privateZac Medico2010-09-181-13/+16
| | | | PORTAGE_TMPDIR before calling doebuild_environment().
* Fix --autounmask get_dep_chain() function to traverse nested sets.Zac Medico2010-09-181-7/+20
|
* Never traverse the same node twice when showing parents inZac Medico2010-09-181-1/+3
| | | | depgraph._show_unsatisfied_dep().
* When depgraph._show_unsatisfied_dep() displays parents, traverse nestedZac Medico2010-09-181-7/+15
| | | | sets.
* Make depgraph._pkg_visibility_check() when --autounmask is notZac Medico2010-09-171-0/+3
| | | | enabled.
* Use _unicode_decode() to force unicode format strings insideZac Medico2010-09-171-2/+7
| | | | digraph.debug_print().
* Remove unused PORTAGE_MASTER_PID variable.Zac Medico2010-09-172-3/+1
|
* Make EbuildIpcDaemon._input_handler() use a blanket exceptionZac Medico2010-09-171-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 LICENSEZac Medico2010-09-171-2/+2
| | | | masks.
* don't use EROOT or an upgrade of a package will result in the package being ↵Fabian Groffen2010-09-171-2/+8
| | | | unmerged!
* Do NOT use EROOT when merging files to the live filesystem! It inevitably ↵Fabian Groffen2010-09-171-3/+10
| | | | makes double offsets occur
* --autounmask: Support license changesSebastian Luther2010-09-174-37/+139
|
* Bug #337540 - Record nested package set information in the digraph.Zac Medico2010-09-174-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() toZac Medico2010-09-162-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.
* Bug #337702 - Fix config.load_best_module() to raise ImportError fromZac Medico2010-09-161-4/+4
| | | | | | | | the indentation block that caught it. In python3, we get a "RuntimeError: No active exception to reraise" exception if we try to call raise after completion of the indentation block were the last exception was caught.
* Fix misspelling of DependencyArg.__eq__() method.Zac Medico2010-09-161-1/+1
|
* Make Package __str__ and __unicode__ methods more like DependencyArg.Zac Medico2010-09-162-3/+13
|
* Make RepoDisplay __str__ and __unicode__ methods more likeZac Medico2010-09-162-5/+17
| | | | DependencyArg.
* Bug #337603 - Fix invalid '/etc/make.profile is not a symlink' messageZac Medico2010-09-161-3/+3
| | | | displayed when /etc/portage/make.profile is perfectly valid.
* Make EbuildPhase display "Package" and "Repository" instead of "CPV"Zac Medico2010-09-161-2/+2
| | | | and "REPO" the the start of the build log.
* Add missing noiselevel parameter to writemsg_stdout() call from previousZac Medico2010-09-161-1/+1
| | | | commit.
* Make UseFlagDisplay __str__ and __unicode__ methods more likeZac Medico2010-09-163-3/+50
| | | | DependencyArg, and add tests.
* Make PortageException __str__ and __unicode__ methods more likeZac Medico2010-09-152-8/+39
| | | | DependencyArg, and add tests.
* Add tests for DependencyArg __str__ and __unicode__ methods.Zac Medico2010-09-153-0/+53
|
* Implement DependencyArg __equals__, __hash__, and __unicode__ methods.Zac Medico2010-09-151-2/+24
|
* Fix typo in comment.Arfrever Frehtes Taifersar Arahesis2010-09-151-1/+1
|
* Bug #337465 - Disable EbuildIpcDaemon on FreeBSD since it doesn'tv2.2_rc83Zac Medico2010-09-151-0/+8
| | | | work yet.
* Tweak stack_lists() strict_warn_for_unmatched_removal logic.Zac Medico2010-09-151-2/+3
|
* Bug #337180 - Add a --unmatched-removal option for stricter checkingZac Medico2010-09-152-7/+19
| | | | of package.mask and package.unmask files for unmatched removal atoms.
* Bug #337180 - Add a strict_warn_for_unmatched_removal parameter forZac Medico2010-09-141-2/+8
| | | | stack_lists() that will be useful for repoman, and disable it by default.
* Limit the spam caused by unmatched removal atomsSebastian Luther2010-09-141-9/+12
|
* In Package._validate_deps(), force unicode format string inZac Medico2010-09-141-1/+4
| | | | check_required_use() exception handling (for python-2.x safety).
* Make Package._metadata_exception() use unicode format strings in orderZac Medico2010-09-141-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 Medico2010-09-141-1/+8
| | | | | account for cases in which the same profile is inherited multiple times in the same stack.
* Tests: test isvalidatom ::repo syntax supportSebastian Luther2010-09-141-87/+129
|