Skip to content

Filter out unused dependencies in Go builds#622

Merged
yahavi merged 2 commits intojfrog:masterfrom
yahavi:go-used-modules2
Mar 3, 2022
Merged

Filter out unused dependencies in Go builds#622
yahavi merged 2 commits intojfrog:masterfrom
yahavi:go-used-modules2

Conversation

@yahavi
Copy link
Copy Markdown
Member

@yahavi yahavi commented Feb 17, 2022

  • All tests passed. If this feature is not already covered by the tests, I added new tests.

Run go list -f {{with .Module}}{{.Path}} {{.Version}}{{end}} all to filter unused dependencies in Go builds.
Most of the code copied from https://github.com/jfrog/ide-plugins-common/blob/1.11.0/src/main/java/com/jfrog/ide/common/go/GoTreeBuilder.java#L103. After the release we should delete duplicated code in ide-plugins-common.

@yahavi yahavi requested a review from eyalbe4 February 17, 2022 16:22
@yahavi yahavi self-assigned this Feb 17, 2022
@yahavi yahavi merged commit c31e9d0 into jfrog:master Mar 3, 2022
@yahavi yahavi deleted the go-used-modules2 branch March 3, 2022 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants