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

Rename operator downloads page to artifacts. #35

Merged
merged 1 commit into from
Aug 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/doap/solr-operator.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<shortdesc>Manages Solr resources in Kubernetes</shortdesc>
<bug-database rdf:resource="https://github.com/apache/solr-operator/issues" />
<mailing-list rdf:resource="https://solr.apache.org/community.html#mailing-lists-chat" />
<download-page rdf:resource="https://solr.apache.org/operator/downloads.html" />
<download-page rdf:resource="https://solr.apache.org/operator/artifacts.html" />
<programming-language>Go</programming-language>
<category rdf:resource="https://projects.apache.org/category/cloud" />
<category rdf:resource="https://projects.apache.org/category/search"/>
Expand Down
2 changes: 1 addition & 1 deletion content/pages/operator/articles/explore-v030-gke.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ template: operator/page
<small>_Author: Tim Potter_</small>

Earlier this year, Bloomberg graciously donated the Solr operator to the Apache Software Foundation.
The latest [v0.3.0 release]({filename}/pages/operator/downloads.md#solr-v030) is the first under Apache and represents a significant milestone for the Apache Solr community at large.
The latest [v0.3.0 release]({filename}/pages/operator/artifacts.md) is the first under Apache and represents a significant milestone for the Apache Solr community at large.
The operator is Solr’s first satellite project that is managed by the Solr PMC but released independently of Apache Solr.
The community now has a powerful vehicle to translate hard-earned lessons and best practices running Solr at scale into automated solutions on Kubernetes.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Title: Downloads
URL: operator/downloads.html
save_as: operator/downloads.html
template: operator/downloads
Title: Artifacts
URL: operator/artifacts.html
save_as: operator/artifacts.html
template: operator/artifacts

Official releases are usually created when the [developers]({filename}/pages/whoweare.md)
feel there are sufficient changes, improvements and bug fixes to warrant a release.
Expand Down
2 changes: 1 addition & 1 deletion content/solr/operator/news/2021-04-29-v0-3-0-available.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The Apache Solr Operator is a safe and easy way of managing a Solr ecosystem in

This release contains numerous bug fixes, optimizations, and improvements, some of which are highlighted below. The release is available for immediate download at:

<https://solr.apache.org/operator/downloads.html>
<https://solr.apache.org/operator/artifacts.html>


### Solr Operator v0.3.0 Release Highlights:
Expand Down
2 changes: 1 addition & 1 deletion pelicanconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@

STATIC_PATHS = ['.']

TEMPLATE_PAGES = {'htaccess.template': '.htaccess', 'operator/crds.htaccess.template': 'operator/downloads/crds/.htaccess'}
TEMPLATE_PAGES = {'htaccess.template': '.htaccess'}

PLUGIN_PATHS = ['./plugins']
PLUGINS = [
Expand Down
2 changes: 1 addition & 1 deletion themes/solr/templates/htaccess.template
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ RedirectMatch Permanent ^/docs/api-(.*) /docs/$1

### Redirects to Apache Nightlies, this will change when they have a separate area for released artifacts
Redirect temp /charts https://nightlies.apache.org/solr/release/helm-charts
RewriteRule ^operator/downloads/?$ operator/downloads.html [PT]
Redirect temp /operator/downloads/crds https://nightlies.apache.org/solr/release/operator/crds
Copy link
Contributor

Choose a reason for hiding this comment

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

At a later stage, we can remove this line and add the "/operator/dowloads/crds" prefix to the regex for the Subversion rewrite.

Copy link
Contributor

Choose a reason for hiding this comment

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

I would just need to modify the digits pattern for the version number a bit, but I will do this anyways.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes that would be great.


### Javadocs & Refguide

Expand Down
2 changes: 1 addition & 1 deletion themes/solr/templates/operator/_footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h4>Resources</h4>
<div class="small-6 medium-3 columns">
<h4>Get Started</h4>
<ul>
<li><a href="/operator/downloads.html">Download</a></li>
<li><a href="/operator/artifacts.html">Artifacts</a></li>
<li><a href="/operator/resources.html#tutorials">Run Through the Tutorial</a></li>
<li><a href="/operator/resources.html">Level Up</a></li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion themes/solr/templates/operator/_header.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</li>
-->
<li>
<a href="{{ SITEURL }}/operator/downloads.html">Download</a>
<a href="{{ SITEURL }}/operator/artifacts.html">Artifacts</a>
</li>
<li>
<a class="btn" href="{{ SITEURL }}/">ᐱ Solr TLP</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
}
</style>

<h1 id="solr-downloads">{{ page.title }}
<a class="headerlink" href="#solr-downloads" title="Permanent link">¶</a>
<h1 id="solr-operator-artifacts">{{ page.title }}
<a class="headerlink" href="#solr-operator-artifacts" title="Permanent link">¶</a>
</h1>
{{ page.content }}
<h2 id="solr-{{ SOLR_OPERATOR_LATEST_RELEASE | replace(".", "") }}">Solr Operator {{ SOLR_OPERATOR_LATEST_RELEASE }}
Expand Down
17 changes: 0 additions & 17 deletions themes/solr/templates/operator/crds.htaccess.template

This file was deleted.

2 changes: 1 addition & 1 deletion themes/solr/templates/operator/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ <h1>
Apache Solr Operator {{ SOLR_OPERATOR_LATEST_RELEASE }} available
</h1>
<p>
The Solr PMC is pleased to announce the release of Apache Solr Operator {{ SOLR_OPERATOR_LATEST_RELEASE }}. Download <a href="/operator/downloads.html">here</a>.
The Solr PMC is pleased to announce the release of Apache Solr Operator {{ SOLR_OPERATOR_LATEST_RELEASE }}. Artifacts can be found <a href="/operator/artifacts.html">here</a>.
</p>
<a href="/operator/news.html"><span class="white">Read More News</span></a>
</div>
Expand Down