Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
db5eb507c1 | ||
|
|
6e4c44b3d6 | ||
|
|
91eb3d6771 | ||
|
|
edcf7f8c3c |
@@ -9,11 +9,12 @@
|
|||||||
|
|
||||||
# Status
|
# Status
|
||||||
|
|
||||||
pre-1.0. No git tags. `main` is the stable branch and `next` the development
|
pre-1.0. Release candidates are tagged on `next`, the first being `v1.0.0-rc1`;
|
||||||
branch, which every PR targets. The frontend and the Go backend ship as one
|
`git tag --merged origin/next` lists them. `main` is the stable branch and
|
||||||
Docker image, and the Gitea workflow `.gitea/workflows/check.yml` runs
|
`next` the development branch, which every PR targets. The frontend and the Go
|
||||||
`script/cibuild` on every push, and cancels the older run on the same branch.
|
backend ship as one Docker image, and the Gitea workflow
|
||||||
Working toward 1.0.0.
|
`.gitea/workflows/check.yml` runs `script/cibuild` on every push, and cancels
|
||||||
|
the older run on the same branch. Working toward 1.0.0.
|
||||||
|
|
||||||
# Next Step
|
# Next Step
|
||||||
|
|
||||||
@@ -22,6 +23,11 @@ Run `make frontend-viewport-test` in CI as its own step; it is not part of
|
|||||||
|
|
||||||
# Completed Steps
|
# Completed Steps
|
||||||
|
|
||||||
|
- 2026-10-19: the server's `OnStart` hook in `internal/server/server.go` starts
|
||||||
|
`listenAndServe` with `go func() { s.listenAndServe() }()`, as the Go style
|
||||||
|
guide asks ([#162](https://git.eeqj.de/sneak/netwatch/issues/162)); it was
|
||||||
|
`go s.listenAndServe()`. No other `go` statement in the Go code called a
|
||||||
|
function directly. Nothing the server does changed
|
||||||
- 2026-10-19: `.gitignore`, `.editorconfig` and `.golangci.yml` are the
|
- 2026-10-19: `.gitignore`, `.editorconfig` and `.golangci.yml` are the
|
||||||
sneak/prompts copies at `0653579`
|
sneak/prompts copies at `0653579`
|
||||||
([#174](https://git.eeqj.de/sneak/netwatch/issues/174)). `.gitignore` is the
|
([#174](https://git.eeqj.de/sneak/netwatch/issues/174)). `.gitignore` is the
|
||||||
@@ -29,6 +35,15 @@ Run `make frontend-viewport-test` in CI as its own step; it is not part of
|
|||||||
the standard file alone, which now carries the `[*.go]` section.
|
the standard file alone, which now carries the `[*.go]` section.
|
||||||
`.golangci.yml` disables `canonicalheader`, as the canonical copy does,
|
`.golangci.yml` disables `canonicalheader`, as the canonical copy does,
|
||||||
because golangci-lint v2.14.0 misses its findings at random
|
because golangci-lint v2.14.0 misses its findings at random
|
||||||
|
- 2026-10-19: `package.json` has no `version` field and is marked
|
||||||
|
`"private": true` ([#158](https://git.eeqj.de/sneak/netwatch/issues/158)). It
|
||||||
|
said `1.0.0`, a release that has not been made, and nothing read it; the git
|
||||||
|
tag is the one version, which the image and `make build` take from
|
||||||
|
`git describe --tags`. The package is never published
|
||||||
|
- 2026-10-19: Status names `v1.0.0-rc1`, the first release candidate, and says
|
||||||
|
release candidates are tagged on `next`, where it said there were no git tags
|
||||||
|
([#157](https://git.eeqj.de/sneak/netwatch/issues/157)). The rest of Status
|
||||||
|
matches the tree
|
||||||
- 2026-10-19: `netwatch-server` starts the server only when given no arguments
|
- 2026-10-19: `netwatch-server` starts the server only when given no arguments
|
||||||
([#179](https://git.eeqj.de/sneak/netwatch/issues/179)). `check-cidr CIDR` and
|
([#179](https://git.eeqj.de/sneak/netwatch/issues/179)). `check-cidr CIDR` and
|
||||||
`prepare-data-dir DATA_DIR` behave as before; any other arguments, such as a
|
`prepare-data-dir DATA_DIR` behave as before; any other arguments, such as a
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ func New(
|
|||||||
s.SetupRoutes()
|
s.SetupRoutes()
|
||||||
s.httpServer = s.newHTTPServer()
|
s.httpServer = s.newHTTPServer()
|
||||||
|
|
||||||
go s.listenAndServe()
|
go func() { s.listenAndServe() }()
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "netwatch",
|
"name": "netwatch",
|
||||||
"version": "1.0.0",
|
"private": true,
|
||||||
"description": "Real-time network latency monitor SPA",
|
"description": "Real-time network latency monitor SPA",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user