-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for DPKG (Debian) parser #168
Conversation
Just want to chime in this would be very useful |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good! just got one comment about a doc comment :)
…anning Co-authored-by: Gareth Jones <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution! Apologies for the delay in reviewing this.
I also realized that my current parser version is "too aggressive" and can lead to potential false positives. |
c88ec52
to
e4dd1c0
Compare
Hello @oliverchang , now my PR:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just some minor nits.
Thank you @another-rex , committed suggested changes. |
Hello, ported to APK installed parser common optimizations already merged for DPKG in #168. Additionally, a couple of staticcheck linter errors have been corrected (I think!). I saw the comments here: https://github.com/google/osv-scanner/blob/fb4d2c4d8e4e59961db70121e31870593e045a4e/pkg/osvscanner/osvscanner.go#L39-L43 but after my change both lints and tests are ok so it's not clear to me if comments are now out of date or if I'm missing something! Comments have been introduced in #149. Thank you, Regards.
As discussed in #164 [here](#164 (comment)), this PR adds supports for DPKG parsing. Structure is similar to APK parser. --------- Co-authored-by: Rex P <[email protected]> Co-authored-by: Gareth Jones <[email protected]>
Hello, ported to APK installed parser common optimizations already merged for DPKG in #168. Additionally, a couple of staticcheck linter errors have been corrected (I think!). I saw the comments here: https://github.com/google/osv-scanner/blob/fb4d2c4d8e4e59961db70121e31870593e045a4e/pkg/osvscanner/osvscanner.go#L39-L43 but after my change both lints and tests are ok so it's not clear to me if comments are now out of date or if I'm missing something! Comments have been introduced in #149. Thank you, Regards.
As discussed in google#164 [here](google#164 (comment)), this PR adds supports for DPKG parsing. Structure is similar to APK parser. --------- Co-authored-by: Rex P <[email protected]> Co-authored-by: Gareth Jones <[email protected]>
Hello, ported to APK installed parser common optimizations already merged for DPKG in google#168. Additionally, a couple of staticcheck linter errors have been corrected (I think!). I saw the comments here: https://github.com/google/osv-scanner/blob/fb4d2c4d8e4e59961db70121e31870593e045a4e/pkg/osvscanner/osvscanner.go#L39-L43 but after my change both lints and tests are ok so it's not clear to me if comments are now out of date or if I'm missing something! Comments have been introduced in google#149. Thank you, Regards.
As discussed in google#164 [here](google#164 (comment)), this PR adds supports for DPKG parsing. Structure is similar to APK parser. --------- Co-authored-by: Rex P <[email protected]> Co-authored-by: Gareth Jones <[email protected]>
Hello, ported to APK installed parser common optimizations already merged for DPKG in google#168. Additionally, a couple of staticcheck linter errors have been corrected (I think!). I saw the comments here: https://github.com/google/osv-scanner/blob/fb4d2c4d8e4e59961db70121e31870593e045a4e/pkg/osvscanner/osvscanner.go#L39-L43 but after my change both lints and tests are ok so it's not clear to me if comments are now out of date or if I'm missing something! Comments have been introduced in google#149. Thank you, Regards.
As discussed in #164 here, this PR adds supports for DPKG parsing.
Structure is similar to APK parser.