-
Notifications
You must be signed in to change notification settings - Fork 26
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
Conversation
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. |
There was a problem hiding this 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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
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. |
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.