5db6eddcf8
Two release-blocking bugs traced to the same root cause: the unanchored
`data/` rule in .gitignore matched server/src/ledgrab/data/, which is
where shipped package assets live (prebuilt sounds, game adapters).
The files were never `git add`-able without -f, so they never reached
the v0.4.2 tag and CI builds couldn't include them.
- .gitignore: anchor /data/ and /server/data/ so nested package data
dirs are not ignored.
- Track previously-excluded shipped assets:
- server/src/ledgrab/data/prebuilt_sounds/{alert,bell,chime,ping,pop}.wav
- server/src/ledgrab/data/game_adapters/{minecraft,rocket_league,valorant}.yaml
- Bump _FALLBACK_VERSION 0.3.0 -> 0.4.2 to match pyproject.toml.
The Windows installer strips ledgrab-*.dist-info, so
importlib.metadata falls back to this literal — which is why
v0.4.2 reports v0.3.0 in the WebUI.
- Patch _FALLBACK_VERSION at bundle time in build-common.sh and
build-dist.ps1 so future drift is auto-corrected by the build.
93 lines
1.2 KiB
Plaintext
93 lines
1.2 KiB
Plaintext
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
.Python
|
|
# Build output artifacts (LedGrab/, *.zip, *.exe, *.tar.gz, cached downloads)
|
|
build/LedGrab/
|
|
build/*.zip
|
|
build/*.exe
|
|
build/*.tar.gz
|
|
build/*.msi
|
|
build/python-embed-*.zip
|
|
build/pip-wheels/
|
|
build/win-wheels/
|
|
build/tk-extract/
|
|
develop-eggs/
|
|
dist/
|
|
downloads/
|
|
eggs/
|
|
.eggs/
|
|
lib/
|
|
lib64/
|
|
parts/
|
|
sdist/
|
|
var/
|
|
wheels/
|
|
# …but keep pre-built Android wheels (pydantic-core cross-compiled for
|
|
# arm64-v8a / x86_64 / x86, required by the Chaquopy build)
|
|
!android/wheels/
|
|
!android/wheels/*
|
|
*.egg-info/
|
|
.installed.cfg
|
|
*.egg
|
|
|
|
# Virtual Environment
|
|
venv/
|
|
ENV/
|
|
env/
|
|
.venv
|
|
|
|
# Node
|
|
node_modules/
|
|
|
|
# IDE
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.DS_Store
|
|
.claude/
|
|
|
|
# Testing
|
|
.pytest_cache/
|
|
.coverage
|
|
htmlcov/
|
|
.tox/
|
|
|
|
# Logs
|
|
*.log
|
|
logs/
|
|
*.log.*
|
|
|
|
# Runtime data — anchor to repo root so nested package data dirs
|
|
# (server/src/ledgrab/data/prebuilt_sounds, game_adapters) are NOT ignored.
|
|
# An unanchored `data/` rule silently broke the v0.4.2 release by keeping
|
|
# shipped sound assets out of the CI tag checkout.
|
|
/data/
|
|
/server/data/
|
|
*.db
|
|
*.sqlite
|
|
*.json.bak
|
|
|
|
# Environment variables
|
|
.env
|
|
.env.local
|
|
|
|
# Docker
|
|
.dockerignore
|
|
|
|
# Home Assistant
|
|
homeassistant/.storage/
|
|
|
|
# Temporary files
|
|
*.tmp
|
|
temp/
|
|
tmp/
|
|
|
|
# OS
|
|
Thumbs.db
|
|
.DS_Store
|