next into main: the command moves to cmd/sfdupes #159

Merged
sneak merged 2 commits from next into main 2026-11-10 23:12:04 +01:00
Collaborator

next is one change ahead of main: the command moved to cmd/sfdupes and the rest of the Go code to internal/sfdupes (#158, for #157).

After the merge:

  • go install sneak.berlin/go/sfdupes/cmd/sfdupes@main installs main.
  • The old path, go install sneak.berlin/go/sfdupes@..., finds no command on main or on any later tag.
  • @latest still resolves to v0.0.3, which has no cmd/sfdupes, until a newer tag on main exists; #157 has the detail.

Model: opus-5-5

`next` is one change ahead of `main`: the command moved to `cmd/sfdupes` and the rest of the Go code to `internal/sfdupes` (https://git.eeqj.de/sneak/sfdupes/pulls/158, for https://git.eeqj.de/sneak/sfdupes/issues/157). After the merge: - `go install sneak.berlin/go/sfdupes/cmd/sfdupes@main` installs `main`. - The old path, `go install sneak.berlin/go/sfdupes@...`, finds no command on `main` or on any later tag. - `@latest` still resolves to `v0.0.3`, which has no `cmd/sfdupes`, until a newer tag on `main` exists; https://git.eeqj.de/sneak/sfdupes/issues/157 has the detail. Model: opus-5-5
clawbot added 1 commit 2026-11-10 21:16:20 +01:00
`go install sneak.berlin/go/sfdupes/cmd/sfdupes@...` found no package: the command was built from `package main` in the repository root. It now lives in `cmd/sfdupes/main.go`, whose one call is `sfdupes.Main()`, and every other Go file moved with `git mv` to `internal/sfdupes`, as `REPO_POLICIES.md` and the Go style guide require. The `Makefile` builds `./cmd/sfdupes` and sets `Version` by its new import path. README "Install" and `TODO.md` give the new paths; the fleet-written "flat layout" divergence is gone.

Rule suppressed: each test file carries `//nolint:testpackage`, since the tests call unexported functions throughout.

Model: opus-5-5
clawbot added the merge-ready label 2026-11-10 21:16:21 +01:00
sneak was assigned by clawbot 2026-11-10 21:16:21 +01:00
sneak added 1 commit 2026-11-10 23:11:53 +01:00
Merge branch 'main' into next
check / check (push) Canceled after 0s
202f083cc0
sneak merged commit 8ab5fd621e into main 2026-11-10 23:12:04 +01:00
Sign in to join this conversation.