mirror of
https://github.com/kuhyx/steam-backlog-enforcer.git
synced 2026-11-28 08:49:24 +01:00
Rename to vapor, update path refs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WzxdWZCxnNWLtpVwFLVk9w
This commit is contained in:
parent
a32ab66c5a
commit
801f387c21
@ -5,7 +5,7 @@ After running tests fix all coverage gaps and issues, do not ignore unless speci
|
|||||||
|
|
||||||
@/home/kuhy/.claude/rules/typescript-5-es2022.instructions.md
|
@/home/kuhy/.claude/rules/typescript-5-es2022.instructions.md
|
||||||
|
|
||||||
# Steam Backlog Enforcer Notes
|
# vapor (Steam Backlog Enforcer) Notes
|
||||||
|
|
||||||
- Fixed in commit 8b7bdb6: conftest.py safety net redirects all filesystem paths (STEAMAPPS_PATH, CONFIG_DIR, STATE_FILE, etc.) to tmp_path. Tests are safe to run without asking about state.json first.
|
- Fixed in commit 8b7bdb6: conftest.py safety net redirects all filesystem paths (STEAMAPPS_PATH, CONFIG_DIR, STATE_FILE, etc.) to tmp_path. Tests are safe to run without asking about state.json first.
|
||||||
- The pre-commit `pytest-coverage` hook is currently broken (measures all of python_pkg at 100%, not just the changed subpackage). There's an in-progress fix via `scripts/pytest_changed_packages.py` + `.pre-commit-config.yaml` change that still needs lint fixes.
|
- The pre-commit `pytest-coverage` hook is currently broken (measures all of python_pkg at 100%, not just the changed subpackage). There's an in-progress fix via `scripts/pytest_changed_packages.py` + `.pre-commit-config.yaml` change that still needs lint fixes.
|
||||||
|
|||||||
@ -1,7 +1,8 @@
|
|||||||
# Steam Backlog Enforcer
|
# vapor
|
||||||
|
|
||||||
This repo is also an alternative Steam frontend: it installs games faster than the
|
vapor is an alternative Steam frontend: it installs games faster than the Steam
|
||||||
Steam client (`steam_installer`, see [DOCS-steam-installer.md](DOCS-steam-installer.md)).
|
client (`steam_installer`, see [DOCS-steam-installer.md](DOCS-steam-installer.md))
|
||||||
|
and enforces the backlog rule below (the Steam Backlog Enforcer daemon).
|
||||||
|
|
||||||
Forces you to play one Steam game at a time: earn at least one new
|
Forces you to play one Steam game at a time: earn at least one new
|
||||||
achievement in the assigned game before moving on to the next.
|
achievement in the assigned game before moving on to the next.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
# Deploy steam-backlog-enforcer for real: update the live checkout, sync the
|
# Deploy steam-backlog-enforcer for real: update the live checkout, sync the
|
||||||
# systemd units, restart what is stale, then health-check the running services.
|
# systemd units, restart what is stale, then health-check the running services.
|
||||||
#
|
#
|
||||||
# Both services run straight out of ~/src/steam-backlog-enforcer (system unit:
|
# Both services run straight out of ~/src/vapor (system unit:
|
||||||
# the enforce daemon; user unit: the web UI), so "deploy" means: pull that
|
# the enforce daemon; user unit: the web UI), so "deploy" means: pull that
|
||||||
# checkout, and make sure the processes run the pulled code.
|
# checkout, and make sure the processes run the pulled code.
|
||||||
#
|
#
|
||||||
@ -19,7 +19,7 @@
|
|||||||
# Overridable for tests: SBE_CHECKOUT, SBE_WEB_URL, SBE_CTL_SOCK, SBE_MCP_PYTHON.
|
# Overridable for tests: SBE_CHECKOUT, SBE_WEB_URL, SBE_CTL_SOCK, SBE_MCP_PYTHON.
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
readonly CHECKOUT="${SBE_CHECKOUT:-$HOME/src/steam-backlog-enforcer}"
|
readonly CHECKOUT="${SBE_CHECKOUT:-$HOME/src/vapor}"
|
||||||
readonly WEB_URL="${SBE_WEB_URL:-http://127.0.0.1:8000/}"
|
readonly WEB_URL="${SBE_WEB_URL:-http://127.0.0.1:8000/}"
|
||||||
readonly CTL_SOCK="${SBE_CTL_SOCK:-/run/steam-backlog-enforcer/ctl.sock}"
|
readonly CTL_SOCK="${SBE_CTL_SOCK:-/run/steam-backlog-enforcer/ctl.sock}"
|
||||||
readonly MCP_PYTHON="${SBE_MCP_PYTHON:-$HOME/.venvs/steam-backlog-mcp/bin/python}"
|
readonly MCP_PYTHON="${SBE_MCP_PYTHON:-$HOME/.venvs/steam-backlog-mcp/bin/python}"
|
||||||
|
|||||||
@ -11,7 +11,7 @@ exit 1 with the reason on stderr.
|
|||||||
Usage::
|
Usage::
|
||||||
|
|
||||||
python3 scripts/mcp_probe.py --python ~/.venvs/steam-backlog-mcp/bin/python \
|
python3 scripts/mcp_probe.py --python ~/.venvs/steam-backlog-mcp/bin/python \
|
||||||
--repo ~/src/steam-backlog-enforcer
|
--repo ~/src/vapor
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|||||||
@ -23,7 +23,7 @@ from urllib.parse import urlsplit
|
|||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from collections.abc import Mapping
|
from collections.abc import Mapping
|
||||||
|
|
||||||
REPO: Final = "kuhyx/steam-backlog-enforcer"
|
REPO: Final = "kuhyx/vapor"
|
||||||
DEFAULT_URL: Final = "http://127.0.0.1:8735/mcp"
|
DEFAULT_URL: Final = "http://127.0.0.1:8735/mcp"
|
||||||
_PROTOCOL: Final = "2025-03-26"
|
_PROTOCOL: Final = "2025-03-26"
|
||||||
_TIMEOUT_SECONDS: Final = 10.0
|
_TIMEOUT_SECONDS: Final = 10.0
|
||||||
|
|||||||
@ -52,7 +52,7 @@ def test_files_one_task_with_report(todo: FakeTodo, tmp_path: Path) -> None:
|
|||||||
assert filed.created
|
assert filed.created
|
||||||
assert filed.task.startswith("added ")
|
assert filed.task.startswith("added ")
|
||||||
[task] = todo.tasks
|
[task] = todo.tasks
|
||||||
assert task["repo"] == "kuhyx/steam-backlog-enforcer"
|
assert task["repo"] == "kuhyx/vapor"
|
||||||
assert task["title"] == _REPORT["title"]
|
assert task["title"] == _REPORT["title"]
|
||||||
assert task["body"] == _REPORT["body"]
|
assert task["body"] == _REPORT["body"]
|
||||||
assert task["done_check"] == "none"
|
assert task["done_check"] == "none"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user