-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit changes the resolve_gomod function so that it can handle a json stream coming from `go list -m`, which happens when workspaces are used in a Go project. It also removes the previous restrictions on using workspaces. New unit tests are still lacking. Signed-off-by: Bruno Pimentel <bpimente@redhat.com>
- Loading branch information
1 parent
59967a1
commit 1d6abd2
Showing
5 changed files
with
77 additions
and
41 deletions.
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
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
7 changes: 7 additions & 0 deletions
7
tests/test_workers/test_pkg_managers/data/gomod-mocks/non-vendored/go_list_m.json
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,7 @@ | ||
{ | ||
"Path": "github.com/cachito-testing/gomod-pandemonium", | ||
"Main": true, | ||
"Dir": "{repo_dir}", | ||
"GoMod": "{repo_dir}/go.mod", | ||
"GoVersion": "1.19" | ||
} |
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