diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-09-17 12:54:06 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-09-17 12:54:06 +0200 |
| commit | 1884d56b0d399e9cdb80016a9c166b0120989933 (patch) | |
| tree | d5ca16e23970791ea6b014a0d48541b444fdfd8b /internal/cond | |
| parent | ca35dfc540bb86ebe193dd186ac6bb5276a93c2e (diff) | |
| download | krino-1884d56b0d399e9cdb80016a9c166b0120989933.tar.gz krino-1884d56b0d399e9cdb80016a9c166b0120989933.zip | |
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.
Diffstat (limited to 'internal/cond')
| -rw-r--r-- | internal/cond/compile.go | 6 | ||||
| -rw-r--r-- | internal/cond/compile_test.go | 2 | ||||
| -rw-r--r-- | internal/cond/eval.go | 2 | ||||
| -rw-r--r-- | internal/cond/eval_test.go | 2 | ||||
| -rw-r--r-- | internal/cond/types.go | 2 |
5 files changed, 7 insertions, 7 deletions
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. |
