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

fix: improve GoLang config inferrer #13057

Merged
merged 1 commit into from
Sep 19, 2022
Merged

fix: improve GoLang config inferrer #13057

merged 1 commit into from
Sep 19, 2022

Conversation

Siddhant-K-code
Copy link
Member

Description

Currently, it runs go run which doesn't work. (example repo used). But it does, work with go run . (see below 👀)

image

you can test out the same for other goLang based repos

How to test

  • Open this repo with new preview environment of this PR)

Release Notes

improved automated code configuration service for `go`

Documentation

Not Required

Werft options:

  • /werft with-preview

Signed-off-by: Siddhant Khare siddhant@gitpod.io

Run go command at current (root)

Signed-off-by: Siddhant Khare <siddhant@gitpod.io>
@Siddhant-K-code Siddhant-K-code requested a review from a team September 18, 2022 13:16
@github-actions github-actions bot added the team: webapp Issue belongs to the WebApp team label Sep 18, 2022
Copy link
Member

@svenefftinge svenefftinge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks and sorry for the delay! I was hesitant as we generally need to revisit this. go get is deprecated and implied by go build. Maybe adding go generate ./... would make sense as well and passing ./... instead of just . to everything. But your change doesn't seem to make it worse so let's apply it. 👍

@roboquat roboquat merged commit 1c77050 into main Sep 19, 2022
@roboquat roboquat deleted the fix/config-inferrer branch September 19, 2022 13:39
@roboquat roboquat added deployed: webapp Meta team change is running in production deployed Change is completely running in production labels Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: webapp Meta team change is running in production deployed Change is completely running in production release-note size/XS team: webapp Issue belongs to the WebApp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants