mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-17 21:25:05 +01:00
List the two game packages in the root
Some checks failed
dependency freshness / dependencies on newest stable (push) Waiting to run
file length / file-length (push) Waiting to run
godot_dev_tools tests / test (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
palette drift / palette (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
shared gate tests / gate unit tests (push) Waiting to run
game_recording pre-commit / pre-commit (push) Has been cancelled
game_recording tests / test (push) Has been cancelled
Some checks failed
dependency freshness / dependencies on newest stable (push) Waiting to run
file length / file-length (push) Waiting to run
godot_dev_tools tests / test (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
palette drift / palette (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
shared gate tests / gate unit tests (push) Waiting to run
game_recording pre-commit / pre-commit (push) Has been cancelled
game_recording tests / test (push) Has been cancelled
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WzxdWXs4gEhEUMr9rgYG9V
This commit is contained in:
parent
db2650b9c9
commit
4531be3870
@ -1,8 +1,9 @@
|
||||
# utils
|
||||
|
||||
Monorepo of shared gates and libraries (dep_freshness, file_length, md_naming,
|
||||
repo_contract, coverage_gaps, crdt-sync, gatelock, freedays, sickdays, earned_time, music_theory,
|
||||
repo_contract, coverage_gaps, crdt-sync, gatelock, freedays, sickdays, earned_time, music_theory, game_recording,
|
||||
flutter_web_drive (headless Flutter-web E2E driver + MCP), ...).
|
||||
`godot_dev_tools/` is a Godot addon (GDScript): `godot_dev_tools/test.sh` runs its GUT tests.
|
||||
Python packages with a root-level `<pkg>/tests` run with `PYTHONPATH=.`;
|
||||
subprojects with their own `pyproject.toml` run via `scripts/run_subproject_tests.sh <dir>`.
|
||||
`scripts/check_repo_contract.sh` is the REAL shared gate (not a shim): never
|
||||
|
||||
24
README.md
24
README.md
@ -101,6 +101,17 @@ Consume via:
|
||||
music_theory @ git+https://github.com/kuhyx/utils@music-theory-v0.1.0#subdirectory=music_theory
|
||||
```
|
||||
|
||||
## game_recording/
|
||||
|
||||
Session recorder for a game (package: `game_recording`, stdlib only, not
|
||||
published to PyPI): records a dev run from outside the game and stamps its
|
||||
telemetry moments onto the video. A game configures it with one `Config`.
|
||||
|
||||
Consume via:
|
||||
```
|
||||
game_recording @ git+https://github.com/kuhyx/utils@game-recording-v0.1.0#subdirectory=game_recording
|
||||
```
|
||||
|
||||
## unified-design-system/
|
||||
|
||||
Not a package — the frozen design tokens (colors, spacing, type, radius,
|
||||
@ -128,3 +139,16 @@ planted violation per rule family proves each gate bites.
|
||||
"@kuhyx/ts-config": "github:kuhyx/utils#ts_config-v0.1.0&path:/ts_config"
|
||||
}
|
||||
```
|
||||
|
||||
## godot_dev_tools/
|
||||
|
||||
Godot addon (`addons/dev_tools/`): the F12 dev feedback mode of kuhy's games
|
||||
(annotate the frozen frame, save a bundle that `feedback_inbox` turns into a
|
||||
task). A game mounts it at a pinned tag; the game's own code stays a small host
|
||||
object. Read [`godot_dev_tools/README.md`](godot_dev_tools/README.md).
|
||||
|
||||
Consume via a shallow fetch of the tag, then mount the addon folder:
|
||||
```
|
||||
git clone --depth 1 --branch godot-dev-tools-v0.1.0 https://github.com/kuhyx/utils
|
||||
# link or copy godot_dev_tools/addons/dev_tools to res://addons/dev_tools
|
||||
```
|
||||
|
||||
@ -49,6 +49,7 @@ check_tag() {
|
||||
local prefix="$1" dir="$2" manifest version tag
|
||||
manifest="$UTILS_DIR/$dir/pyproject.toml"
|
||||
[[ -f "$manifest" ]] || manifest="$UTILS_DIR/$dir/pubspec.yaml"
|
||||
[[ -f "$manifest" ]] || manifest="$UTILS_DIR/$dir/addons/dev_tools/dev_tools.cfg"
|
||||
version="$(manifest_version "$manifest")"
|
||||
tag="${prefix}-v${version}"
|
||||
if ! git -C "$UTILS_DIR" fetch -q origin "+refs/tags/${tag}:refs/tags/${tag}" 2>/dev/null; then
|
||||
@ -82,6 +83,8 @@ check_sickdays() {
|
||||
verify() {
|
||||
check_tag sickdays sickdays
|
||||
check_tag sync_settings_ui sync_settings_ui
|
||||
check_tag game-recording game_recording
|
||||
check_tag godot-dev-tools godot_dev_tools
|
||||
check_sickdays
|
||||
if [[ "$FAILED" -ne 0 ]]; then
|
||||
log "health check FAILED"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user