This issues requests additional improvements to changes introduced by
The following enhancements need to be implemented:
Output must:
- be shorter: include only necessary information without duplicates
- allow copy-paste action to easier add missing component to a project file.
Therefore suggested component should include # short description from pdsc
- clearly explain all type of diagnostics: missing, conflicting, incompatible and available
- synchronized with RPC output: effectively the same messages should be displayed in terminal, Problems view and Components view
Examples:
- Unresolved dependencies
NetworkEx.cproject.yaml - warning csolution: dependency validation for context context 'NetworkEx.Release+Device' failed:
component: Keil::Network&MDK-Pro:Socket:TCP : Unresolved dependencies
accept Network&MDK-Pro:CORE' : Select a component
- component: Keil::Network&MDK-Pro # IPv4/IPv6 Networking Core for Cortex-M
require Network:Interface : Select a component
- component: Keil::Network&MDK-Pro:Interface:ETH
- component: Keil::Network&MDK-Pro:Interface:PPP
- component: Keil::Network&MDK-Pro:Interface:SLIP
- Conflicting exclusive components
Test/Validation/dependencies.csolution.yml - warning csolution: dependency validation for context 'conflict+CM0' failed:
API RteTest:ApiExclusive@1.0.0 : Conflict, remove all but one conflicting component
- component ARM::RteTest:ApiExclusive:S1
- component ARM::RteTest:ApiExclusive:S2
- Incompatible components
Test/Validation/dependencies.csolution.yml - warning csolution: dependency validation for context 'incompatible+CM0' failed:
component ARM::RteTest:Check:Incompatible@0.9.9 : Incompatible dependency
deny RteTest:Dependency:Incompatible_component : Remove incompatible component
- component ARM::RteTest:Dependency:Incompatible_component
- Incompatible component variant
Test/Validation/dependencies.csolution.yml - warning csolution: dependency validation for context 'incompatible-variant+CM0' failed:
component ARM::RteTest:Check:IncompatibleVariant@0.9.9 : Incompatible dependency
require RteTest:Dependency:Variant&Compatible : Remove incompatible variant or replace with a compatible one
- component ARM::RteTest:Dependency:Variant
- Missing component
Test/Validation/dependencies.csolution.yml - warning csolution: dependency validation for context 'missing+CM0' failed:
component ARM::RteTest:Check:Missing@0.9.9 : Unresolved dependencies
require RteTest:Dependency:Missing : Install missing component
This issues requests additional improvements to changes introduced by
The following enhancements need to be implemented:
Output must:
Therefore suggested component should include# short description from pdscExamples: