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

Fix Version Notation and Add Dynamic Support for Version Categorization #19327

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

mohini-crl
Copy link
Contributor

  • Updated version notation to ensure consistency by capitalizing version strings where necessary.
  • Added dynamic logic to fetch and display supported and unsupported versions on release pages based on maint_supp_exp_date and asst_supp_exp_date.

…etching of supported and unsupported versions
Copy link

Files changed:

Copy link

netlify bot commented Jan 28, 2025

Deploy Preview for cockroachdb-api-docs canceled.

Name Link
🔨 Latest commit d73974e
🔍 Latest deploy log https://app.netlify.com/sites/cockroachdb-api-docs/deploys/679cbc5905169c000801448f

Copy link

netlify bot commented Jan 28, 2025

Deploy Preview for cockroachdb-interactivetutorials-docs canceled.

Name Link
🔨 Latest commit d73974e
🔍 Latest deploy log https://app.netlify.com/sites/cockroachdb-interactivetutorials-docs/deploys/679cbc59a51e0f0008a9b526

Copy link

netlify bot commented Jan 28, 2025

Netlify Preview

Name Link
🔨 Latest commit d73974e
🔍 Latest deploy log https://app.netlify.com/sites/cockroachdb-docs/deploys/679cbc59265aca0008d696c1
😎 Deploy Preview https://deploy-preview-19327--cockroachdb-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mohini-crl mohini-crl requested a review from taroface January 28, 2025 20:47
Copy link
Contributor

@taroface taroface left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few small requests -- let me know if anything doesn't make sense to you.

@@ -400,7 +418,7 @@ macOS downloads are **experimental**. Experimental downloads are not yet qualifi
</section>

<section class="filter-content" markdown="1" data-scope="windows">
Windows 8 or higher is required. Windows downloads are **experimental**. Experimental downloads are not yet qualified for production use and not eligible for support or uptime SLA commitments, whether they are for testing releases or production releases.
Windows 8 or higher is required. Windows downloads are **experimental**. Experimental downloads are not yet qualified for production use and not eligible for support or uptime SLA commitments, whether they are for testing releases or production releases
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double-checking: this period was removed because it was generating double periods, right? In preview, it still shows one period at the end (which I think is correct).

@@ -169,7 +169,7 @@ Innovation releases are not eligible for Assistance Support, and reach EOL at th
<sup id="lts-tbd">&#42;&nbsp;&nbsp;: This major version will receive LTS patch releases, which will be listed on an additional row, upon their availability.</sup><br />
<sup id="skippable">&#42;&#42;&nbsp;&nbsp;: This major version is an optional innovation release and will not receive receive LTS patch releases. Innovation releases are EOL when Maintenance Support ends.</sup><br />

## Unsupported versions
## Unsupported Versions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Unsupported Versions
## Unsupported versions

This may be confusing, but we use sentence case (Only capitalize proper nouns) for page headings. Title case is used for page titles. (See style guide). This means the Support Phases and Support Types headings on this page should also be adjusted, but that can be addressed separately from this PR, since it's not part of your changes.

@@ -604,6 +623,6 @@ All binaries available on this page released prior to the release date of 24.3.0

To review the CCL, refer to the [CockroachDB Community License](https://www.cockroachlabs.com/cockroachdb-community-license) page. You can find the applicable Business Source License or third party licenses by reviewing these in the `licenses` folder for the applicable version of CockroachDB in the GitHub repository [cockroachdb/cockroach](https://github.com/cockroachdb/cockroach). See individual files for details.

## Unsupported versions
## Unsupported Versions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Unsupported Versions
## Unsupported versions

See my earlier comment.

@@ -604,6 +623,6 @@ All binaries available on this page released prior to the release date of 24.3.0

To review the CCL, refer to the [CockroachDB Community License](https://www.cockroachlabs.com/cockroachdb-community-license) page. You can find the applicable Business Source License or third party licenses by reviewing these in the `licenses` folder for the applicable version of CockroachDB in the GitHub repository [cockroachdb/cockroach](https://github.com/cockroachdb/cockroach). See individual files for details.

## Unsupported versions
## Unsupported Versions
[Here]({% link releases/unsupported-versions.md %}) are the versions of CockroachDB that are no longer supported
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note the extra line break to separate from the heading text.

Suggested change
[Here]({% link releases/unsupported-versions.md %}) are the versions of CockroachDB that are no longer supported
Release notes for unsupported CockroachDB versions are found on [Unsupported Versions]({% link releases/unsupported-versions.md %}).

@@ -15,7 +15,7 @@ docs_area: releases
{% assign released_versions = site.data.releases | map: "major_version" | uniq | reverse %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this page needs a callout on the top to clarify that the versions aren't supported. Try this:

{{site.data.alerts.callout_danger}}
The CockroachDB versions on this page are no longer supported. For more information, refer to [Release Support Policy]({% link releases/release-support-policy.md %}#unsupported-versions). To download and learn about currently supported CockroachDB versions, refer to [CockroachDB Releases]({% link releases/index.md %}).
{{site.data.alerts.end}}

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