Closed ekohl closed 1 year ago
Base: 50.23% // Head: 44.91% // Decreases project coverage by -5.32%
:warning:
Coverage data is based on head (
6a27319
) compared to base (e089948
). Patch coverage: 50.00% of modified lines in pull request are covered.:exclamation: Current head 6a27319 differs from pull request most recent head eddae20. Consider uploading reports for the commit eddae20 to get more accurate results
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
While reading this I'm leaning to making SemanticPuppet a hard requirement since it doesn't have any dependencies anyway. That simplifies the code and makes the output consistent, regardless of environment. However, that's for another day.
Upon further reading: the min version is the version that's EOL. That should actually be raised to Puppet 6 then, and soon to Puppet 7.
I implemented your suggestion and made semanticpuppet a hard dep: https://github.com/voxpupuli/metadata-json-lint/pull/136
In d0229854172601aae1ccde6d10433fa1bcb24a1e the minimum Puppet version was raised to 4.10.0 while the vendored Semantic was removed in Puppet 4.6. Ever since it's a real gem dependency which Puppet itself pulls in like a any other gem. This means it can always be loaded directly. This avoids the whole Puppet dependency loading, which speeds things up.