- Go 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
Suite release / finalize (push) Has been skipped
Suite release / deploy-image (push) Has been skipped
Suite release / scope (push) Successful in 27s
Suite release / module (push) Has been skipped
Suite release / reserve (push) Has been skipped
Suite release / check-build (none, ubuntu-latest) (ubuntu-latest, none) (push) Has been skipped
Suite release / publish (push) Has been skipped
Suite release / deliver (push) Has been skipped
Suite release / check-manifest (push) Has been skipped
Suite release / check-package (push) Has been skipped
Suite release / deliver-prune (push) Has been skipped
Suite release / build (none, ubuntu-latest) (ubuntu-latest, none) (push) Has been skipped
Suite release / reused-checks (push) Has been skipped
|
||
| .forgejo/workflows | ||
| catalog.go | ||
| catalog_test.go | ||
| contracts_test.go | ||
| expectby_test.go | ||
| go.mod | ||
| go.sum | ||
| listener.go | ||
| listener_other.go | ||
| listener_windows.go | ||
| lock_other.go | ||
| lock_windows.go | ||
| model.go | ||
| publish.go | ||
| README.md | ||
| storage.go | ||
| storage_windows_test.go | ||
alertstate
Current alert conditions, kept apart from notification history, in the at.alerts/v1 format: the
catalog of conditions, Publish (which persists current state before sending the latest complete
snapshot, then closed occurrences), and the state files the alerts listener keeps, read and replaced
through os.Root so a viewer holding current.json open never stops the listener
(AHT-219). It is public so a program outside the
alerts app publishes its own conditions: at-update reports a failed install here.
It was at-home-tools' alertstate package until shared packages got repositories of their own
(AGT-85,
AHT-258).
Using it
require forgejo.romaine.life/romaine-life/alertstate v0.1.0
import "forgejo.romaine.life/romaine-life/alertstate"
Testing
go test ./...; the storage tests are Windows-only.
Shipping
A library: the release-module topic in
pipeline-templates' fleet.json
tags each merge that changes the code, and every fleet repository whose go.mod requires it
gets a take-up. Forgejo pushes it to its public GitHub copy, which proxy.golang.org serves to
builds outside CI.