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

Conversation

HoustonPutman
Copy link
Contributor

https://issues.apache.org/jira/browse/SOLR-15593

This is done to simplify (and frankly fix) the current htaccess rules that the download page name makes necessary.

Will need to test this out locally and change the location in the Solr Operator documentation.

@HoustonPutman
Copy link
Contributor Author

Ok confirmed locally that this works with the redirect that we have in place currently (and removing the extra htaccess file).

Will go ahead and fix the solr-operator documentation to prepare for this change.

Copy link
Contributor

@uschindler uschindler left a comment

Choose a reason for hiding this comment

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

I see no problem with this PR.

Another possibility to work around the MultiViews issue would have been an empty directory named "download" with just a marker file like "dummy.txt", so git does not remove it.

@@ -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.

@HoustonPutman
Copy link
Contributor Author

So I actually like the new name of the page, since most people won't ever be "downloading" it really.

I'll go ahead and commit this, and let you carry on.

@HoustonPutman HoustonPutman merged commit 7c31431 into apache:main Aug 27, 2021
@HoustonPutman HoustonPutman deleted the download-page branch August 27, 2021 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants