Skip to content

Commit dbfcfff

Browse files
authored
Merge pull request #23305 from cockroachdb/unlink-release-download-pages
DOC-17060: Remove cockroach source links from release/download pages
2 parents eadc3ca + b1aff40 commit dbfcfff

5 files changed

Lines changed: 3 additions & 95 deletions

File tree

src/current/_includes/releases/downloads-archive-testing-releases.md

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ Testing releases are not qualified for production use and not eligible for suppo
3333
<button id="mac" class="filter-button" data-scope="mac">Mac</button>
3434
<button id="windows" class="filter-button" data-scope="windows">Windows</button>
3535
<button id="docker" class="filter-button" data-scope="docker">Docker</button>
36-
<button id="source" class="filter-button" data-scope="source">Source</button>
3736
</div>
3837

3938
{% comment %}Determine if any testing releases have ARM support{% endcomment %}
@@ -208,34 +207,4 @@ Docker images for CockroachDB are published on [Docker Hub](https://hub.docker.c
208207
</table>
209208
</section>
210209

211-
<section class="filter-content" markdown="1" data-scope="source">
212-
<p>The source code for CockroachDB is hosted in the <a href="https://github.com/cockroachdb/cockroach/releases/" class="binary-link">cockroachdb/cockroach</a> repository on Github.</p>
213-
<table class="release-table">
214-
<thead>
215-
<tr>
216-
<td>Version</td>
217-
<td>Date</td>
218-
<td>Source</td>
219-
</tr>
220-
</thead>
221-
<tbody>
222-
{% for r in testing_releases %}
223-
<tr>
224-
<td>
225-
{{ r.release_name }}
226-
</td>
227-
<td>{{ r.release_date }}</td>
228-
<td>
229-
{% if r.source == true %}
230-
<a class="external" href="https://github.com/cockroachdb/cockroach/releases/tag/{{ r.release_name }}" class="binary-link">View on Github</a>
231-
{% else %}
232-
N/A
233-
{% endif %}
234-
</td>
235-
</tr>
236-
{% endfor %}
237-
</tbody>
238-
</table>
239-
</section>
240-
241210
{% endif %}

src/current/_includes/releases/new-release-downloads-docker-image.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,4 @@ To download the Docker image (Intel-only):
9696
docker pull {{ release.docker.docker_image }}:{{ release.release_name }}
9797
~~~
9898

99-
<h3>Source tag</h3>
100-
101-
To view or download the source code for CockroachDB {{ release.release_name }} on Github, visit <a target="_blank" rel="noopener" href="https://github.com/cockroachdb/cockroach/releases/tag/{{ release.release_name }}">{{ release.release_name }} source tag</a>.
102-
10399
{% endif %}

src/current/_includes/releases/release-downloads-docker-image.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ Experimental downloads are not qualified for production use and not eligible for
4141
<a href="https://binaries.cockroachdb.com/cockroach-{{ release.release_name }}.darwin-11.0-arm64.tgz"><button id="mac-arm" class="filter-button" data-scope="mac-arm" data-eventcategory="mac-binary-release-notes">Mac ARM<br />(Experimental)</button></a>
4242

4343
<a {{ onclick_string }} href="https://binaries.cockroachdb.com/cockroach-{{ release.release_name }}.windows-6.2-amd64.zip"><button id="windows" class="filter-button" data-scope="windows" data-eventcategory="windows-binary-release-notes">Windows<br />(Experimental)</b></button></a>
44-
<a target="_blank" rel="noopener" href="https://github.com/cockroachdb/cockroach/releases/tag/{{ release.release_name }}"><button id="source" class="filter-button" data-scope="source" data-eventcategory="source-release-notes">Source</button></a
4544
</div></div>
4645

4746
{% if release.has_sql_only == true %}
@@ -63,7 +62,6 @@ Experimental downloads are not qualified for production use and not eligible for
6362
{% endif %}
6463

6564
<a onclick="{{ experimental_download_js }}" href="https://binaries.cockroachdb.com/cockroach-sql-{{ release.release_name }}.windows-6.2-amd64.zip"><button id="windows" class="filter-button" data-scope="windows" data-eventcategory="windows-binary-release-notes">Windows<br />(Experimental)</button></a>
66-
<a target="_blank" rel="noopener" href="https://github.com/cockroachdb/cockroach/releases/tag/{{ release.release_name }}"><button id="source" class="filter-button" data-scope="source" data-eventcategory="source-release-notes">Source</button></a
6765
</div></div>
6866

6967
{% endif %}

src/current/releases/downloads-archive.md

Lines changed: 2 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ CockroachDB {{ v.major_version }} is partially supported. Pre-LTS patches (befor
144144
<button id="mac" class="filter-button" data-scope="mac">Mac</button>
145145
<button id="windows" class="filter-button" data-scope="windows">Windows</button>
146146
<button id="docker" class="filter-button" data-scope="docker">Docker</button>
147-
<button id="source" class="filter-button" data-scope="source">Source</button>
148147
</div>
149148

150149
{% for s in sections %} {% comment %} For each major version, iterate through the sections. {% endcomment %}
@@ -515,62 +514,8 @@ CockroachDB {{ v.major_version }} is partially supported. Pre-LTS patches (befor
515514
</table>
516515
</section>
517516
518-
<section class="filter-content" markdown="1" data-scope="source">
519-
<p>The source code for CockroachDB is hosted in the <a href="https://github.com/cockroachdb/cockroach/releases/" class="binary-link">cockroachdb/cockroach</a> repository on Github.</p>
520-
<table class="release-table">
521-
<thead>
522-
<tr>
523-
<td>Version</td>
524-
525-
<td>Date</td>
526-
<td>Source</td>
527-
</tr>
528-
</thead>
529-
<tbody>
530-
{% for r in unsupported_releases %}
531-
{% assign current_patch_string = '' %}
532-
{% assign current_patch = nil %}
533-
{% assign in_lts = false %}
534-
{% if has_lts_releases == true and s == "Production" %}
535-
{% capture current_patch_string %}{{ r.release_name | split: '.' | shift | shift }}{% endcapture %}
536-
{% assign current_patch = current_patch_string | times: 1 %}
537-
{% assign comparison = current_patch | minus: lts_patch %}
538-
{% unless comparison < 0 %}
539-
{% assign in_lts = true %}
540-
{% endunless %}
541-
{% endif %}
542-
543-
<tr>
544-
<td>
545-
<a href="{% link releases/{{ v.major_version }}.md %}#{{ r.release_name | replace: ".", "-" }}" class="binary-link">{{ r.release_name }}</a>{% if in_lts %}{{ lts_link }}{% endif %}
546-
</td>
547-
548-
<td>{{ r.release_date }}</td> {% comment %} Release date of the release. {% endcomment %}
549-
{% if r.withdrawn == true %} {% comment %} Suppress withdrawn releases. {% endcomment %}
550-
<td><span class="badge badge-gray">Withdrawn</span></td>
551-
{% continue %}
552-
{% elsif r.cloud_only == true %} {% comment %} Suppress download links for Cloud-first releases {% endcomment %}
553-
<td><span>{{ r.cloud_only_message_short }}</span></td>
554-
{% continue %}
555-
{% elsif version_past_binary_removal_date == true %} {% comment %} Suppress download links for outdated versions or if past unsupported date. {% endcomment %}
556-
<td><span>{{ is_not_downloadable_message }}</span></td>
557-
{% continue %}
558-
{% else %} {% comment %} Add download links for all non-withdrawn versions. {% endcomment %}
559-
<td>
560-
{% if r.source == true %}
561-
<a class="external" href="https://github.com/cockroachdb/cockroach/releases/tag/{{ r.release_name }}" class="binary-link">View on Github</a>
562-
{% else %}
563-
N/A
564-
{% endif %}
565-
</td>
566-
{% endif %}
567-
</tr>
568-
{% endfor %} {% comment %}for release in releases{% endcomment %}
569-
</tbody>
570-
</table>
571-
</section>
572-
573-
517+
518+
574519
{% endif %} {% comment %}if unsupported_releases.size > 0{% endcomment %}
575520
{% endfor %} {% comment %}for s in sections {% endcomment %}
576521
{% endif %} {% comment %}if is_unsupported or has_unsupported_releases{% endcomment %}

src/current/releases/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ All CockroachDB binaries released on or after the day 24.3.0 is released onward,
9393

9494
All CockroachDB binaries released prior to the release date of 24.3.0 are variously licensed under the Business Source License 1.1 (BSL), the CockroachDB Community License (CCL), and other licenses specified in the source code.
9595

96-
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.
96+
To review the CCL, refer to the [CockroachDB Community License](https://www.cockroachlabs.com/cockroachdb-community-license) page.
9797

9898
In late 2024, Cockroach Labs retired its Core offering to consolidate on a single CockroachDB Enterprise offering under the CockroachDB Software License. This license is available at no charge for individual users and small businesses, and offers all users, free and paid, the full breadth of CockroachDB capabilities. For details, refer to the [CockroachDB licensing update](https://www.cockroachlabs.com/enterprise-license-update/) and [Licensing FAQs]({% link {{site.versions["stable"]}}/licensing-faqs.md %}).
9999

0 commit comments

Comments
 (0)