From 1884d56b0d399e9cdb80016a9c166b0120989933 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Thu, 17 Sep 2026 12:54:06 +0200 Subject: the module path is git.labunix.xyz/krino So that go install can find it. cgit serves no go-import meta tag, so nginx answers a ?go-get=1 request for /NAME with one pointing at https://git.labunix.xyz/NAME.git; the alternative was carrying a .git suffix through every import line forever. One sed over the imports, both go.mod files, and the dependency gate's whitelist. Nothing else depends on the path. go install works from the next tag, the first release whose go.mod carries it. --- internal/cond/compile.go | 6 +++--- internal/cond/compile_test.go | 2 +- internal/cond/eval.go | 2 +- internal/cond/eval_test.go | 2 +- internal/cond/types.go | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) (limited to 'internal/cond') diff --git a/internal/cond/compile.go b/internal/cond/compile.go index 6580ee9..42617be 100644 --- a/internal/cond/compile.go +++ b/internal/cond/compile.go @@ -10,9 +10,9 @@ import ( "sort" "strings" - "krino/internal/config" - "krino/internal/norm" - "krino/internal/sexp" + "git.labunix.xyz/krino/internal/config" + "git.labunix.xyz/krino/internal/norm" + "git.labunix.xyz/krino/internal/sexp" ) // maxDepth is the deepest a condition may nest; the top-level conditions diff --git a/internal/cond/compile_test.go b/internal/cond/compile_test.go index 8432365..d9830d9 100644 --- a/internal/cond/compile_test.go +++ b/internal/cond/compile_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "krino/internal/sexp" + "git.labunix.xyz/krino/internal/sexp" ) func nodes(t *testing.T, src string) []*sexp.Node { diff --git a/internal/cond/eval.go b/internal/cond/eval.go index 2c35dba..2ae31fb 100644 --- a/internal/cond/eval.go +++ b/internal/cond/eval.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "krino/internal/norm" + "git.labunix.xyz/krino/internal/norm" ) // Facts is what a condition may ask about one file. Implementations diff --git a/internal/cond/eval_test.go b/internal/cond/eval_test.go index 73e0ea6..5074557 100644 --- a/internal/cond/eval_test.go +++ b/internal/cond/eval_test.go @@ -10,7 +10,7 @@ import ( "testing" "time" - "krino/internal/norm" + "git.labunix.xyz/krino/internal/norm" ) var now = time.Date(2026, 9, 11, 12, 0, 0, 0, time.UTC) diff --git a/internal/cond/types.go b/internal/cond/types.go index 97e761a..791ccba 100644 --- a/internal/cond/types.go +++ b/internal/cond/types.go @@ -8,7 +8,7 @@ import ( "regexp" "time" - "krino/internal/sexp" + "git.labunix.xyz/krino/internal/sexp" ) // Options carries a rule's resolved case and fold settings into compilation. -- cgit v1.3