summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* Fix depgraph._serialize_tasks() so that portage-9999 is always promotedZac Medico2010-08-311-1/+3
| | | | to the front of the merge list when it is reinstalled.
* Add comments about consumers of FakeVardbapi.getpath().Zac Medico2010-08-311-0/+4
|
* When portage updates itself and the new version either inheritsZac Medico2010-08-312-4/+9
| | | | | | | | | git.eclass or has 9999 in its version, trigger the 'use copy of current sources for install, then restart portage' routine. This is required since with the live git portage-9999 ebuild we can't use the version to detect incompatible changes to ebuild.sh. This issue was noticed due to recent versions of ebuild.sh expecting PORTAGE_BZIP2_COMMAND to be set, causing incompatibility with installed portage-9999 instances.
* Show PORTAGE_BZIP2_COMMAND and PORTAGE_BUNZIP2_COMMAND in emerge --info,Zac Medico2010-08-301-1/+11
| | | | in case it triggers mysterious unpack() issues or something.
* Bug #335340 - Add support for PORTAGE_BZIP2_COMMAND andZac Medico2010-08-303-3/+3
| | | | | | PORTAGE_BUNZIP2_COMMAND settings in make.conf. This only adds support for binary packages, since that's where pbzip2 can provide the most benefit in common cases.
* When _ENABLE_DYN_LINK_MAP is False, show additional --depclean helpZac Medico2010-08-302-0/+13
| | | | and warnings advising use of revdep-rebuild.
* Add a TODO note to AbstractEbuildProcess._can_log() about adding supportZac Medico2010-08-301-0/+3
| | | | for logging via named pipe (fifo) for sesandbox.
* Remove duplicate real_vardb definition from merge in action_depclean().Zac Medico2010-08-301-1/+0
|
* Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portageZac Medico2010-08-301-1/+2
|\
| * Fix "UnboundLocalError: local variable 'real_vardb' referenced before ↵Arfrever Frehtes Taifersar Arahesis2010-08-301-1/+1
| | | | | | | | assignment".
| * Fix typo in comment.Arfrever Frehtes Taifersar Arahesis2010-08-301-1/+1
| |
* | Fix broken reference to real_vardb in calc_depclean() from 2 commits ago.Zac Medico2010-08-301-1/+1
|/
* Rename the portage.sets module to portage._sets since it will be usefulZac Medico2010-08-308-15/+15
| | | | | in the upcoming 2.1.9 branch which will not have sets support but will still have the code in private and disabled form.
* Always check if vardbapi._linkmap and vardbapi._plib_registry areZac Medico2010-08-293-3/+20
| | | | | | None before trying to use them. This will be useful in the upcoming 2.1.9 branch which will not have preserve-libs support but will still have the code in private and disabled form.
* Rename vardbapi.linkmap to vardbapi._linkmap since I'mZac Medico2010-08-293-3/+3
| | | | | | trying to minimize the diff between the master branch and upcoming 2.1.9 branch which will not have preserve-libs support but will still have the code in private and disabled form.
* Rename vardbapi.plib_registry to vardbapi._plib_registry since I'mZac Medico2010-08-292-4/+4
| | | | | | trying to minimize the diff between the master branch and upcoming 2.1.9 branch which will not have preserve-libs support but will still have the code in private and disabled form.
* Remove unused imports found by pylint.Arfrever Frehtes Taifersar Arahesis2010-08-2915-46/+11
|
* Fix some typos.Arfrever Frehtes Taifersar Arahesis2010-08-294-11/+11
|
* Add a TODO note about replacing BlockerDB with an incremental depgraphZac Medico2010-08-291-0/+5
| | | | for solving bug #279623.
* Add a Scheduler._running_tasks() set in order to simplify theZac Medico2010-08-281-2/+5
| | | | _is_work_scheduled() method.
* Inside Scheduler._dependent_on_scheduled_merges(), don't traverse childrenZac Medico2010-08-281-1/+5
| | | | of uninstall nodes since those aren't dependencies in the usual sense.
* If there are circular dependencies, and circular_dependency_handlerZac Medico2010-08-282-3/+21
| | | | | | doesn't have a message, eliminate root nodes before calling digraph.debug_print(). If --debug is enabled then do this even if circular_dependency_handler has a message.
* In depgraph._show_unsatisfied_dep(), show some debug info ifZac Medico2010-08-281-5/+12
| | | | Atom.violated_conditionals() raises InvalidAtom.
* Fix Package._validate_deps() to pass matchall=True to use_reduce().Zac Medico2010-08-271-4/+4
|
* Use InvalidDependString import instead ofZac Medico2010-08-271-6/+6
| | | | portage.exception.InvalidDependString.
* Use Package._metadata_exception() to handle invalid LICENSE, PROPERTIES,Zac Medico2010-08-271-12/+22
| | | | | PROVIDE, and RESTRICT, and generate IUSE.missing errors for repoman when appropriate.
* fix ppkg type handling in slot_conflict_handlerSebastian Luther2010-08-271-2/+3
|
* config: Add VirtualsManagerSebastian Luther2010-08-272-12/+10
|
* Add a IUSE.missing repoman category for packages that have a USEZac Medico2010-08-261-22/+25
| | | | | | conditional which references a flag that is not listed in IUSE. Also split out a Package._metadata_exception() method to handle IUSE.missing for *DEPEND and SRC_URI.
* Bug #334365 - Selectively ignore invalid metadata of installed packagesZac Medico2010-08-261-5/+17
| | | | | | | | | | in cases when it's irrelevant (should re-evaluate these when new EAPIs are deployed): * EAPI.incompatible IUSE defaults * EAPI.incompatible *DEPEND * *DEPEND conditionals missing from IUSE * SRC_URI.syntax
* Bug #334365 - When depgraph.display_problems() shows the messageZac Medico2010-08-262-12/+29
| | | | | | about masked installed packages, customize the InvalidDependString display to show the path of the *DEPEND file that contains the invalid dependency.
* Fix breakage from previous commit.Zac Medico2010-08-261-0/+2
|
* Use Package.visible to simplify visibility checks for installedZac Medico2010-08-261-11/+1
| | | | packages, no that it accounts for invalid metadata.
* Fix Package._visible() to mask installed packages with invalid metadata.Zac Medico2010-08-261-1/+3
|
* Ensure SystemExit is never caught.Zac Medico2010-08-261-2/+2
|
* Make the Atom class add 'EAPI.incompatible' category attributes toZac Medico2010-08-261-1/+12
| | | | | | | | InvalidAtom exceptions, make use_reduce() raise InvalidDependString exceptions that encapsulate InvalidAtom exceptions, and make Package._validate_deps() use the InvalidAtom categories when recording the invalid metadata for use by repoman. Also, remove the EAPI.incompatible code from repoman that's no longer used.
* Remove unused max_parents variable.Zac Medico2010-08-261-2/+0
|
* Fix slot_conflict_handler breakage when callingZac Medico2010-08-261-2/+7
| | | | | Atom.unevaluated_atom.violated_conditionals() since in this case the parent_use argument is required.
* In slot_conflict_handler(), never pass parent_use toZac Medico2010-08-261-4/+3
| | | | | | Atom.violated_conditionals since the USE conditionals should have been evaluated in dep_check() and we don't want to accidentally pass a DependencyArg instance into _pkg_use_enabled().
* In slot_conflict_handler._prepare_conflict_msg_and_check_for_specificity()Zac Medico2010-08-261-5/+1
| | | | | don't pass parent_use to Atom.violated_conditionals() since these atoms already have already been through use_reduce() with the parent's USE.
* Fix slot_conflict_handler._prepare_conflict_msg_and_check_for_specificity()Zac Medico2010-08-261-1/+5
| | | | | so that it only passes Package instances (not DependencyArg instances) into _pkg_use_enabled().
* Let use_reduce and Atom do EAPI checksSebastian Luther2010-08-261-37/+4
|
* Remove obsolete TODO comment.Zac Medico2010-08-251-3/+0
|
* Use EAPI.incompatible repoman category for REQUIRED_USE setting inZac Medico2010-08-251-1/+1
| | | | EAPI that does not support it.
* Make Package._validate_deps() use check_required_use() to validateZac Medico2010-08-251-5/+15
| | | | REQUIRED_USE.
* Just raise InvalidDependString in cases when it shouldn't happen sinceZac Medico2010-08-251-11/+7
| | | | | the package is not installed and it should have been validated and masked already if necessary.
* Make _get_masking_status() return masking reasons for installed packagesZac Medico2010-08-251-11/+9
| | | | | | | with invalid metadata, and remove show_invalid_depstring_notice() calls for installed packages since depgraph.display_problems() will now show the invalid metadata masking reasons when it displays installed packages that are masked.
* Bug #334365 - Fix depgraph._wrapped_select_pkg_highest_available_imp()Zac Medico2010-08-251-4/+20
| | | | | | to avoid invalid or masked installed packages when necessary. This is especially important for invalid packages since they need be replaced so that their dependencies can be parsed for --depclean operations.
* Make Package._validate_deps() check USE conditionals in SRC_URI.Zac Medico2010-08-251-1/+2
|
* Bug #334365 - Mask packages with invalid metadata as early as possible,Zac Medico2010-08-252-14/+73
| | | | | | so that the depgraph won't select them unless they are already installed and there is no other choice. This should trigger automatic reinstallation of installed packages that have invalid metadata.