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

Change versioning logic #39

Merged
merged 1 commit into from
Dec 9, 2024
Merged

Conversation

ptgott
Copy link
Contributor

@ptgott ptgott commented Dec 6, 2024

Reflect the fact that the latest major Teleport release is not available to Teleport Enterprise Cloud customers until a few weeks after the release date. Configure versioning for v17.

Use an isDefault key in config.json to specify the default version. This way, we can specify the default version explicitly using config.json instead of using the potentially confusing current and latest fields.

Configure git modules. Remove 14.x and add 18.x.

Remove the "normalize" function, which is dead code.

Remove the latest version suggestion link from the version banner. It's not always accurate (e.g., if we have different versions for Cloud and Self-Hosted), and users can find the dropdown anyway.

Adjust the version banner text if a docs version is only available for self-hosted Teleport clusters.

Reflect the fact that the latest major Teleport release is not available
to Teleport Enterprise Cloud customers until a few weeks after the
release date. Configure versioning for v17.

Use an `isDefault` key in `config.json` to specify the default version.
This way, we can specify the default version explicitly using
config.json instead of using the potentially confusing `current` and
`latest` fields.

Configure git modules. Remove 14.x and add 18.x.

Remove the "normalize" function, which is dead code.

Remove the latest version suggestion link from the version banner. It's
not always accurate (e.g., if we have different versions for Cloud and
Self-Hosted), and users can find the dropdown anyway.

Adjust the version banner text if a docs version is only available for
self-hosted Teleport clusters.
@ptgott ptgott requested a review from taraspos December 6, 2024 16:41
Copy link

github-actions bot commented Dec 6, 2024

🤖 Amplify preview here: https://paul-gottschling-2024-12-05-version-config.d2mrezcly5gcqm.amplifyapp.com

Preview details
  • LAST_UPDATED_AT: 2024-12-06T16:42:37.181000+00:00
  • JOB_ID: 0000000012
  • JOB_STATUS: FAILED
  • COMMIT_ID: 9abeaf4

@ptgott ptgott merged commit 574a2a3 into main Dec 9, 2024
4 checks passed
@ptgott ptgott deleted the paul.gottschling/2024-12-05-version-config branch December 9, 2024 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants