summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add the chflags and selinux values to SUPPORTED_FEATURES.Zac Medico2010-08-271-2/+2
|
* Define a cmp work-alike function for use in the egencacheZac Medico2010-08-271-5/+11
| | | | | --update-use-local-desc code, since it's ugly to have so many repetitions of this construct.
* Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portageZac Medico2010-08-273-3/+3
|\
| * Fix some typos.Arfrever Frehtes Taifersar Arahesis2010-08-283-3/+3
| |
* | Fix breakage caused ignorance of /etc/portage/{arch.list,categories}Zac Medico2010-08-271-9/+12
|/ | | | config overrides.
* Fix _get_legacy_global() so that it does't pass in the target_rootZac Medico2010-08-271-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 theZac Medico2010-08-271-2/+3
| | | | LocationsManager constructor.
* Bug #334817 - Make the make.conf.5 man page document the fact thatZac Medico2010-08-271-4/+7
| | | | /etc/portage/make.conf overrides /etc/make.conf.
* Fix Package._validate_deps() to pass matchall=True to use_reduce().Zac Medico2010-08-271-4/+4
|
* Add egencache --update-use-local-desc action to the man page.Zac Medico2010-08-271-0/+3
|
* config: Remove last traces of autouseSebastian Luther2010-08-271-29/+19
|
* Use InvalidDependString import instead ofZac Medico2010-08-271-42/+42
| | | | portage.exception.InvalidDependString.
* 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 breakage in egencache --update-use-local-desc code.Zac Medico2010-08-271-8/+21
|
* Use cmp_sort_key() for python3 compatibility.Zac Medico2010-08-271-5/+4
|
* Support returning multiple flag descriptions when restrict is used.Michał Górny2010-08-272-9/+34
| | | | | | | 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 Medico2010-08-272-6/+6
|
* Bug #334817 - Make genconfig() warn about EISDIR instead of raisingZac Medico2010-08-271-1/+2
| | | | a IOError.
* Fix broken reference to config.pmaskdict for repoman --without-mask.Zac Medico2010-08-271-1/+4
|
* fix ppkg type handling in slot_conflict_handlerSebastian Luther2010-08-271-2/+3
|
* ecompressdir: use proper exit valueJonathan Callen2010-08-271-1/+1
|
* config: Add special_env_varsSebastian Luther2010-08-272-152/+169
|
* config: Add LocationsManagerSebastian Luther2010-08-272-163/+212
|
* config: Add VirtualsManagerSebastian Luther2010-08-274-176/+274
|
* config: Add MaskManagerSebastian Luther2010-08-272-42/+75
|
* config: Avoid copying _license_managerSebastian Luther2010-08-274-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.
* repoman: Fix NameError on musedict when metadata is not available.Michał Górny2010-08-271-1/+1
|
* Add a IUSE.missing repoman category for packages that have a USEZac Medico2010-08-265-25/+37
| | | | | | 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.
* Do not include the whole input string in the use_reduce()Zac Medico2010-08-261-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 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
|
* Use dict.__iter__() instead of keys().Zac Medico2010-08-261-1/+1
|
* Use shallow copy for more immutable config attributes.Zac Medico2010-08-261-14/+15
|
* Make LicenseManager.__deepcopy__() do a shallow copy of _license_groupsZac Medico2010-08-261-1/+6
| | | | | since internal policy ensures lack of mutation, and fix memo usage for the other immutable attributes.
* Implement LicenseManager.__deepcopy__(), using shallow copy forZac Medico2010-08-261-1/+23
| | | | immutable attributes.
* Disable autouse support and add a deprecation warning to the autouse()Zac Medico2010-08-261-34/+5
| | | | function.
* Use frozenset for config.usemask and useforce attributes, so there'sZac Medico2010-08-262-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 EAPIZac Medico2010-08-261-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 Medico2010-08-261-25/+35
| | | | | | | * Allow empty descriptions (backward compatibility). * Support multiple 'use' elements. * If multiple 'flag' elements have the same name attribute, use the first occurance.
* Make parse_metadata_use() tolerate empty flag descriptions.Zac Medico2010-08-261-8/+1
|
* Make repoman ignore FEATURES=digest when in manifest-check mode.Zac Medico2010-08-261-1/+2
|
* Ensure SystemExit is never caught.Zac Medico2010-08-267-5/+17
|
* Make the Atom class add 'EAPI.incompatible' category attributes toZac Medico2010-08-264-33/+34
| | | | | | | | 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.
* Make parse_metadata_use() emulate the Element.itertext() method fromZac Medico2010-08-261-3/+19
| | | | | python-2.7, so egencache --update-use-local-desc gets all of the inner text.
* Make egencache only show a warning about FEATURES=metata-transfer if theZac Medico2010-08-261-1/+1
| | | | --update option is given.
* Fix up error handling for egencache --update-use-local-desc.Zac Medico2010-08-262-5/+16
|