[PR #5435] [MERGED] GoMFT: tmpl bugfix to work with current version until a new release pushed #5529

Closed
opened 2026-02-26 14:34:26 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/5435
Author: @MickLesk
Created: 6/24/2025
Status: Merged
Merged: 6/24/2025
Merged by: @michelroegl-brunner

Base: mainHead: gmft_bugfix


📝 Commits (2)

  • 41e64e7 GoMFT: tmpl bugfix to work with current version until a new release pushed
  • bff7933 git

📊 Changes

3 files changed (+75 additions, -3 deletions)

View changed files

📝 ct/gomft.sh (+40 -0)
📝 frontend/public/json/gomft.json (+0 -0)
📝 install/gomft-install.sh (+35 -3)

📄 Description

✍️ Description

Fixes templ parsing error in file_metadata_search_content.templ caused by syntax incompatibility with templ v0.3.857.
Applies a temporary patch via cat <<EOF to replace the broken block with a valid version compatible with GoMFT's current go.mod.
This workaround ensures templ generate runs cleanly until the upstream template is fixed.

Link: #4933

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/5435 **Author:** [@MickLesk](https://github.com/MickLesk) **Created:** 6/24/2025 **Status:** ✅ Merged **Merged:** 6/24/2025 **Merged by:** [@michelroegl-brunner](https://github.com/michelroegl-brunner) **Base:** `main` ← **Head:** `gmft_bugfix` --- ### 📝 Commits (2) - [`41e64e7`](https://github.com/community-scripts/ProxmoxVE/commit/41e64e7d83354177330108ba5e5445777ca52046) GoMFT: tmpl bugfix to work with current version until a new release pushed - [`bff7933`](https://github.com/community-scripts/ProxmoxVE/commit/bff7933b103795a340b72f1105dbbd6ef3161e66) git ### 📊 Changes **3 files changed** (+75 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `ct/gomft.sh` (+40 -0) 📝 `frontend/public/json/gomft.json` (+0 -0) 📝 `install/gomft-install.sh` (+35 -3) </details> ### 📄 Description ## ✍️ Description Fixes templ parsing error in `file_metadata_search_content.templ` caused by syntax incompatibility with `templ v0.3.857`. Applies a **temporary patch** via `cat <<EOF` to replace the broken block with a valid version compatible with GoMFT's current `go.mod`. This workaround ensures `templ generate` runs cleanly until the upstream template is fixed. ## 🔗 Related PR / Issue Link: #4933 ## ✅ 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) - [x] 🐞 **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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 14:34:26 +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#5529
No description provided.