refactor!: rename module and move CLI to cmd/cephmig

Use the repository path git.zb-server.de/Sebi/CephfsMig as module
path instead of the non-importable name CephMig, and move the cephmig
entry point from the repository root to cmd/cephmig next to
cmd/nativeprobe. Makefile and Dockerfile.native build the new path.

BREAKING CHANGE: import paths change from CephMig/... to
git.zb-server.de/Sebi/CephfsMig/..., and the binary is now built from
./cmd/cephmig instead of the module root.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sebastian UnterschützandClaude Opus 5.5 committed 2026-12-03 18:06:09 +01:00
1 parent 7705ed3eaf
commit 8fe60a4f8f
14 files changed
+16 -16

No files matched your search

+2 -2
View File
@@ -1,13 +1,13 @@
.PHONY: build check doctor dev-config dev-up dev-down dev-status dev-smoke dev-shell dev-restart-check dev-migration-test dev-native-build dev-native-test dev-smallfiles-test dev-million-start dev-million-status dev-million-finish
build:
go build -buildvcs=false -o bin/cephmig .
go build -buildvcs=false -o bin/cephmig ./cmd/cephmig
check:
go vet ./...
go test ./...
bash -n dev/cluster.sh dev/client.sh dev/smoke.sh dev/restart-check.sh dev/migration-test.sh dev/native-test.sh dev/smallfiles-test.sh dev/million-start.sh dev/million-finish.sh
python3 -c 'import ast,pathlib; [ast.parse(pathlib.Path(p).read_text()) for p in ("dev/native-fixture.py", "dev/smallfiles.py", "dev/million.py")]'
doctor:
go run . doctor
go run ./cmd/cephmig doctor
dev-config:
docker compose -f dev/compose.yaml config --quiet
dev-up: