mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-11-10 19:07:16 +01:00
The PC push aborted before it ever tried Firebase whenever the GitHub PAT
was missing ("Workouts NOT synced: no sync token"), so once the PAT was lost
this machine published nothing although Firebase was configured and live.
The phone has not written the GitHub repo since 2026-08-21.
- sync_client() / sync_client_or_reason(): firebase_client_for("screen_locker")
only, proven with can_access_remote(), healed once from a sibling app's
session, else a warning naming what will not sync (push AND pull) plus a
recorded degraded source. No config -> warning, no fallback.
- _manual_push and scripts/tombstone_sync_record.py take their client from
sync_client_or_reason(); the push result carries the reason.
- Deleted: read_sync_token, remote_client, the mirror client, _push_outcome
(the half-landed-push case no longer exists), SYNC_TOKEN_FILE and
SYNC_REPO_OWNER/NAME, the sync_token test fixture. Status backend is
"firebase" or "none".
- crdt-sync pinned to v0.9.2 in pyproject, requirements.txt and
install_systemd.sh (the installer still said v0.9.0).
kuhyx/syncs/screen-locker-sync is left untouched as an archive; no code
reads it.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018RHwVPyiiQMPh4M3JQwQku
29 lines
1.2 KiB
Plaintext
29 lines
1.2 KiB
Plaintext
# Screen Locker — runtime + development dependencies
|
|
# Runtime: tkinter/subprocess/socket/sqlite3 (stdlib) plus gatelock (below).
|
|
bandit==1.9.4
|
|
codespell==2.4.3
|
|
coverage==7.16.2
|
|
crdt-sync @ git+https://github.com/kuhyx/utils@crdt-sync-v0.9.2#subdirectory=crdt-sync
|
|
earned-time @ git+https://github.com/kuhyx/utils@earned-time-v0.4.0#subdirectory=earned_time
|
|
freedays @ git+https://github.com/kuhyx/utils@freedays-v0.3.0#subdirectory=freedays
|
|
gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.9.0#subdirectory=gatelock
|
|
mcp==2.3.0
|
|
mypy==2.4.0
|
|
pre-commit==4.6.2
|
|
pylint==4.1.2
|
|
pytest==9.1.1
|
|
pytest-cov==7.1.0
|
|
pytest-randomly==5.0.0
|
|
pytest-sugar==1.1.1
|
|
pytest-xdist==3.8.0
|
|
# Direct dependency since the Firebase session recovery exchanges a refresh
|
|
# token over the REST endpoint; crdt-sync already pulls requests in, but this
|
|
# module imports it itself, so it is declared rather than assumed.
|
|
requests==2.34.2
|
|
ruff==0.16.10
|
|
types-requests==2.33.0.20261006
|
|
# Direct dependency since the Firebase session stream (_session_stream) catches
|
|
# urllib3's own errors on the long-lived SSE read; requests pulls it in, but
|
|
# the module imports it itself, so it is declared rather than assumed.
|
|
urllib3==2.8.0
|