Rename progetto2 to viandante

This commit is contained in:
truetype committed 2026-07-07 15:43:54 +00:00
1 parent 0030fd7d82
commit cf46689792
15 files changed
+41 -41

No files matched your search

+4 -4
View File
@@ -7,8 +7,8 @@ Setup locale, pytest, ruff, e come estendere il client.
## Setup
```bash
git clone https://192.168.0.183:8085/truetype/progetto2.git
cd progetto2
git clone https://192.168.0.183:8085/truetype/viandante.git
cd viandante
python3 -m venv .venv
source .venv/bin/activate
@@ -80,7 +80,7 @@ Dead Souls docker su `localhost:6666`:
# 2 secondi, log JSONL + MD
LOGJSON=$(mktemp /tmp/mud-json.XXXXXX.jsonl)
LOGMD=$(mktemp /tmp/mud-md.XXXXXX.md)
timeout 2 python -m progetto2 --host localhost --port 6666 \
timeout 2 python -m viandante --host localhost --port 6666 \
--log-json "$LOGJSON" --log-md "$LOGMD" </dev/null >/dev/null 2>&1 || true
wc -l "$LOGJSON" "$LOGMD"
head -3 "$LOGJSON"
@@ -97,7 +97,7 @@ e un header MD con `host/port/user`.
Esempio: nuovo modulo `directions.py` che assorbe `EXIT_ALIASES` da
`deadsouls.py`. Procedura:
1. Crea `src/progetto2/directions.py` con le costanti e `normalize_exits()`.
1. Crea `src/viandante/directions.py` con le costanti e `normalize_exits()`.
2. Aggiorna `deadsouls.py` → re‑import da `directions` per back‑compat.
3. Aggiorna `gmcp.py`, `mapper.py`, `cli.py` → import da `directions`.
4. Scrivi `tests/test_directions.py`.