Skip to content

feat(install): Add new argument from V9 in installer.#954

Merged
perber merged 1 commit into
perber:mainfrom
Hugo-Galley:feature/enhance-installer
Apr 28, 2026
Merged

feat(install): Add new argument from V9 in installer.#954
perber merged 1 commit into
perber:mainfrom
Hugo-Galley:feature/enhance-installer

Conversation

@Hugo-Galley
Copy link
Copy Markdown
Contributor

Hey @perber,

After the v9 release, I thought we could improve the installer to support the latest flags that were added.

It now supports flags for:

  • Versioning
  • Maximum number of versions per page
  • Permalinks

I decided not to include permalinks in the interactive installation flow to avoid overloading it. Does that choice make sense to you?

Copilot AI review requested due to automatic review settings April 28, 2026 12:08
@Hugo-Galley Hugo-Galley requested a review from perber as a code owner April 28, 2026 12:08
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Linux installer and configuration templates to expose newly added LeafWiki v0.9.x environment/CLI options (primarily revision history and related limits), plus a small README clarification about supported distros.

Changes:

  • Add revision-history related variables to the installer flow and .env.example (LEAFWIKI_ENABLE_REVISION, LEAFWIKI_MAX_REVISION_HISTORY).
  • Introduce plumbing for link refactor configuration in the installer (LEAFWIKI_ENABLE_LINK_REFACTOR).
  • Update README to state the installer has been tested on Ubuntu, Debian, and Raspbian.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 7 comments.

File Description
readme.md Expands the “tested on” distro list for the installer.
install.sh Adds non-interactive env parsing + interactive prompts for revision history settings.
.env.example Documents new env vars for revision history and link refactor.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread install.sh
Comment thread install.sh Outdated
Comment thread install.sh Outdated
Comment thread install.sh
Comment thread install.sh
Comment thread .env.example Outdated
Comment thread install.sh Outdated
@Hugo-Galley Hugo-Galley force-pushed the feature/enhance-installer branch from e2e2d62 to c4290b6 Compare April 28, 2026 12:30
@Hugo-Galley Hugo-Galley force-pushed the feature/enhance-installer branch from c4290b6 to 064827a Compare April 28, 2026 12:36
@perber
Copy link
Copy Markdown
Owner

perber commented Apr 28, 2026

Hi @Hugo-Galley,
thanks for updating the installer. I had overlooked this before.
Good idea!

@perber perber merged commit fdfd79c into perber:main Apr 28, 2026
5 checks passed
@Hugo-Galley Hugo-Galley deleted the feature/enhance-installer branch April 28, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants