From bbe7b92459eaa851eab3e0e71063b10414be1221 Mon Sep 17 00:00:00 2001 From: slaguru666 <111923774+slaguru666@users.noreply.github.com> Date: Mon, 31 Aug 2026 20:44:38 +0100 Subject: [PATCH] Stop tracking LevelDB's LOG; it churns on read, not on change MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit LOG is LevelDB's diagnostic text — "Delete type=3 #1" and compaction notes — and it is rewritten every time a pack is OPENED. Not rebuilt: opened. So all eighteen went dirty whenever anything merely read the compendia, Foundry and any verification script alike, and pack churn kept turning up in commits that had not touched any content. Verified disposable before ignoring rather than assumed: a copy of packs/npcs with LOG and LOG.old deleted opens cleanly, reads back all 21 actors, and LevelDB writes itself a fresh LOG on open. CURRENT and MANIFEST-* stay committed, deliberately. They are how a fresh clone finds the data, and ignoring them would ship compendia nobody can open. Co-Authored-By: Claude Opus 5 --- .gitignore | 16 +++++++++++++++- packs/armour/LOG | 1 - packs/expedition/LOG | 1 - packs/gear/LOG | 1 - packs/lastadmission/LOG | 1 - packs/npcs/LOG | 1 - packs/powers/LOG | 1 - packs/pregens/LOG | 1 - packs/primer/LOG | 1 - packs/prologue/LOG | 1 - packs/rules/LOG | 1 - packs/skills/LOG | 1 - packs/slice/LOG | 1 - packs/starter/LOG | 1 - packs/tables/LOG | 1 - packs/talents/LOG | 1 - packs/throughtrain/LOG | 1 - packs/vehicles/LOG | 1 - packs/weapons/LOG | 1 - 19 files changed, 15 insertions(+), 19 deletions(-) delete mode 100644 packs/armour/LOG delete mode 100644 packs/expedition/LOG delete mode 100644 packs/gear/LOG delete mode 100644 packs/lastadmission/LOG delete mode 100644 packs/npcs/LOG delete mode 100644 packs/powers/LOG delete mode 100644 packs/pregens/LOG delete mode 100644 packs/primer/LOG delete mode 100644 packs/prologue/LOG delete mode 100644 packs/rules/LOG delete mode 100644 packs/skills/LOG delete mode 100644 packs/slice/LOG delete mode 100644 packs/starter/LOG delete mode 100644 packs/tables/LOG delete mode 100644 packs/talents/LOG delete mode 100644 packs/throughtrain/LOG delete mode 100644 packs/vehicles/LOG delete mode 100644 packs/weapons/LOG diff --git a/.gitignore b/.gitignore index 4f732cf..193710e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,23 @@ # Restorable with `npm install` — the pack builder needs classic-level. node_modules/ -# LevelDB runtime locks. The pack DATA is committed on purpose (see README): +# LevelDB runtime scratch. The pack DATA is committed on purpose (see README): # a remote Foundry needs the built compendia, and building them requires Node. +# +# LOG is LevelDB's own diagnostic text — "Delete type=3 #1", compaction notes — and it +# is rewritten every time a pack is OPENED, not only when one is rebuilt. Tracking it +# meant all eighteen went dirty whenever anything merely READ the compendia, Foundry +# and any verification script included, which was most of the noise in git status here +# and the reason pack churn kept appearing in commits that had not touched content. +# +# Verified disposable before ignoring: a pack copy with LOG and LOG.old deleted opens +# correctly, reads back all its documents, and LevelDB writes a fresh LOG on open. +# +# CURRENT and MANIFEST-* are deliberately NOT in this list. They are how a fresh clone +# finds the data, and ignoring them would ship a compendium nobody can open. packs/*/LOCK +packs/*/LOG +packs/*/LOG.old # macOS .DS_Store diff --git a/packs/armour/LOG b/packs/armour/LOG deleted file mode 100644 index 7296f54..0000000 --- a/packs/armour/LOG +++ /dev/null @@ -1 +0,0 @@ -2026/08/31-20:33:27.753 73c4 Delete type=3 #1 diff --git a/packs/expedition/LOG b/packs/expedition/LOG deleted file mode 100644 index 729f538..0000000 --- a/packs/expedition/LOG +++ /dev/null @@ -1 +0,0 @@ -2026/08/31-20:33:28.407 6024 Delete type=3 #1 diff --git a/packs/gear/LOG b/packs/gear/LOG deleted file mode 100644 index 3e38b53..0000000 --- a/packs/gear/LOG +++ /dev/null @@ -1 +0,0 @@ -2026/08/31-20:33:27.781 6024 Delete type=3 #1 diff --git a/packs/lastadmission/LOG b/packs/lastadmission/LOG deleted file mode 100644 index 95af27d..0000000 --- a/packs/lastadmission/LOG +++ /dev/null @@ -1 +0,0 @@ -2026/08/31-20:33:28.193 73c4 Delete type=3 #1 diff --git a/packs/npcs/LOG b/packs/npcs/LOG deleted file mode 100644 index 5dd2758..0000000 --- a/packs/npcs/LOG +++ /dev/null @@ -1 +0,0 @@ -2026/08/31-20:33:27.992 70a0 Delete type=3 #1 diff --git a/packs/powers/LOG b/packs/powers/LOG deleted file mode 100644 index afa2509..0000000 --- a/packs/powers/LOG +++ /dev/null @@ -1 +0,0 @@ -2026/08/31-20:33:28.338 70a0 Delete type=3 #1 diff --git a/packs/pregens/LOG b/packs/pregens/LOG deleted file mode 100644 index 03d7563..0000000 --- a/packs/pregens/LOG +++ /dev/null @@ -1 +0,0 @@ -2026/08/31-20:33:27.904 6f80 Delete type=3 #1 diff --git a/packs/primer/LOG b/packs/primer/LOG deleted file mode 100644 index 5e25344..0000000 --- a/packs/primer/LOG +++ /dev/null @@ -1 +0,0 @@ -2026/08/31-20:33:28.285 70a0 Delete type=3 #1 diff --git a/packs/prologue/LOG b/packs/prologue/LOG deleted file mode 100644 index fb4528a..0000000 --- a/packs/prologue/LOG +++ /dev/null @@ -1 +0,0 @@ -2026/08/31-20:33:28.239 6024 Delete type=3 #1 diff --git a/packs/rules/LOG b/packs/rules/LOG deleted file mode 100644 index b933201..0000000 --- a/packs/rules/LOG +++ /dev/null @@ -1 +0,0 @@ -2026/08/31-20:33:28.371 6024 Delete type=3 #1 diff --git a/packs/skills/LOG b/packs/skills/LOG deleted file mode 100644 index b215608..0000000 --- a/packs/skills/LOG +++ /dev/null @@ -1 +0,0 @@ -2026/08/31-20:33:27.663 73c4 Delete type=3 #1 diff --git a/packs/slice/LOG b/packs/slice/LOG deleted file mode 100644 index 0c0dba4..0000000 --- a/packs/slice/LOG +++ /dev/null @@ -1 +0,0 @@ -2026/08/31-20:33:28.313 6024 Delete type=3 #1 diff --git a/packs/starter/LOG b/packs/starter/LOG deleted file mode 100644 index f2ef311..0000000 --- a/packs/starter/LOG +++ /dev/null @@ -1 +0,0 @@ -2026/08/31-20:33:28.081 6f80 Delete type=3 #1 diff --git a/packs/tables/LOG b/packs/tables/LOG deleted file mode 100644 index bc8e4e8..0000000 --- a/packs/tables/LOG +++ /dev/null @@ -1 +0,0 @@ -2026/08/31-20:33:28.035 6f80 Delete type=3 #1 diff --git a/packs/talents/LOG b/packs/talents/LOG deleted file mode 100644 index b50502c..0000000 --- a/packs/talents/LOG +++ /dev/null @@ -1 +0,0 @@ -2026/08/31-20:33:27.689 6024 Delete type=3 #1 diff --git a/packs/throughtrain/LOG b/packs/throughtrain/LOG deleted file mode 100644 index 833f5be..0000000 --- a/packs/throughtrain/LOG +++ /dev/null @@ -1 +0,0 @@ -2026/08/31-20:33:28.146 6f80 Delete type=3 #1 diff --git a/packs/vehicles/LOG b/packs/vehicles/LOG deleted file mode 100644 index 8706f08..0000000 --- a/packs/vehicles/LOG +++ /dev/null @@ -1 +0,0 @@ -2026/08/31-20:33:27.813 70a0 Delete type=3 #1 diff --git a/packs/weapons/LOG b/packs/weapons/LOG deleted file mode 100644 index 0cd7aac..0000000 --- a/packs/weapons/LOG +++ /dev/null @@ -1 +0,0 @@ -2026/08/31-20:33:27.714 6f80 Delete type=3 #1