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

x/build/cmd/relui: ability to make minor release announcement tweets via Twitter API #47403

Closed
dmitshur opened this issue Jul 26, 2021 · 6 comments
Labels
Builders x/build issues (builders, bots, dashboards) FeatureRequest FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@dmitshur
Copy link
Contributor

dmitshur commented Jul 26, 2021

During the minor release process, towards the end, an announcement tweet is posted. For example, https://twitter.com/golang/status/1414721238224838666. (The tweet text and image are generated via a template.)

This task is to write Go code that uses the Twitter API to create a tweet with the following inputs:

  • random seed (to select emoji)
  • Go versions (e.g., 1.16.6 and 1.15.14)
  • link to a golang-announcement mail
  • GOOS, GOARCH selection for the tweet image

It can be integrated into relui as part of #47402.

@dmitshur dmitshur added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. FeatureRequest labels Jul 26, 2021
@dmitshur dmitshur added this to the Unreleased milestone Jul 26, 2021
@gopherbot gopherbot added the Builders x/build issues (builders, bots, dashboards) label Jul 26, 2021
@dmitshur dmitshur self-assigned this Jul 26, 2021
@dmitshur dmitshur added this to Planned in Go Release Team Jul 26, 2021
@dmitshur dmitshur moved this from Planned to In Progress in Go Release Team Aug 3, 2021
@gopherbot
Copy link

Change https://golang.org/cl/358899 mentions this issue: cmd/releasebot: add modes for making a release tweet programmatically

@gopherbot
Copy link

Change https://golang.org/cl/358897 mentions this issue: internal/task: add task to tweet about Go releases

@gopherbot
Copy link

Change https://golang.org/cl/358898 mentions this issue: internal/task: post tweets via Twitter API

@dmitshur dmitshur added NeedsFix The path to resolution is known, but the work has not been done. and removed NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Oct 26, 2021
gopherbot pushed a commit to golang/build that referenced this issue Nov 2, 2021
This CL adds an internal API for making release tweets of various kinds,
including the templates used to generate the tweet text and tweet image.

It does not have code for using the Twitter API. CL 358898 will do that.

For golang/go#40279.
For golang/go#47403.

Change-Id: Ic0cb2f5f1e59c0fd932aed7c5c4a88decc5a3d8d
Reviewed-on: https://go-review.googlesource.com/c/build/+/358897
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Go Release Team automation moved this from In Progress to Done Nov 2, 2021
gopherbot pushed a commit to golang/build that referenced this issue Nov 2, 2021
This allows exercising (and benefiting from improvements offered by)
the programmatic tweet creation tasks as soon as the next minor release.
The same task will be added and used by relui when possible.

For golang/go#40279.
Updates golang/go#47403.

Change-Id: I8b47f86489e753bea6a767990ff98dd525e668df
Reviewed-on: https://go-review.googlesource.com/c/build/+/358899
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
@gopherbot
Copy link

Change https://go.dev/cl/388834 mentions this issue: internal/task: switch to opentype for TTF font rendering

@gopherbot
Copy link

Change https://go.dev/cl/388835 mentions this issue: internal/task: update to stackblur v1.1.0

@gopherbot
Copy link

Change https://go.dev/cl/393018 mentions this issue: internal/task: remove repetition in major Go release tweets

gopherbot pushed a commit to golang/build that referenced this issue Mar 16, 2022
There was accidentally one too many "go" in the tweet text
for the major Go release type.

Updates golang/go#47403.
Updates golang/go#40279.

Change-Id: I7983bdb78f22c258121348a6cfaa2ed66592db54
Reviewed-on: https://go-review.googlesource.com/c/build/+/393018
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
gopherbot pushed a commit to golang/build that referenced this issue Mar 16, 2022
When working on CL 358897, I forgot that there's already an SFNT font
parser and glyph rasterizer available in the x/image module. Using it
produces an equivalent final image, and allows x/build to depend on 1
less module.

Also add a regression test for drawTerminal.

Updates golang/go#47403.

Change-Id: I77166a2180a7db9c81a30f77b12bb20dcd21bd8b
Reviewed-on: https://go-review.googlesource.com/c/build/+/388834
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
gopherbot pushed a commit to golang/build that referenced this issue Mar 16, 2022
Its v1.0.1 version has been recently retracted in esimov/stackblur-go#5.
Update to the latest stable version. As a benefit, its new API makes it
possible to drop the type assertion.

Updates golang/go#47403.

Change-Id: I08abac0e19ee32b83441e56ff42d1edc5fac441f
Reviewed-on: https://go-review.googlesource.com/c/build/+/388835
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
@golang golang locked and limited conversation to collaborators Jun 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Builders x/build issues (builders, bots, dashboards) FeatureRequest FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Projects
Archived in project
Development

No branches or pull requests

2 participants