mirror of
https://github.com/rehan-remade/universal-modder.git
synced 2026-11-05 01:37:40 +00:00
[PR #25] [MERGED] Fix backup on pre-1980 files, add record --pid #66
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rehan-remade/universal-modder#66
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rehan-remade/universal-modder/pull/25
Author: @landon4dr
Created: 10/3/2026
Status: ✅ Merged
Merged: 10/4/2026
Merged by: @rehan-remade
Base:
main← Head:fix/windows-backup-record-pid-kb-fork📝 Commits (1)
957ad44Fix backup on pre-1980 files, add record --pid📊 Changes
3 files changed (+22 additions, -6 deletions)
View changed files
📝
tests/test_um.py(+14 -1)📝
um/backup.py(+2 -1)📝
um/win.py(+6 -4)📄 Description
What: three small tool fixes found while modding Minecraft (NeoForge 1.21.1) on Windows with the toolkit. The field note for that session is #24.
um backup createcrashed on pre-1980 timestamps. Snapshotting%APPDATA%\.minecraftfailed withValueError: ZIP does not support timestamps before 1980, caused by files in the launcher'swebcache2/CertificateRevocation. It also left a half-written zip that brokeum backup list. Fix:ZipFile(..., strict_timestamps=False), which clamps the dates to 1980. Addstest_backup_handles_pre_1980_timestamps, which fails without the fix and passes with it.um win recordrecorded no audio with--titleor--hwnd. The audio PID only came from--exe, and--exe java.exeis ambiguous when another Java app is open. Adds--pid.um kb prfailed from a fork.gh pr create --head <branch>givesHead ref must be a branchfor cross-repo PRs. It now passes<login>:<branch>when it pushed to the fork remote.Not fixed, for a follow-up:
um win setupinstalls ffmpeg to%LOCALAPPDATA%\universal-modder\ffmpeg\bin, butum videoonly looks forffmpegon PATH.Checklist
pytest -q tests: 19 passed, 1 skipped. 3 failures (test_publish_check,test_repo_knowledge_is_valid,test_kb_new_check_search) also fail on unmodifiedmainon this Windows machine (Python 3.14, nouv), so they're pre-existing and not caused by this PR..minecraftsnapshot;--pidby a real recording with game audio; kb fork head by opening #24🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.