aboutsummaryrefslogtreecommitdiff
path: root/internal/apply
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-09-17 12:54:06 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-09-17 12:54:06 +0200
commit1884d56b0d399e9cdb80016a9c166b0120989933 (patch)
treed5ca16e23970791ea6b014a0d48541b444fdfd8b /internal/apply
parentca35dfc540bb86ebe193dd186ac6bb5276a93c2e (diff)
downloadkrino-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/apply')
-rw-r--r--internal/apply/apply.go6
-rw-r--r--internal/apply/apply_test.go6
-rw-r--r--internal/apply/swap_test.go4
3 files changed, 8 insertions, 8 deletions
diff --git a/internal/apply/apply.go b/internal/apply/apply.go
index d7bf71e..c0055a2 100644
--- a/internal/apply/apply.go
+++ b/internal/apply/apply.go
@@ -14,9 +14,9 @@ import (
"path/filepath"
"time"
- "krino/internal/plan"
- "krino/internal/scan"
- "krino/internal/trash"
+ "git.labunix.xyz/krino/internal/plan"
+ "git.labunix.xyz/krino/internal/scan"
+ "git.labunix.xyz/krino/internal/trash"
)
// StepResult is what happened to one step, in the order the executor ran
diff --git a/internal/apply/apply_test.go b/internal/apply/apply_test.go
index 6134988..cd217c0 100644
--- a/internal/apply/apply_test.go
+++ b/internal/apply/apply_test.go
@@ -10,9 +10,9 @@ import (
"testing"
"time"
- "krino/internal/plan"
- "krino/internal/scan"
- "krino/internal/trash"
+ "git.labunix.xyz/krino/internal/plan"
+ "git.labunix.xyz/krino/internal/scan"
+ "git.labunix.xyz/krino/internal/trash"
)
// chainFor builds a Chain whose File describes path as it is on disk now, so
diff --git a/internal/apply/swap_test.go b/internal/apply/swap_test.go
index ccac945..d16d3f9 100644
--- a/internal/apply/swap_test.go
+++ b/internal/apply/swap_test.go
@@ -9,8 +9,8 @@ import (
"strings"
"testing"
- "krino/internal/plan"
- "krino/internal/scan"
+ "git.labunix.xyz/krino/internal/plan"
+ "git.labunix.xyz/krino/internal/scan"
)
// planned writes body to root/rel and returns the chain a plan would build