refactor: rename obikmer to obiskim

Rename the `obikmer` binary, crate, and documentation to `obiskim`. This change updates all references in source code, build scripts, CI workflows, and user documentation to reflect the new tool name.

- Move `src/obikmer` to `src/obiskim`, renaming the package and binary in `Cargo.toml` and updating `main.rs` and `cli.rs` to use the new name.
- Update `src/Cargo.toml` and `src/Cargo.lock` to replace the `obikmer` workspace member with `obiskim`.
- Update `Makefile` targets (`build`, `release`, `debug`, `profile-build`) and variables (`CARGO_TOML`, `bump-version`) to build and manage `obiskim`.
- Update `.gitea/workflows/release.yml` to build and upload `obiskim` artifacts for Linux and macOS.
- Rename all files in `src/obiskim/src/cmd/` from `obikmer` to `obiskim` paths, updating error messages and help text in `index/mod.rs`, `phylo/args/mod.rs`, and `phylo/tnt.rs`.
- Update documentation in `UserDocMD/` (including `index.md`, `installation.md`, `architecture.md`, and usage guides) to reference `obiskim` commands and behavior.
- Update `benchmark/` scripts and Python verification tools to use `obiskim` binary paths and arguments.
- Update `scripts/` (including `smoke_test_*.sh`, `bench_merge_oracle.sh`, and Docker debug scripts) to test and build `obiskim`.
- Update comments and error messages in library crates (`obicompactvec`, `obifastwrite`, `obikentropy`, `obikfilter`, `obikindex`, `obikindexer`, `obikphylo`, `obikselect`, `obikseq`, `obiread`, `obisys`) to reference `obiskim`.
This commit is contained in:
Eric Coissac committed 2026-12-01 18:15:13 +01:00
1 parent a71e59d6f0
commit 42d5b881ec
106 files changed
+223 -223

No files matched your search

+14 -14
View File
@@ -47,11 +47,11 @@ help:
@echo "$(GREEN)Available commands:$(NC)"
@sed -n "s/^## *\([^:]*\): */\1$$(printf '\t')/p" $(MAKEFILE_LIST) | column -t -s "$$(printf '\t')" | sed -e 's/^/ /'
## build: Release build of the obikmer binary (alias of release)
## build: Release build of the obiskim binary (alias of release)
build: release
## release: Release build of the obikmer binary
release: obikmer
## release: Release build of the obiskim binary
release: obiskim
## test: Workspace tests
test:
@@ -77,25 +77,25 @@ clippy:
ci: deps-check fmt-check clippy test
@echo "$(GREEN)✓ All CI checks passed$(NC)"
# ── obikmer binary ───────────────────────────────────────────────────────────
# ── obiskim binary ───────────────────────────────────────────────────────────
PROFILE_FILE := profile.pb
PPROF_PORT := 8081
.PHONY: obikmer
## obikmer: Release build of the obikmer binary
obikmer:
cargo build --release --manifest-path $(CARGO_DIR)/Cargo.toml --bin obikmer
.PHONY: obiskim
## obiskim: Release build of the obiskim binary
obiskim:
cargo build --release --manifest-path $(CARGO_DIR)/Cargo.toml --bin obiskim
.PHONY: debug
## debug: Debug build of the obikmer binary
## debug: Debug build of the obiskim binary
debug:
cargo build --manifest-path $(CARGO_DIR)/Cargo.toml --bin obikmer
cargo build --manifest-path $(CARGO_DIR)/Cargo.toml --bin obiskim
.PHONY: profile-build
profile-build:
cargo build --release --manifest-path $(CARGO_DIR)/Cargo.toml \
--bin obikmer --features obikmer/profiling
--bin obiskim --features obiskim/profiling
.PHONY: profile-view
profile-view:
@@ -148,12 +148,12 @@ clean: clean-doc clean-doc-user
rm -rf $(VENV)
# ── release (jj only; the kit's norms for a repository that is not a crate) ───────
# Version: patch bump of the obikmer crate (RELEASE=x.y.z forces it). Tag: v<version> (what release.yml
# Version: patch bump of the obiskim crate (RELEASE=x.y.z forces it). Tag: v<version> (what release.yml
# triggers on), created and pushed with jj, lightweight: the CI release body is the tagged commit's
# message. Release notes: ReleaseNotes/version-<version>.md (jj release-notes), committed with the release.
# No git command is run. The user runs `make jjrelease`; it never runs by itself.
CARGO_TOML := $(CARGO_DIR)/obikmer/Cargo.toml
CARGO_TOML := $(CARGO_DIR)/obiskim/Cargo.toml
RELEASE_NOTES_DIR := ReleaseNotes
API_DIR := api
RELEASE_PROJECT_DESC := obiskim (Rust k-mer genomics tool)
@@ -165,7 +165,7 @@ export RELEASE_NOTES_DIR API_DIR RELEASE_PROJECT_DESC TAG_PREFIX
.PHONY: bump-version jjpush jjrelease bookmark-check print-%
## bump-version: Next patch version of the obikmer crate, or fixed RELEASE=x.y.z (refused if the tag exists)
## bump-version: Next patch version of the obiskim crate, or fixed RELEASE=x.y.z (refused if the tag exists)
bump-version:
@jj git fetch
@current=$$(grep '^version = ' $(CARGO_TOML) | head -n 1 | sed 's/version = "\(.*\)"/\1/'); \