Go module path is git.eeqj.de/sneak/secret, policy requires sneak.berlin/go/secret #43
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
From the repo-standards audit. Present on
mainand the pending lint branch.Divergence
REPO_POLICIES.md:> Go module root:
sneak.berlin/go/<name>. Always rungo mod tidybefore committing.go.mod:1ismodule git.eeqj.de/sneak/secret. The wrong path is also compiled into the binary via theMakefileldflags:-X 'git.eeqj.de/sneak/secret/internal/cli.Version=...'.Mechanical but wide — it touches every import in
cmd/,internal/, andpkg/.Definition of done
go.moddeclaresmodule sneak.berlin/go/secret.cmd/,internal/, andpkg/is updated, including test files.-Xldflags in theMakefileuse the new path. Verify the version string is still actually populated in the built binary — a stale ldflags path fails silently, leavingVersionat its default, and nothing in the test suite would catch it. Build and run the version command as part of accepting this.go mod tidyrun;go.sumconsistent.make checkgreen.TODO.mdupdated in the same commit.Implementation requirements
go mod edit -moduleand the standard tooling for the import rewrite rather than hand-editing — but check the result compiles and that no import was missed in a build-tagged file. The Darwin-gated files (keychainunlocker.go,seunlocker_darwin.go,internal/macse/macse_darwin.go, and their tests) are not compiled on the Linux CI runner, so a missed import there produces a green CI and a broken macOS build. Verify those explicitly, e.g. with aGOOS=darwintype-check via the appropriate make target.go get-ed the old path is broken by this. That is accepted policy, but note it in the commit message..golangci.yml. Do not modify.golangci.yml— if the old path appears there, stop and report on this issue, since policy forbids agents editing that file.