[PR #1588] Add loading of a single level of includes from configuration files #1654

Open
opened 2026-05-07 01:03:05 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/binwiederhier/ntfy/pull/1588
Author: @ntninja
Created: 2/2/2026
Status: 🔄 Open

Base: mainHead: main


📝 Commits (3)

  • 3c045b5 Add loading of a single level of includes from configuration files
  • 86d489f Load included configuration file relative to includer
  • 842a9f5 Add tests for loading from YAML configuration file with includes

📊 Changes

2 files changed (+127 additions, -11 deletions)

View changed files

📝 cmd/config_loader.go (+61 -11)
📝 cmd/config_loader_test.go (+66 -0)

📄 Description

So far I was not able to compile it locally.

Fixes #1492


🔄 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/binwiederhier/ntfy/pull/1588 **Author:** [@ntninja](https://github.com/ntninja) **Created:** 2/2/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`3c045b5`](https://github.com/binwiederhier/ntfy/commit/3c045b5f08d37af5ea12e1fc08efd4ff01474235) Add loading of a single level of includes from configuration files - [`86d489f`](https://github.com/binwiederhier/ntfy/commit/86d489f47bf6f534b28cdd6158234669c4fcef65) Load included configuration file relative to includer - [`842a9f5`](https://github.com/binwiederhier/ntfy/commit/842a9f52c515a66749ee72e6104006572bcc10e2) Add tests for loading from YAML configuration file with includes ### 📊 Changes **2 files changed** (+127 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `cmd/config_loader.go` (+61 -11) 📝 `cmd/config_loader_test.go` (+66 -0) </details> ### 📄 Description So far I was not able to compile it locally. Fixes #1492 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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/ntfy#1654
No description provided.