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

Add ability to detect current installed version of GHE #852

Closed
bitwiseman opened this issue Jun 17, 2020 · 2 comments
Closed

Add ability to detect current installed version of GHE #852

bitwiseman opened this issue Jun 17, 2020 · 2 comments

Comments

@bitwiseman
Copy link
Member

bitwiseman commented Jun 17, 2020

Description

It looks like as far back as GHE 2.12 the /meta endpoint supports returning the GHE version as installed_version.

This field is not preset for https://api.github.com/meta .

This is version could then be used to change the behavior of the library depending on GHE version. See #822 and #845 for for an example of how this would be extremely useful.

@bitwiseman
Copy link
Member Author

We should keep keep the scenarios of #1143 in mind when implementing this. Previews should be bindable to specific version ranges.

@bitwiseman
Copy link
Member Author

Almost all previews have be graduated. There is a new system for API versioning in GithHub. We will need to do something similar to this issue for the new scheme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant