Skip to content
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

Filter out unused dependencies in Go builds #622

Merged
merged 2 commits into from
Mar 3, 2022

Conversation

yahavi
Copy link
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