-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
chore(deps): merge go-dep-parser into Trivy #6094
Conversation
Transfer repositoriy
* test(cargo): to lower * test(cargo): to lower
* Initial NuGet parser files, implemented test cases for three package sources. Signed-off-by: Johannes Tegnér <[email protected]> * Implemented parser, updated testcase to remove duplicated entries. Signed-off-by: Johannes Tegnér <[email protected]> * test(nuget): Added a test for multiple versions of the same package. Signed-off-by: Johannes Tegnér <[email protected]> * Cleanup of nuget parser (removal of comments which are not really needed). Signed-off-by: Johannes Tegnér <[email protected]> * Removed JSON mapping from nuget dependency struct (not needed as it's a read not write operation). Signed-off-by: Johannes Tegnér <[email protected]> * Added a test for legacy nuget packages (x.x.x.x - not semver versions). Signed-off-by: Johannes Tegnér <[email protected]> * Replaced old nuget test-files with new, generated from netcore image (added comments on generation steps). Signed-off-by: Johannes Tegnér <[email protected]> * Fixed nuget parsing algorithm to work the same way nuget works internally with package resolving. Signed-off-by: Johannes Tegnér <[email protected]> * Changed name of 'Dependencies' to 'Targets' in LockFile struct for nuget parser. Signed-off-by: Johannes Tegnér <[email protected]> * Wraped error in nuget parser with xerrors. Signed-off-by: Johannes Tegnér <[email protected]> * Updated nuget testdata for legacy packages and removed second loop for sub-packages, as they are added in top-level as Transitive type. Signed-off-by: Johannes Tegnér <[email protected]> * Replaced the complex file with a even more complex file (multi target!), updated parse to again use version. Signed-off-by: Johannes Tegnér <[email protected]> * refactor(nuget): simplify Co-authored-by: knqyf263 <[email protected]>
* feat: support jar/war/ear * feat(jar): support sha1 search * fix: do not return when MANIFEST.INF is invalid * feat: add log package * feat: search by artifactId * refactor: add runtime scope * feat: support multiple pom.properties * test: add test jar * fix: use fileProps * fix: replace '+' with ' ' * fix: return when artifactId or version are empty * refactor(jar): add a debug message * fix(log): use zap.SugaredLogger
* add support for go.sum (go-dep-parser#20) * modify test cases * keep pseudo version * rewrite test with testify * simplify semver parsing * wrap errors * go mod tidy
* make parser compatible with yaml2 * Fix linting
…rser#28) * feat(JarParse) return errors other than no artifact found error * feat(JarParse) fix review: return error by search sha1 network error * fix(JarParse) change error message
…-parser#27) Signed-off-by: Arunprasad Rajkumar <[email protected]>
* feat: use retryablehttp * feat: configure logger * feat(jar): increase retry wait * fix(jar): skip variables * test(jar): fix * feat: accept only 200 ok * feat(jar): suppress log messages
* changing base url to https * changing base url to https Co-authored-by: Sherif Fathalla <[email protected]> Co-authored-by: sherif <[email protected]>
Co-authored-by: Ankush K <[email protected]> Co-authored-by: Ankush K <[email protected]> Co-authored-by: Teppei Fukuda <[email protected]>
Co-authored-by: Teppei Fukuda <[email protected]>
…ep-parser#40) Co-authored-by: knqyf263 <[email protected]>
Co-authored-by: knqyf263 <[email protected]>
Signed-off-by: knqyf263 <[email protected]>
a0a0b49
to
d947dfb
Compare
Signed-off-by: knqyf263 <[email protected]>
d947dfb
to
5ca4652
Compare
Signed-off-by: knqyf263 <[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.
lgtm
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.
Left some small comments.
Signed-off-by: knqyf263 <[email protected]>
Signed-off-by: knqyf263 <[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.
LGTM
Signed-off-by: knqyf263 <[email protected]>
I was supposed to keep git history, but the Trivy project allows only "squash and merge". I accidentally lost history of go-dep-parser😭 |
Description
Merge go-dep-parser into Trivy
Issues
Checklist