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: consider making release information also available via GitHub Releases #45185

Closed
ZacWolf opened this issue Mar 23, 2021 · 3 comments
Closed
Labels
FeatureRequest FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@ZacWolf
Copy link

ZacWolf commented Mar 23, 2021

When trying to access: https://docs.github.com/rest/reference/repos#get-the-latest-release

Is this project handling releases in a way that would break the GitHub API?
Is that intentional, or an issue of no one being aware?

Would be nice to be able to automate notification/upgrade for the latest released version, via the GitHub API.

@dmitshur
Copy link
Contributor

The Go project provides an API for listing releases at https://golang.org/dl/?mode=json (also see #34864). It does not use GitHub releases at this time. It does use git tags, which are mirrored from the canonical https://go.googlesource.com/go source repository, so you could detect those.

I'm not aware if there's another issue tracking this. It could be a reasonable feature request to consider, but not a high priority at this time.

CC @golang/release.

@dmitshur dmitshur changed the title Why does github api /releases/latest return an error? x/build: consider making release information also available via GitHub Releases Mar 23, 2021
@gopherbot gopherbot added the Builders x/build issues (builders, bots, dashboards) label Mar 23, 2021
@dmitshur dmitshur added FeatureRequest NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. and removed Builders x/build issues (builders, bots, dashboards) labels Mar 23, 2021
@gopherbot gopherbot added this to the Unreleased milestone Mar 23, 2021
@dmitshur dmitshur modified the milestones: Unreleased, Backlog Mar 23, 2021
@dmitshur
Copy link
Contributor

dmitshur commented Mar 23, 2021

Oh, I found an existing issue, so closing as duplicate of #15966.

@ZacWolf
Copy link
Author

ZacWolf commented Mar 24, 2021

Thanks for the information, about ?mode=json URL. It sucks that it's another schema to parse-out, but it's better than parsing the HTML.

@golang golang locked and limited conversation to collaborators Mar 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FeatureRequest FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

3 participants