[PR #272] feat: watch blueprint.yaml for update and auto resend #1618

Open
opened 2026-04-24 20:09:22 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fosrl/newt/pull/272
Author: @eleboucher
Created: 3/15/2026
Status: 🔄 Open

Base: mainHead: watch-blueprint


📝 Commits (1)

  • 0254971 feat: watch blueprint.yaml for update and auto resend

📊 Changes

5 files changed (+214 additions, -0 deletions)

View changed files

📝 common.go (+59 -0)
common_test.go (+146 -0)
📝 go.mod (+1 -0)
📝 go.sum (+2 -0)
📝 main.go (+6 -0)

📄 Description

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Description

Add a file watcher that re-pushes the blueprint to the server whenever the blueprint file is modified while Newt is running, matching the reactive behavior of the Docker event monitor.

We created a sidecar that will automatically create and update the blueprint based on the httproute or service in kubernetes https://github.com/home-operations/newt-sidecar therefore we need support of a watcher for any changes in the blueprint to send it to pangolin

How to test?


🔄 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/fosrl/newt/pull/272 **Author:** [@eleboucher](https://github.com/eleboucher) **Created:** 3/15/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `watch-blueprint` --- ### 📝 Commits (1) - [`0254971`](https://github.com/fosrl/newt/commit/025497138d6f10fdf2582b5c46fc191e5a4f5f56) feat: watch blueprint.yaml for update and auto resend ### 📊 Changes **5 files changed** (+214 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `common.go` (+59 -0) ➕ `common_test.go` (+146 -0) 📝 `go.mod` (+1 -0) 📝 `go.sum` (+2 -0) 📝 `main.go` (+6 -0) </details> ### 📄 Description ## Community Contribution License Agreement By creating this pull request, I grant the project maintainers an unlimited, perpetual license to use, modify, and redistribute these contributions under any terms they choose, including both the AGPLv3 and the Fossorial Commercial license terms. I represent that I have the right to grant this license for all contributed content. ## Description Add a file watcher that re-pushes the blueprint to the server whenever the blueprint file is modified while Newt is running, matching the reactive behavior of the Docker event monitor. We created a sidecar that will automatically create and update the blueprint based on the httproute or service in kubernetes https://github.com/home-operations/newt-sidecar therefore we need support of a watcher for any changes in the blueprint to send it to pangolin ## How to test? --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-24 20:09:22 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/newt#1618