mailgun / mailgun/godebug

Remove double build when Go 1.5 is released

Open
#37 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
2.5k
Forks
102
PR merge metrics
No merged PRs in 30d

Description

godebug currently invokes `go build` [twice](https://github.com/mailgun/godebug/blob/5c173f56b398bc13fd4175bc828cb1b6bfa9e47e/cmd.go#L192-L196) as a workaround for how the go tool handles GOPATHs with multiple directories. In Go 1.5, [this should be fixed](https://github.com/golang/go/issues/10509).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in cmd.go around lines 192-196, where godebug invokes go build twice to work around GOPATH handling. Check the Go 1.5 behavior described in issue #10509, then remove the obsolete duplicate build and verify that the command still builds successfully with the supported Go toolchain.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.