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
dl/gotip: allow building branches #39650
Comments
As a workaround, you can pick a recent commit from the What do you propose should happen if What should happen if /cc @FiloSottile |
Same behavior that exists for CLs can be applied (as in linked example implemetation).
|
I hadn't seen this proposal until @mdlayher pointed me to it. I implemented it over at https://golang.org/cl/240002. |
Thanks for following up! I wonder why gopherbot hasn't pinged this issue yet. |
It should be because the CL didn't use a fully qualified issue reference (i.e., it was missing the "golang/go" prefix). /cc @FiloSottile |
Taking this issue out of the proposal process. |
…the fixes we need We're nervous about always building the darwin-arm64 binary with golang master. Compiling with a potentially different golang version each time is a recipe for non-deterministic output and hard to debug regressions. Ideally we'd like to pin to a specific golang master commit, but I can't see a way to do that with gotip (see this open issue [1]). I think pinning to this CL will get a version that has apple the fixes we're after though. [1] golang/go#39650
We'd have found this a useful option today, to pin gotip to a known-good master commit that has all the fixes that make cross compiling for darwin/arm64 work. |
@yob I don't see how it could be used for that. What branch name would you use? |
oh. I only skimmed the CL, but I assumed (incorrectly?) that ref could optionally be a known-good sha from master. |
I see. This issue talks about branches only, but CL 240002 does seem to allow any git ref, not just branches. Please note that it's still possible to pin a known-good master commit without this issue being resolved by using its CL number. |
Change https://golang.org/cl/301910 mentions this issue: |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I wanted to install generics prototype tool
go2go
locally to play with it. I thought I could usedl/gotip
for that.What did you expect to see?
I expect to see
dev.go2go
built and available throughgotip
.What did you see instead?
I see that
dev.go2go
is not a valid CL number.Being able to build prototype branches with
gotip
can simplify the process of prototypes review.I've tried to implement this in forked
gotip
.Hopefully it would make sense to add such feature in
dl/gotip
.The text was updated successfully, but these errors were encountered: