chore(repo): rename rust-port/wifi-densepose-rs → v2/ (flatten to one level) (#427)

The Rust port lived two directories deep (rust-port/wifi-densepose-rs/)
without any sibling under rust-port/ that warranted the extra level.
Move the whole workspace up to v2/ to match v1/ (Python) at the same
depth and shorten every cd / build command across the repo.

git mv preserves history for all tracked files. 60 files updated for
path references (CI workflows, ADRs, docs, scripts, READMEs, internal
.claude-flow state). Two manual fixes for relative-cd paths in
CLAUDE.md and ADR-043 that became wrong after the depth change
(cd ../.. → cd ..).

Validated:
- cargo check --workspace --no-default-features → clean (after target/
  nuke; the gitignored target/ was carried by the OS rename and had
  hard-coded old paths in build scripts)
- cargo test --workspace --no-default-features → 1,539 passed, 0 failed,
  8 ignored (same totals as pre-rename)
- ESP32-S3 on COM7 → still streaming live CSI (cb #40300, RSSI -64 dBm)

After-merge follow-up: contributors should `rm -rf v2/target` once and
let cargo regenerate from the new path.
This commit is contained in:
rUv
2026-04-25 21:28:13 -04:00
committed by GitHub
parent 2a58fe478b
commit f49c722764
626 changed files with 240 additions and 363 deletions
+7 -7
View File
@@ -25,7 +25,7 @@
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
RUST_DIR="${SCRIPT_DIR}/rust-port/wifi-densepose-rs"
RUST_DIR="${SCRIPT_DIR}/v2"
# ─── Colors ───────────────────────────────────────────────────────────
if [ -t 1 ]; then
@@ -955,7 +955,7 @@ post_install() {
;;
rust)
echo " # Run benchmarks:"
echo " cd rust-port/wifi-densepose-rs"
echo " cd v2"
echo " cargo bench --package wifi-densepose-signal"
echo ""
echo " # Start Rust API server:"
@@ -963,7 +963,7 @@ post_install() {
;;
browser)
echo " # WASM package is at:"
echo " # rust-port/wifi-densepose-rs/crates/wifi-densepose-wasm/pkg/"
echo " # v2/crates/wifi-densepose-wasm/pkg/"
echo ""
echo " # Open the 3D visualization:"
echo " python3 -m http.server 3000 --directory ui"
@@ -999,17 +999,17 @@ post_install() {
echo " # WiFi-Mat disaster response module built."
echo ""
echo " # Run WiFi-Mat tests:"
echo " cd rust-port/wifi-densepose-rs"
echo " cd v2"
echo " cargo test --package wifi-densepose-mat"
echo ""
echo " # Field deployment WASM package at:"
echo " # rust-port/wifi-densepose-rs/crates/wifi-densepose-wasm/pkg/"
echo " # v2/crates/wifi-densepose-wasm/pkg/"
;;
full)
echo " # Verification: ./verify"
echo " # Python API: uvicorn v1.src.api.main:app --host 0.0.0.0 --port 8000"
echo " # Rust API: cd rust-port/wifi-densepose-rs && cargo run --release --package wifi-densepose-api"
echo " # Benchmarks: cd rust-port/wifi-densepose-rs && cargo bench"
echo " # Rust API: cd v2 && cargo run --release --package wifi-densepose-api"
echo " # Benchmarks: cd v2 && cargo bench"
echo " # Visualization: python3 -m http.server 3000 --directory ui"
echo " # Docker: docker compose up"
;;