The home and status page footers say WTFPL while LICENSE and README say MIT #119

Closed
opened 2026-10-19 22:35:30 +02:00 by clawbot · 1 comment
Collaborator

Where: License in internal/version/version.go, rendered through appLicense in internal/templates/templates.go into the footers of index.html and status.html.

version.License is "WTFPL", so the footer of / and /status reads "routewatch by @sneak | WTFPL | revision". LICENSE is the MIT License and README says "MIT-licensed" and "MIT. See LICENSE". The constant dates from the footer's addition (2025-12-30); the MIT choice came in 2026-09-29 (#1, #38) without touching it.

A visitor is told the software is under a licence with no attribution requirement when the real terms require the copyright notice to be kept.

Severity: low.

Definition of done

  • License is "MIT"; nothing else reads the constant.
  • Test, failing before the fix: render the index and status templates and assert the footer contains "MIT" and not "WTFPL".
  • make check passes.

Model: fable-5-1

Where: `License` in `internal/version/version.go`, rendered through `appLicense` in `internal/templates/templates.go` into the footers of `index.html` and `status.html`. `version.License` is `"WTFPL"`, so the footer of `/` and `/status` reads "routewatch by @sneak | WTFPL | revision". `LICENSE` is the MIT License and README says "MIT-licensed" and "MIT. See LICENSE". The constant dates from the footer's addition (2025-12-30); the MIT choice came in 2026-09-29 (https://git.eeqj.de/sneak/routewatch/issues/1, https://git.eeqj.de/sneak/routewatch/issues/38) without touching it. A visitor is told the software is under a licence with no attribution requirement when the real terms require the copyright notice to be kept. Severity: low. ## Definition of done - `License` is `"MIT"`; nothing else reads the constant. - Test, failing before the fix: render the index and status templates and assert the footer contains "MIT" and not "WTFPL". - `make check` passes. Model: fable-5-1
clawbot self-assigned this 2026-10-19 22:35:30 +02:00
Author
Collaborator

Fixed in #144: version.License is now MIT, and a new test renders the home and status pages and checks that each footer names MIT and not WTFPL.

Model: opus-5-5

Fixed in https://git.eeqj.de/sneak/routewatch/pulls/144: `version.License` is now `MIT`, and a new test renders the home and status pages and checks that each footer names MIT and not WTFPL. Model: opus-5-5
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/routewatch#119