Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | In depgraph._show_unsatisfied_dep(), show some debug info if | Zac Medico | 2010-08-28 | 1 | -5/+12 |
| | | | | Atom.violated_conditionals() raises InvalidAtom. | ||||
* | Fix Package._validate_deps() to pass matchall=True to use_reduce(). | Zac Medico | 2010-08-27 | 1 | -4/+4 |
| | |||||
* | 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. | ||||
* | fix ppkg type handling in slot_conflict_handler | Sebastian Luther | 2010-08-27 | 1 | -2/+3 |
| | |||||
* | config: Add VirtualsManager | Sebastian Luther | 2010-08-27 | 2 | -12/+10 |
| | |||||
* | Add a IUSE.missing repoman category for packages that have a USE | Zac Medico | 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 | 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. | ||||
* | 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 |
| | |||||
* | Ensure SystemExit is never caught. | Zac Medico | 2010-08-26 | 1 | -2/+2 |
| | |||||
* | Make the Atom class add 'EAPI.incompatible' category attributes to | Zac Medico | 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. | ||||
* | Remove unused max_parents variable. | Zac Medico | 2010-08-26 | 1 | -2/+0 |
| | |||||
* | Fix slot_conflict_handler breakage when calling | Zac Medico | 2010-08-26 | 1 | -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 to | Zac Medico | 2010-08-26 | 1 | -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 Medico | 2010-08-26 | 1 | -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 Medico | 2010-08-26 | 1 | -1/+5 |
| | | | | | so that it only passes Package instances (not DependencyArg instances) into _pkg_use_enabled(). | ||||
* | Let use_reduce and Atom do EAPI checks | Sebastian Luther | 2010-08-26 | 1 | -37/+4 |
| | |||||
* | Remove obsolete TODO comment. | Zac Medico | 2010-08-25 | 1 | -3/+0 |
| | |||||
* | Use EAPI.incompatible repoman category for REQUIRED_USE setting in | Zac Medico | 2010-08-25 | 1 | -1/+1 |
| | | | | EAPI that does not support it. | ||||
* | Make Package._validate_deps() use check_required_use() to validate | Zac Medico | 2010-08-25 | 1 | -5/+15 |
| | | | | REQUIRED_USE. | ||||
* | Just raise InvalidDependString in cases when it shouldn't happen since | Zac Medico | 2010-08-25 | 1 | -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 packages | Zac Medico | 2010-08-25 | 1 | -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 Medico | 2010-08-25 | 1 | -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 Medico | 2010-08-25 | 1 | -1/+2 |
| | |||||
* | Bug #334365 - Mask packages with invalid metadata as early as possible, | Zac Medico | 2010-08-25 | 2 | -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. | ||||
* | Use a PORTAGE_SIGPIPE_STATUS variable to export 128 + SIGPIPE to the | Zac Medico | 2010-08-25 | 1 | -3/+4 |
| | | | | | ebuild environment. SIGPIPE is typically 13, but its better not to assume that. | ||||
* | Bug #334365 - When parsing dependencies of installed packages in | Zac Medico | 2010-08-25 | 1 | -2/+27 |
| | | | | | | | | | | | depgraph._add_pkg_deps(), ignore invalid USE conditionals, since these are a common problem and it's practical to ignore them for installed packages. TODO: For installed package, save any InvalidDependString info in dynamic_config and wait until display_problems() to show it. For packages that aren't installed, we should validate and mask them before they are selected. | ||||
* | show_invalid_depstring_notice: Don't repeat the dep string | Sebastian Luther | 2010-08-25 | 1 | -1/+1 |
| | |||||
* | Add EROOT support to setconfig_fallback(). | Zac Medico | 2010-08-25 | 1 | -1/+1 |
| | |||||
* | Bug #334319 - Don't call config.backup_changes("FEATURES") because it's | Zac Medico | 2010-08-24 | 1 | -2/+0 |
| | | | | | no longer needed and it causes problems with environment overrides of FEATURES. | ||||
* | More _pkg_use_enabled fixes | Sebastian Luther | 2010-08-24 | 2 | -45/+45 |
| | |||||
* | Bug #334253 - Fix breakage in FEATURES=test-fail-continue logic. | Zac Medico | 2010-08-24 | 1 | -1/+5 |
| | |||||
* | Handle SIGPIPE when unpack() extracts tar files through a pipe (bug #309001). | Zac Medico | 2010-08-23 | 1 | -1/+3 |
| | | | | | | | When checking ${PIPESTATUS[@]} for extraction of tar files in unpack(), use a new assert_sigpipe_ok() function which behaves the same as the existing assert() function except that it tolerates pipe writers being killed by SIGPIPE. | ||||
* | * Use iterators instead of keys() when possible. | Zac Medico | 2010-08-23 | 1 | -8/+8 |
| | | | | | | * Use iterators instead of sets for set.intersection() calls. * Use digraph.__iter__ and __contains__ as shortcuts to digraph.nodes access. | ||||
* | In depgraph._select_pkg_highest_available_imp(), make sure | Zac Medico | 2010-08-23 | 1 | -1/+2 |
| | | | | | allow_unstable_keywords is True before adding a package to _needed_unstable_keywords. | ||||
* | Pass a keyword hint from getmaskingstatus() to the autounmask code. | Zac Medico | 2010-08-23 | 1 | -2/+11 |
| | |||||
* | Handle zlib.error when reading compressed build logs via GzipFile. | Zac Medico | 2010-08-22 | 1 | -0/+4 |
| | |||||
* | Allow more time for natural exit of the ebuild process after it has | Zac Medico | 2010-08-22 | 1 | -4/+9 |
| | | | | called the exit command via IPC. | ||||
* | Remove deprecated destroot argument from dblink.isowner() call. | Zac Medico | 2010-08-22 | 1 | -1/+1 |
| | |||||
* | During the post src_install QA checks, log to a temporary file | Zac Medico | 2010-08-22 | 2 | -4/+50 |
| | | | | | | since the code we are running reads PORTAGE_LOG_FILE, and we want to avoid annoying "gzip: unexpected end of file" messages when FEATURES=compress-build-logs is enabled. | ||||
* | Make Binpkg call prepare_build_dirs() before trying to clean the old | Zac Medico | 2010-08-22 | 1 | -2/+2 |
| | | | | log, so PORTAGE_LOG_FILE is initialized. | ||||
* | Add missing scheduler attribute to BinpkgVerifier (broken since the | Zac Medico | 2010-08-22 | 3 | -3/+4 |
| | | | | the addition of FEATURES=compress-build-logs support). | ||||
* | Fix AttributeError for MetadataRegen._sched_iface. | Zac Medico | 2010-08-22 | 1 | -1/+1 |
| | |||||
* | Fix broken writemsg call in depgraph._resolve() that triggers this error: | Zac Medico | 2010-08-21 | 1 | -1/+1 |
| | | | | TypeError: writemsg() got an unexpected keyword argument 'file' | ||||
* | Bug #324191 - Add support for FEATURES=compress-build-logs. The causes | Zac Medico | 2010-08-21 | 12 | -155/+92 |
| | | | | | | | all build logs to be compressed while they are being written. Log file names have an extension that is appropriate for the compression type. Currently, only gzip(1) compression is supported, so build logs will have a '.gz' extension when this feature is enabled. | ||||
* | When accessing pkgsettings.features inside Scheduler._generate_digests(), | Zac Medico | 2010-08-21 | 1 | -0/+8 |
| | | | | | ensure that we are using global features settings rather than those from package.env. |