Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | repoman: remove most old-style virtual checks | 2011-05-01 | 1 | -1/+2 | |
| | | | | | | | | | PROVIDE virtuals have been banned from Gentoo's tree (see bug #365505), so these checks aren't needed anymore. The PROVIDE.syntax check is kept in the Package class since PROVIDE is still supported for backward compatibility, and therefore invalid syntax can still have negative effects. This check can be removed if/when backward compatibilty is completely dropped. | ||||
* | Display: Simplify mask code for bug #58416. | 2011-01-31 | 1 | -15/+16 | |
| | | | | | | Hopefully this makes the logic more understandable, though it may support fewer cases. If we want to handle more cases then hopefully we can do it without making the code too complex. | ||||
* | fix the problem of mixing "**" and ebuild keywords for only some archs | 2011-01-30 | 1 | -1/+6 | |
| | |||||
* | Fix a typo. | 2011-01-30 | 1 | -2/+2 | |
| | |||||
* | Use the new _getRawMissingKeyword() which optimizes the keyword display. ↵ | 2011-01-30 | 1 | -13/+13 | |
| | | | | Misc. whitespace cleanup | ||||
* | add a new function to MaskManager that optimizies getting any raw mask atoms | 2011-01-30 | 1 | -23/+6 | |
| | |||||
* | optimize isHardMasked() a little more | 2011-01-30 | 1 | -5/+2 | |
| | |||||
* | Move most of the code to _emerge's Package object. Refine the hardmasking ↵ | 2011-01-30 | 1 | -0/+45 | |
| | | | | code, optimizing as much as possible. | ||||
* | depgraph: prefer highest priority repo more often | 2011-01-02 | 1 | -0/+7 | |
| | | | | | | Prefer the highest priority repo, even when the ebuild from the higher priority repo requires USE adjustments due to USE deps or REQUIRED_USE. This will fix bug #350254. | ||||
* | Package.operation: eliminate duplicate code | 2010-12-22 | 1 | -9/+5 | |
| | |||||
* | Package: Use IUSE to validate built USE | 2010-12-04 | 1 | -0/+8 | |
| | |||||
* | Add Package.use.force/mask attributes. | 2010-11-20 | 1 | -10/+57 | |
| | |||||
* | Fix 'repository' KeyError in Package constructor. | 2010-10-05 | 1 | -1/+1 | |
| | |||||
* | Ensure valid Package.metadata['repository']. | 2010-10-05 | 1 | -6/+7 | |
| | |||||
* | Ensure that Package.repo is always valid. | 2010-10-05 | 1 | -1/+4 | |
| | |||||
* | Clean up repo handling for depgraph pkg_cache. | 2010-10-04 | 1 | -1/+7 | |
| | |||||
* | Omit repo from mtimedb resume mergelist entries since the format | 2010-09-27 | 1 | -0/+10 | |
| | | | | is intended to be frozen. | ||||
* | reposyntax: Add support all over the place | 2010-09-26 | 1 | -5/+11 | |
| | |||||
* | Make Package __str__ and __unicode__ methods more like DependencyArg. | 2010-09-16 | 1 | -1/+9 | |
| | |||||
* | In Package._validate_deps(), force unicode format string in | 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 | 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. | 2010-09-14 | 1 | -1/+2 | |
| | |||||
* | Ensure that Package.inherited is always initialized, even if there is no | 2010-09-14 | 1 | -0/+1 | |
| | | | | INHERITED metadata available (like for binary packages). | ||||
* | Make Package.metadata.defined_phases return all possible phases when | 2010-09-09 | 1 | -1/+11 | |
| | | | | | DEFINED_PHASES is undefined. This makes it easy to do containment checks to see if it's safe to skip execution of a given phase. | ||||
* | Fix Package._validate_deps() to pass matchall=True to use_reduce(). | 2010-08-27 | 1 | -4/+4 | |
| | |||||
* | Use InvalidDependString import instead of | 2010-08-27 | 1 | -6/+6 | |
| | | | | portage.exception.InvalidDependString. | ||||
* | Use Package._metadata_exception() to handle invalid LICENSE, PROPERTIES, | 2010-08-27 | 1 | -12/+22 | |
| | | | | | PROVIDE, and RESTRICT, and generate IUSE.missing errors for repoman when appropriate. | ||||
* | Add a IUSE.missing repoman category for packages that have a USE | 2010-08-26 | 1 | -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 packages | 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 | 2010-08-26 | 1 | -11/+20 | |
| | | | | | | about masked installed packages, customize the InvalidDependString display to show the path of the *DEPEND file that contains the invalid dependency. | ||||
* | Fix Package._visible() to mask installed packages with invalid metadata. | 2010-08-26 | 1 | -1/+3 | |
| | |||||
* | Make the Atom class add 'EAPI.incompatible' category attributes to | 2010-08-26 | 1 | -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. | ||||
* | Let use_reduce and Atom do EAPI checks | 2010-08-26 | 1 | -37/+4 | |
| | |||||
* | Use EAPI.incompatible repoman category for REQUIRED_USE setting in | 2010-08-25 | 1 | -1/+1 | |
| | | | | EAPI that does not support it. | ||||
* | Make Package._validate_deps() use check_required_use() to validate | 2010-08-25 | 1 | -5/+15 | |
| | | | | REQUIRED_USE. | ||||
* | Make Package._validate_deps() check USE conditionals in SRC_URI. | 2010-08-25 | 1 | -1/+2 | |
| | |||||
* | Bug #334365 - Mask packages with invalid metadata as early as possible, | 2010-08-25 | 1 | -3/+63 | |
| | | | | | | 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. | ||||
* | * Replace config._iuse_implicit_re with a callable _iuse_implicit_match | 2010-08-18 | 1 | -6/+6 | |
| | | | | | | | object that simply returns boolean, and update consumers. * Make check_required_use() take a callable for the iuse parameter, and pass in Package.use.is_valid_flag or iuse.__contains__ as appropriate. | ||||
* | Pass is_valid_flag to use_reduce if possible | 2010-08-16 | 1 | -1/+2 | |
| | |||||
* | portage.dep.use_reduce: Better validation of use flags in use conditionals | 2010-08-16 | 1 | -1/+1 | |
| | | | | | use_reduce now uses either a regex or, if provided, a is_valid_flag function to validate use flags | ||||
* | Make DoebuildSpawnTestCase instantiate a minimal Package instance, and | 2010-08-15 | 1 | -1/+1 | |
| | | | | fix code to tolerate missing metadata values in various places. | ||||
* | portage.dep: Integrate the functionality of flatten into use_reduce | 2010-08-14 | 1 | -2/+2 | |
| | |||||
* | Implement use dependency defaults | 2010-08-13 | 1 | -1/+1 | |
| | |||||
* | Make sure we don't allow REQUIRED_USE in EAPIs that don't support it | 2010-08-11 | 1 | -1/+5 | |
| | |||||
* | Make sure we don't allow IUSE defaults in EAPIs that don't allow them | 2010-08-11 | 1 | -0/+5 | |
| | |||||
* | portage.dep.use_reduce: Work on depstrings instead of paren_reduce'd dep arrays | 2010-08-10 | 1 | -6/+5 | |
| | | | | | This change makes paren_reduce and paren_normalize calls for use_reduce redundant, resp. wrong. All consumers inside portage are adopted. | ||||
* | Add REQUIRED_USE to metadata keys, caches, etc. | 2010-08-10 | 1 | -1/+1 | |
| | |||||
* | Add special handling for updates of Package.metadata['USE'], so that | 2010-06-01 | 1 | -3/+15 | |
| | | | | internal state is consistent. | ||||
* | Add a Package.copy() method. | 2010-06-01 | 1 | -2/+9 | |
| | |||||
* | Make depgraph._serialize_tasks show a debug message when it | 2010-05-30 | 1 | -4/+2 | |
| | | | | | enables 'complete' mode due to an uninstall, and fix the Package.__str__ method to display uninstall tasks properly. |