-
Notifications
You must be signed in to change notification settings - Fork 75
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
GO LIST JSON? WHY NOT!? #150
Merged
Merged
Changes from 4 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
cdcfbb5
Okie dokie, handle go list -json -m all, and go list -m all, all in o…
DarthHater 1f5bd27
Thank you linty
DarthHater 340511c
Add in tests for GoListAgnostic that test out and json scenarios
DarthHater 14dd502
Wocka wocka
DarthHater 5ba19df
Handle replace in go list -m all
DarthHater 74fbd6d
Do 3, we still do go.sum parsing
DarthHater 3d34da6
Update usage, add README info
DarthHater 33c4114
Bad text jeffry
DarthHater 64079e0
JSON replace test
DarthHater File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,6 @@ dist/ | |
|
||
# ci config for local ci build | ||
.circleci/local-config.yml | ||
|
||
# VS Code | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
github.com/sonatype-nexus-community/nancy | ||
github.com/BurntSushi/toml v0.3.1 | ||
github.com/Flaque/filet v0.0.0-20190209224823-fc4d33cfcf93 | ||
github.com/Masterminds/semver v0.0.0-20180403130225-3c92f33da7a8 | ||
github.com/Masterminds/vcs v1.13.1 | ||
github.com/armon/go-radix v1.0.0 | ||
github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf | ||
github.com/beevik/etree v1.1.0 | ||
github.com/boltdb/bolt v1.3.1 | ||
github.com/common-nighthawk/go-figure v0.0.0-20190529165535-67e0ed34491a | ||
github.com/davecgh/go-spew v1.1.1 | ||
github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8 | ||
github.com/go-openapi/errors v0.19.0 | ||
github.com/go-openapi/strfmt v0.19.0 | ||
github.com/golang/dep v0.5.4 | ||
github.com/golang/protobuf v1.2.0 | ||
github.com/google/go-cmp v0.4.0 | ||
github.com/google/uuid v1.1.1 | ||
github.com/jarcoal/httpmock v1.0.4 | ||
github.com/jedib0t/go-pretty/v6 v6.0.2 | ||
github.com/jmank88/nuts v0.3.0 | ||
github.com/konsorten/go-windows-terminal-sequences v1.0.2 | ||
github.com/kr/pretty v0.1.0 | ||
github.com/kr/pty v1.1.1 | ||
github.com/kr/text v0.1.0 | ||
github.com/logrusorgru/aurora v0.0.0-20190803045625-94edacc10f9b | ||
github.com/mailru/easyjson v0.0.0-20190403194419-1ea4449da983 | ||
github.com/mattn/go-runewidth v0.0.9 | ||
github.com/mitchellh/mapstructure v1.1.2 | ||
github.com/nightlyone/lockfile v0.0.0-20180618180623-0ad87eef1443 | ||
github.com/package-url/packageurl-go v0.1.0 | ||
github.com/pelletier/go-toml v1.4.0 | ||
github.com/pkg/errors v0.8.0 | ||
github.com/pkg/profile v1.2.1 | ||
github.com/pmezard/go-difflib v1.0.0 | ||
github.com/recoilme/pudge v1.0.3 | ||
github.com/sdboyer/constext v0.0.0-20170321163424-836a14457353 | ||
github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24 | ||
github.com/sirupsen/logrus v1.5.0 | ||
github.com/spf13/afero v1.2.2 | ||
github.com/stretchr/objx v0.1.0 | ||
github.com/stretchr/testify v1.3.0 | ||
golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a | ||
golang.org/x/sys v0.0.0-20200519105757-fe76b779f299 | ||
golang.org/x/text v0.3.0 | ||
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 | ||
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 | ||
gopkg.in/go-playground/assert.v1 v1.2.1 | ||
gopkg.in/yaml.v2 v2.2.8 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Since #142 called this out as an issue i think we should add a test around it to make sure it is working as expected.
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.
I have one! https://github.com/sonatype-nexus-community/nancy/pull/150/files#diff-7b16ed199b45ba365ab40918a65bbb2bR64-R78
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.
My bad i should have been more clear :) that just handles
replace
forgo list
and notgo list -json
. We should probably have a replace test for the json path too.One of those testdata files but with that and maybe another in it.
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.
In: 64079e0