-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go2go: shut down go2go playground #48517
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
Comments
While that is fair enough, it would be helpful to have a playground with a preview of Go 1.18 available, perhaps a recent development version. If it is not too much effort of course. |
We should perhaps have the go2go playground redirect to the tip playground. Though I don't know that we have a tip playground running at this point. CC @golang/release |
It would be nice to serve tip, and the latest two releases, as proposal accepted in #33629 |
Change https://golang.org/cl/362854 mentions this issue: |
@changkun I agree that would be nice, but that is a modestly sized project that unfortunately none of us have time for at the moment. It is also the case that the gotip playground will be redeployed many times a day, which may not be desirable for the non-tip playground (I'm honestly not sure if that argument holds water). For now, I am planning to deploy gotipplay.golang.org, which will be identical to play.golang.org but using Go tip (I will probably also try to indicate this somewhere in the HTML, and change examples). For technical reasons the URL must be gotipplay.golang.org, not e.g. gotip.play.golang.org. |
For now, just define GCP configuration. In a subsequent CL we should parameterize the playground UI to indicate that this is tip go. Updates golang/go#48517 Change-Id: I8a885126b95f60e02f46f7557cada2ec2e0b2882 Reviewed-on: https://go-review.googlesource.com/c/playground/+/362854 Trust: Robert Findley <[email protected]> Run-TryBot: Robert Findley <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Alexander Rakoczy <[email protected]>
With help from @toothrot, https://gotipplay.golang.org is deployed. Next step is to clearly identify the go version in the UI, and redirect go2go. The plan for the latter is to just overwrite the go2go app with a simple redirector. |
And it works! Cool. |
Thanks! |
Change https://golang.org/cl/363980 mentions this issue: |
Attempt to clearly label the Go tip playground as a development build, and surface the version string. For some reason I had to install git in the build-playground phase of the Docker build, to avoid errors from the Go command. I'm not sure why this is, but it seems harmless. For golang/go#48517 Change-Id: I35b150686c9f177d76024cc38ff62cb8785525e0 Reviewed-on: https://go-review.googlesource.com/c/playground/+/363980 Trust: Robert Findley <[email protected]> Run-TryBot: Robert Findley <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Alexander Rakoczy <[email protected]>
Change https://golang.org/cl/364374 mentions this issue: |
Change https://golang.org/cl/364858 mentions this issue: |
With the gotip playground we may want to swap out examples with greater frequency, to demonstrate new features at Go tip. Make this easier by deriving examples directly from the examples directory via a new examplesHandler type. This also enables having dynamic content for hello.txt, which depends on the value of runtime.GoVersion(). This will impact the non-tip playground in a few ways: - We will now pre-load examples at server start up. - Examples will be sorted by their title (with the exception of Hello, playground, which is always first). - We will set a CORS header for examples. This was added for consistency with other handlers, and seems harmless. Generalize TestShare to TestServer, and use it to test the examples handler. Add a single gotip example demonstrating generics. Updates golang/go#48517 Change-Id: I7ab58eb391829d581f7aeae95c291666be5718b9 Reviewed-on: https://go-review.googlesource.com/c/playground/+/364374 Trust: Robert Findley <[email protected]> Run-TryBot: Robert Findley <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Alexander Rakoczy <[email protected]>
This service will overwrite the existing go2go playground. Updates golang/go#48517 Change-Id: Idc9e6733cc213a2c3e84c71d1c4746dc31feeb62 Reviewed-on: https://go-review.googlesource.com/c/playground/+/364858 Trust: Robert Findley <[email protected]> Run-TryBot: Robert Findley <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Alexander Rakoczy <[email protected]>
Change https://golang.org/cl/366634 mentions this issue: |
@toothrot just deployed the redirect service for go2goplay.golang.org, so this is now done. |
Thanks! |
Create a scheduled trigger to deploy the gotip playground every America/New_York morning. I attempted to create and manage the trigger with gcloud alpha builds triggers create scheduled, however I had to create the schedule portion manually in the web interface. There's probably a way to manage it with configuration in the CLI, but I added documentation to the Makefile on how to update it manually in the meantime. Create command: gcloud alpha builds triggers create scheduled --project=golang-org \ --schedule="15 11 * * *" \ --time-zone="America/New_York" \ --build-config=deploy/deploy_gotip.json \ --repo-type="CLOUD_SOURCE_REPOSITORIES" \ --revision="refs/heads/master" \ --repo-uri="https://source.developers.google.com/p/golang-org/r/playground" \ --name "playground-deploy-gotip-playground" \ --description="Deploy gotip playground daily" For golang/go#48517 Change-Id: I9d58e5a81ae4d590e6492c07cc71806864838c81 Reviewed-on: https://go-review.googlesource.com/c/playground/+/366634 Trust: Alexander Rakoczy <[email protected]> Run-TryBot: Alexander Rakoczy <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Robert Findley <[email protected]>
The go2go playground served its purpose and is now out of date and is more confusing than helpful. It's time to shut it down.
Ideally go2goplay.golang.org should be replaced with a static page saying something along the lines of
This playground was used during the development of the generics proposal. It is now out of date and has been shut down. The generics proposal (https://golang.org/s/generics-proposal) has been accepted and (as of September 2021) is under active development aiming for inclusion in the Go 1.18 release.
CC @griesemer @golang/osp-team
The text was updated successfully, but these errors were encountered: