Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Move PreservedLibsRegistry to a new ↵ | Zac Medico | 2010-08-29 | 3 | -117/+141 | |
| | | | | portage.util._dyn_libs.PreservedLibsRegistry module. | |||||
* | Remove unused imports found by pylint. | Arfrever Frehtes Taifersar Arahesis | 2010-08-29 | 35 | -84/+34 | |
| | ||||||
* | Fix import. | Arfrever Frehtes Taifersar Arahesis | 2010-08-29 | 1 | -2/+2 | |
| | ||||||
* | Fix some typos. | Arfrever Frehtes Taifersar Arahesis | 2010-08-29 | 4 | -11/+11 | |
| | ||||||
* | Add LocationsManager.profile_and_user_locations for use with ↵ | Sebastian Luther | 2010-08-29 | 2 | -8/+12 | |
| | | | | config.categories and archlist. | |||||
* | Add a TODO note about replacing BlockerDB with an incremental depgraph | Zac Medico | 2010-08-29 | 1 | -0/+5 | |
| | | | | for solving bug #279623. | |||||
* | Add a Scheduler._running_tasks() set in order to simplify the | Zac Medico | 2010-08-28 | 1 | -2/+5 | |
| | | | | _is_work_scheduled() method. | |||||
* | Inside Scheduler._dependent_on_scheduled_merges(), don't traverse children | Zac Medico | 2010-08-28 | 1 | -1/+5 | |
| | | | | of uninstall nodes since those aren't dependencies in the usual sense. | |||||
* | Simplify the empty USE conditional /var/db/pkg metadata code in | Zac Medico | 2010-08-28 | 1 | -8/+6 | |
| | | | | _post_src_install_uid_fix(), and handle one more case. | |||||
* | When evaluating USE conditional metadata for /var/db/pkg inside | Zac Medico | 2010-08-28 | 1 | -0/+11 | |
| | | | | | _post_src_install_uid_fix(), ensure non-empty entries are removed if the evaluation results in an empty value. | |||||
* | If there are circular dependencies, and circular_dependency_handler | Zac Medico | 2010-08-28 | 2 | -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. | |||||
* | Bug #335055 - Fix "TypeError: argument of type 'NoneType' is not | Zac Medico | 2010-08-28 | 1 | -4/+5 | |
| | | | | | iterable" raised from first call to VirtualsManager.get_virts_p() when trying to expand the category for a package name. | |||||
* | In depgraph._show_unsatisfied_dep(), show some debug info if | Zac Medico | 2010-08-28 | 1 | -5/+12 | |
| | | | | Atom.violated_conditionals() raises InvalidAtom. | |||||
* | Bug #334935 - Fix broken reference to config.pmaskdict insidev2.2_rc71 | Zac Medico | 2010-08-27 | 1 | -2/+3 | |
| | | | | getmaskingreason(). | |||||
* | Use StopIteration to exit nested loops.v2.2_rc70 | Zac Medico | 2010-08-27 | 1 | -5/+9 | |
| | ||||||
* | Add support for IUSE.missing checks in conditional USE dependencies. | Zac Medico | 2010-08-27 | 1 | -3/+35 | |
| | ||||||
* | Add the chflags and selinux values to SUPPORTED_FEATURES. | Zac Medico | 2010-08-27 | 1 | -2/+2 | |
| | ||||||
* | Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portage | Zac Medico | 2010-08-27 | 3 | -3/+3 | |
|\ | ||||||
| * | Fix some typos. | Arfrever Frehtes Taifersar Arahesis | 2010-08-28 | 3 | -3/+3 | |
| | | ||||||
* | | Fix breakage caused ignorance of /etc/portage/{arch.list,categories} | Zac Medico | 2010-08-27 | 1 | -9/+12 | |
|/ | | | | config overrides. | |||||
* | Fix _get_legacy_global() so that it does't pass in the target_root | Zac Medico | 2010-08-27 | 1 | -1/+1 | |
| | | | | | parameter to create_trees() unless ROOT is set. This is required for make.conf ROOT override to work with LocationsManager. | |||||
* | Fix the config constructor to pass missing parameters to the | Zac Medico | 2010-08-27 | 1 | -2/+3 | |
| | | | | LocationsManager constructor. | |||||
* | Fix Package._validate_deps() to pass matchall=True to use_reduce(). | Zac Medico | 2010-08-27 | 1 | -4/+4 | |
| | ||||||
* | config: Remove last traces of autouse | Sebastian Luther | 2010-08-27 | 1 | -29/+19 | |
| | ||||||
* | Use InvalidDependString import instead of | Zac Medico | 2010-08-27 | 1 | -42/+42 | |
| | | | | portage.exception.InvalidDependString. | |||||
* | Use InvalidDependString import instead of | Zac Medico | 2010-08-27 | 1 | -6/+6 | |
| | | | | portage.exception.InvalidDependString. | |||||
* | Use Package._metadata_exception() to handle invalid LICENSE, PROPERTIES, | Zac Medico | 2010-08-27 | 1 | -12/+22 | |
| | | | | | PROVIDE, and RESTRICT, and generate IUSE.missing errors for repoman when appropriate. | |||||
* | Support returning multiple flag descriptions when restrict is used. | Michał Górny | 2010-08-27 | 1 | -8/+6 | |
| | | | | | | | Return a dict of dicts in parse_metadata_use(), with second-level keys being the restrict strings (or None when no restrict). When generating use.local.desc, use the description from the possibly-highest-matching atom. | |||||
* | Remove unused imports. | Zac Medico | 2010-08-27 | 2 | -6/+6 | |
| | ||||||
* | Bug #334817 - Make genconfig() warn about EISDIR instead of raising | Zac Medico | 2010-08-27 | 1 | -1/+2 | |
| | | | | a IOError. | |||||
* | fix ppkg type handling in slot_conflict_handler | Sebastian Luther | 2010-08-27 | 1 | -2/+3 | |
| | ||||||
* | config: Add special_env_vars | Sebastian Luther | 2010-08-27 | 2 | -152/+169 | |
| | ||||||
* | config: Add LocationsManager | Sebastian Luther | 2010-08-27 | 2 | -163/+212 | |
| | ||||||
* | config: Add VirtualsManager | Sebastian Luther | 2010-08-27 | 4 | -176/+274 | |
| | ||||||
* | config: Add MaskManager | Sebastian Luther | 2010-08-27 | 2 | -42/+75 | |
| | ||||||
* | config: Avoid copying _license_manager | Sebastian Luther | 2010-08-27 | 4 | -54/+31 | |
| | | | | | | | | | Strictly speaking _license_manager is not immutable. Users need to ensure that extract_global_changes() is called right after __init__ (if at all). It also has the mutable member _undef_lic_groups. It is used to track undifiend license groups, to not display an error message for the same group again and again. Because of this, it's useful to share it between all LicenseManager instances. | |||||
* | Add a IUSE.missing repoman category for packages that have a USE | Zac Medico | 2010-08-26 | 3 | -25/+33 | |
| | | | | | | 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 packages | Zac Medico | 2010-08-26 | 1 | -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 message | Zac Medico | 2010-08-26 | 2 | -12/+29 | |
| | | | | | | about masked installed packages, customize the InvalidDependString display to show the path of the *DEPEND file that contains the invalid dependency. | |||||
* | Do not include the whole input string in the use_reduce() | Zac Medico | 2010-08-26 | 1 | -21/+21 | |
| | | | | | | | | InvalidDependString messages since the string is often extremely long which makes it flood the terminal when displayed. Instead we'll have to rely on the caller to display react appropriately to the exception (perhaps displaying the whole input if appropriate). | |||||
* | Fix breakage from previous commit. | Zac Medico | 2010-08-26 | 1 | -0/+2 | |
| | ||||||
* | Use Package.visible to simplify visibility checks for installed | Zac Medico | 2010-08-26 | 1 | -11/+1 | |
| | | | | packages, no that it accounts for invalid metadata. | |||||
* | Fix Package._visible() to mask installed packages with invalid metadata. | Zac Medico | 2010-08-26 | 1 | -1/+3 | |
| | ||||||
* | Use shallow copy for more immutable config attributes. | Zac Medico | 2010-08-26 | 1 | -14/+15 | |
| | ||||||
* | Make LicenseManager.__deepcopy__() do a shallow copy of _license_groups | Zac Medico | 2010-08-26 | 1 | -1/+6 | |
| | | | | | since internal policy ensures lack of mutation, and fix memo usage for the other immutable attributes. | |||||
* | Implement LicenseManager.__deepcopy__(), using shallow copy for | Zac Medico | 2010-08-26 | 1 | -1/+23 | |
| | | | | immutable attributes. | |||||
* | Disable autouse support and add a deprecation warning to the autouse() | Zac Medico | 2010-08-26 | 1 | -34/+5 | |
| | | | | function. | |||||
* | Use frozenset for config.usemask and useforce attributes, so there's | Zac Medico | 2010-08-26 | 2 | -8/+7 | |
| | | | | | no need to copy them during clone operations. Also, there's no need to copy config.puse since its an immutable string. | |||||
* | Bug #334365 - Make dep_check() less strict with respect to EAPI | Zac Medico | 2010-08-26 | 1 | -17/+12 | |
| | | | | | | | | | | constraints for installed packages since previous validation will have already marked them as invalid when necessary and now we're more interested in evaluating dependencies so that things like --depclean work as well as possible in spite of partial invalidity. Also, remove obsolete EAPI atom validation code from _expand_new_virtuals() since it's handled by use_reduce() and the Atom constructor now. | |||||
* | Various parse_metadata_use() fixes: | Zac Medico | 2010-08-26 | 1 | -25/+35 | |
| | | | | | | | * Allow empty descriptions (backward compatibility). * Support multiple 'use' elements. * If multiple 'flag' elements have the same name attribute, use the first occurance. |