project-copacetic / copacetic

🧵 CLI tool for directly patching container images using reports from vulnerability scanners
https://project-copacetic.github.io/copacetic/
Apache License 2.0
845 stars 59 forks source link

feat: Add guardrails for parsing OS version #619

Open h4l0gen opened 2 months ago

h4l0gen commented 2 months ago

adding guardrails for parsing OS version as per discussion

Closes #438

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 76.47059% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 33.92%. Comparing base (2602d59) to head (9383ae4). Report is 63 commits behind head on main.

Files Patch % Lines
pkg/patch/patch.go 76.47% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #619 +/- ## ========================================== + Coverage 32.51% 33.92% +1.41% ========================================== Files 17 18 +1 Lines 1621 1518 -103 ========================================== - Hits 527 515 -12 + Misses 1062 970 -92 - Partials 32 33 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

h4l0gen commented 2 months ago

Hey sorry, as per this we need to run golangci-lint too, i will run it and make required changes if any.