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

Add support for Go workspaces #999

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brunoapimentel
Copy link
Contributor

@brunoapimentel brunoapimentel commented May 10, 2024

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.

I still need to add unit/integration tests to cover the new functionality.

Maintainers will complete the following section

  • Commit messages are descriptive enough
  • Code coverage from testing does not decrease and new code is covered
  • New code has type annotations
  • [n/a] OpenAPI schema is updated (if applicable)
  • [n/a] DB schema change has corresponding DB migration (if applicable)
  • README updated (if worker configuration changed, or if applicable)
  • Draft release notes are updated before merging

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.

Signed-off-by: Bruno Pimentel <bpimente@redhat.com>
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.

None yet

1 participant