fix(web): views.templ imports the pre-rename gitea.d-ma.be host
internal/web/views.templ:7 still imports gitea.d-ma.be/mathias/tapir/internal/adapters/store while go.mod declares git.d-ma.be/mathias/tapir Left behind by the gitea rename (infra ADR-0004). The old hostname still resolves in DNS but no longer serves — HTTPS to it fails outright — so the import is genuinely broken, not merely outdated. Why nothing caught it: the COMMITTED internal/web/views_templ.go is correct, so builds and CI use a good generated file and stay green. The rot is only in the source. It surfaces the moment anyone runs `templ generate` — which regenerates the broken import over the good output, and then the build fails with no required module provides package gitea.d-ma.be/mathias/tapir/internal/adapters/store Found exactly that way while evaluating this repo for the estate-wide lint config: regenerating templ as part of the check turned a green repo red, and the cause was the source, not the check. Source fixed; regenerating now reproduces the committed generated file byte-for-byte, so views_templ.go is unchanged here. Verified: go build and go vet pass.
This commit is contained in:
@@ -4,7 +4,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"gitea.d-ma.be/mathias/tapir/internal/adapters/store"
|
"git.d-ma.be/mathias/tapir/internal/adapters/store"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Layout is the shared HTML shell. HTMX drives the progressive interactions
|
// Layout is the shared HTML shell. HTMX drives the progressive interactions
|
||||||
|
|||||||
Reference in New Issue
Block a user