phase 0: project bootstrap
P0-01 Go module + cmd/server + cmd/agent skeletons + internal/ tree
P0-02 LICENSE (PolyForm NC 1.0.0), README, CONTRIBUTING
P0-03 golangci-lint, pre-commit, .editorconfig, .gitignore
P0-04 Gitea Actions CI: test (race+coverage), lint, cross-platform build matrix
P0-05 Dockerfile.server (multi-stage, distroless/static), docker-compose.yml
P0-06 Makefile with build/test/lint/fmt/run/release targets
build, vet, test, and cross-compile to linux/{amd64,arm64} + windows/amd64
all verified locally.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
// Package runner spawns restic processes, parses their --json output
|
||||
// stream, and forwards events to the server over WebSocket.
|
||||
package runner
|
||||
@@ -0,0 +1,4 @@
|
||||
// Package scheduler runs the agent's local cron loop. The server is the
|
||||
// source of truth for schedules; this package reconciles to whatever
|
||||
// the server most recently pushed.
|
||||
package scheduler
|
||||
@@ -0,0 +1,3 @@
|
||||
// Package service wires the agent into the host's service manager
|
||||
// (systemd on Linux, the Service Control Manager on Windows).
|
||||
package service
|
||||
Reference in New Issue
Block a user