[PR #11258] [MERGED] tools.func: add new function - setup_meilisearch #9346

Closed
opened 2026-02-26 16:35:58 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/11258
Author: @MickLesk
Created: 1/28/2026
Status: Merged
Merged: 1/28/2026
Merged by: @tremor021

Base: mainHead: feat/setup-meilisearch-helper


📝 Commits (2)

  • 1b2997c feat(tools.func): add setup_meilisearch helper function
  • 09925b2 feat(tools.func): add setup_meilisearch helper function

📊 Changes

1 file changed (+140 additions, -0 deletions)

View changed files

📝 misc/tools.func (+140 -0)

📄 Description

✍️ Description

Adds setup_meilisearch() to simplify MeiliSearch installation:

  • Downloads binary via fetch_and_deploy_gh_release
  • Creates config, directories, and systemd service
  • Waits for service health before continuing
  • Exports MEILISEARCH_MASTER_KEY, API_KEY, API_KEY_UID
  • Update is handled by "check_for_gh_release" like cts

Fixes #

Prerequisites (X in brackets)

  • Self-review completed – Code follows project standards.
  • Tested thoroughly – Changes work as expected.
  • No security risks – No hardcoded secrets, unnecessary privilege escalations, or permission issues.

🛠️ Type of Change (X in brackets)

  • 🐞 Bug fix – Resolves an issue without breaking functionality.
  • New feature – Adds new, non-breaking functionality.
  • 💥 Breaking change – Alters existing functionality in a way that may require updates.
  • 🆕 New script – A fully functional and tested script or script set.
  • 🌍 Website update – Changes to website-related JSON files or metadata.
  • 🔧 Refactoring / Code Cleanup – Improves readability or maintainability without changing functionality.
  • 📝 Documentation update – Changes to README, AppName.md, CONTRIBUTING.md, or other docs.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/community-scripts/ProxmoxVE/pull/11258 **Author:** [@MickLesk](https://github.com/MickLesk) **Created:** 1/28/2026 **Status:** ✅ Merged **Merged:** 1/28/2026 **Merged by:** [@tremor021](https://github.com/tremor021) **Base:** `main` ← **Head:** `feat/setup-meilisearch-helper` --- ### 📝 Commits (2) - [`1b2997c`](https://github.com/community-scripts/ProxmoxVE/commit/1b2997c6be5e044931b957d7323ff1ce0688e488) feat(tools.func): add setup_meilisearch helper function - [`09925b2`](https://github.com/community-scripts/ProxmoxVE/commit/09925b2e01181875da0cb5bf4ea131d2f7d6ecf9) feat(tools.func): add setup_meilisearch helper function ### 📊 Changes **1 file changed** (+140 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `misc/tools.func` (+140 -0) </details> ### 📄 Description <!--🛑 New scripts must be submitted to [ProxmoxVED](https://github.com/community-scripts/ProxmoxVED) for testing. PRs without prior testing will be closed. --> ## ✍️ Description Adds setup_meilisearch() to simplify MeiliSearch installation: - Downloads binary via fetch_and_deploy_gh_release - Creates config, directories, and systemd service - Waits for service health before continuing - Exports MEILISEARCH_MASTER_KEY, API_KEY, API_KEY_UID - Update is handled by "check_for_gh_release" like cts ## 🔗 Related Issue Fixes # ## ✅ Prerequisites (**X** in brackets) - [x] **Self-review completed** – Code follows project standards. - [x] **Tested thoroughly** – Changes work as expected. - [x] **No security risks** – No hardcoded secrets, unnecessary privilege escalations, or permission issues. --- ## 🛠️ Type of Change (**X** in brackets) - [ ] 🐞 **Bug fix** – Resolves an issue without breaking functionality. - [x] ✨ **New feature** – Adds new, non-breaking functionality. - [ ] 💥 **Breaking change** – Alters existing functionality in a way that may require updates. - [ ] 🆕 **New script** – A fully functional and tested script or script set. - [ ] 🌍 **Website update** – Changes to website-related JSON files or metadata. - [ ] 🔧 **Refactoring / Code Cleanup** – Improves readability or maintainability without changing functionality. - [ ] 📝 **Documentation update** – Changes to `README`, `AppName.md`, `CONTRIBUTING.md`, or other docs. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 16:35:58 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#9346
No description provided.