mirror of
https://github.com/fosrl/newt.git
synced 2026-05-06 07:59:04 -05:00
[PR #272] feat: watch blueprint.yaml for update and auto resend #1618
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fosrl/newt/pull/272
Author: @eleboucher
Created: 3/15/2026
Status: 🔄 Open
Base:
main← Head:watch-blueprint📝 Commits (1)
0254971feat: 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.