aorecomp

Anarchy Online classic in the browser

git clone https://aorecomp.ubeagle.com/code/aorecomp.git


commit 94e343759757dfa44a63b11878d344cc1b987b55
parent 974f598f23eed9aa782da7539ef7f4cc5642df1d
Author: anon <anon@example.com>
Date:   Sun, 18 Oct 2026 05:03:24 +0000

Document source-only browser handoff and history cleanup

Diffstat:
Mdocs/repository-packaging.md | 15+++++++++++++++
Mtools/client/publish_wasm.py | 2+-
2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/docs/repository-packaging.md b/docs/repository-packaging.md @@ -29,6 +29,21 @@ Keep this tag and the development commits when moving or hosting the repository. There is no configured Git remote at this checkpoint, so nothing has been pushed or made public. +## Compiled-client history cleanup + +The October 17 cleanup removed `client/` from all branch and tag histories and +from local snapshot trees. After pruning unreachable objects, `.git` decreased +from about 2.5 GiB to 990 MiB. Generated browser files remain available locally +but are ignored. Most remaining repository size is the runtime asset bundle +needed by a Go-only checkout. + +The source baseline's tree is unchanged: +`12a617b3fe4ade9d94f1798bf7dbc600e8a8cb18`. Git connectivity verification passed, +and no compiled browser bundle remains reachable in history. Commit identities +after the removed files' introduction changed; use the baseline tag for source +comparisons. Existing clones should be replaced with a fresh clone after saving +their local work, rather than merging the old history back into this repository. + ## Clone and run Clone the repository normally and copy the complete `client/` bundle from a diff --git a/tools/client/publish_wasm.py b/tools/client/publish_wasm.py @@ -14,7 +14,7 @@ destination.mkdir(exist_ok=True) staging = root / 'src/build/wasm/publish' staging.mkdir(exist_ok=True) -# Publish one matching JS/WASM pair; gzip keeps the binary small enough for Git. +# Publish one matching JS/WASM pair, compressed for transfer to browsers and laptops. for name in ['game.js', 'index.html', 'profile-worker.js']: shutil.copyfile(source / name, staging / name) with (source / 'game.wasm').open('rb') as input_file: