Skip to content

Updated .htaccess copy and release procedure#1010

Merged
NightOwl888 merged 3 commits into
apache:masterfrom
NightOwl888:feature/htaccess-updates
Nov 6, 2024
Merged

Updated .htaccess copy and release procedure#1010
NightOwl888 merged 3 commits into
apache:masterfrom
NightOwl888:feature/htaccess-updates

Conversation

@NightOwl888

Copy link
Copy Markdown
Contributor
  • You've read the Contributor Guide and Code of Conduct.
  • You've included unit or integration tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • There's an open issue for the PR that you are making. If you'd like to propose a change, please open an issue to discuss the change or find an existing issue.

Summary of the changes (Less than 80 chars)

Fixes #1005

Description

This updates the website:

  • To copy the .htaccess and .gitattributes files using docfx during the website build rather than using Powershell to do it, which seems to be flakey.
  • To respond to either absolute-latest or absoluteLatest to redirect to the absolute latest version. The latter is the convention that NuGet uses.
  • So the procedure to update the .htaccess file is in the make-release.md document.

…copied to the build output by configuring them in docfx.json instead of using Powershell. Moved the starting location of those files to lucenetemplate (alongside doap_Lucene_Net.rdf and web.config).
…est" or "absoluteLatest" to the current version so we will match what NuGet does.
…file when updating the website for the release.
@NightOwl888 NightOwl888 added this to the 4.8.0-beta00018 milestone Nov 6, 2024
@NightOwl888 NightOwl888 merged commit ec575e3 into apache:master Nov 6, 2024
asfgit pushed a commit that referenced this pull request Nov 6, 2024
* website: Fixed .htaccess and .gitattributes so they will reliably be copied to the build output by configuring them in docfx.json instead of using Powershell. Moved the starting location of those files to lucenetemplate (alongside doap_Lucene_Net.rdf and web.config).

* .htaccess: Updated rewrite rule to redirect from either "absolute-latest" or "absoluteLatest" to the current version so we will match what NuGet does.

* website: make-release.md: Added instructions to update the .htaccess file when updating the website for the release.
@NightOwl888 NightOwl888 added the notes:website-or-documentation Documentation or website changes label Nov 6, 2024
paulirwin pushed a commit to paulirwin/lucene.net that referenced this pull request Jun 16, 2026
* website: Fixed .htaccess and .gitattributes so they will reliably be copied to the build output by configuring them in docfx.json instead of using Powershell. Moved the starting location of those files to lucenetemplate (alongside doap_Lucene_Net.rdf and web.config).

* .htaccess: Updated rewrite rule to redirect from either "absolute-latest" or "absoluteLatest" to the current version so we will match what NuGet does.

* website: make-release.md: Added instructions to update the .htaccess file when updating the website for the release.
This was referenced Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

notes:website-or-documentation Documentation or website changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant