Skip to content

chore(repo): #415 untrack 10.5MB 2sxc install module + gitignore - #501

Merged
jsboige merged 1 commit into
masterfrom
chore/415-untrack-2sxc-install-module
Jun 16, 2026
Merged

chore(repo): #415 untrack 10.5MB 2sxc install module + gitignore#501
jsboige merged 1 commit into
masterfrom
chore/415-untrack-2sxc-install-module

Conversation

@jsboige

@jsboige jsboige commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

What & why

Phase-1 #415 repo-slimming quick-win. The prior #415 scoping pass added a .gitignore "# Phase 1 — #415" section covering Published/, Portals/*/Downloads, ExtensionPackages, and Mindmapper SVGs — but missed the ToSic 2sxc module installer zip, which remained tracked + unignored:

  • DNNPlatform/Install/Module/ToSic.Sxc.Dnn.21.07.00_Install.zip10,990,164 bytes (~10.5 MB), a re-downloadable vendored CMS module installer binary, not source.

Change (output-neutral repo hygiene)

  1. git rm --cached the zip — removed from the index only; the file stays on disk (10.5 MB unchanged). It will no longer bloat the repo or clones.
  2. Added ONE .gitignore line under the existing chore(repo): réduire le poids du dépôt (.git 2,2 GB) — binaires de build commités dans l'historique #415 section:
    # DNN module installers (re-downloadable ToSic 2sxc install zips — keep PlaceHolder.txt)
    DNNPlatform/Install/Module/*.zip
    
    Covers the current file + any future version bump, and keeps PlaceHolder.txt (not a .zip) tracked.

Verification

  • git check-ignore -v matches the zip via the new pattern (.gitignore:254). ✅
  • Status clean: staged deletion (D) + .gitignore modification (M); the zip no longer shows as untracked. ✅
  • PlaceHolder.txt still tracked. ✅
  • File still on disk (10.5 MB). ✅

Scope

Dispatch primaire #415 (ai-01 deep-queue, base master 50247b77).

🤖 Worker po-2024

The ToSic 2sxc CMS module installer zip
(ToSic.Sxc.Dnn.21.07.00_Install.zip, 10.5 MB) was tracked in git — a
re-downloadable vendored binary, not source. This is the remnant the Phase-1
#415 scoping identified as still tracked + unignored: the prior scoping pass
added a "# Phase 1 — #415" section to .gitignore covering Published/,
Portals/*/Downloads, ExtensionPackages, and Mindmapper SVGs, but missed this
Install/Module zip.

Untracked it (git rm --cached — the file stays on disk, only removed from the
index) and added a .gitignore line DNNPlatform/Install/Module/*.zip under the
existing #415 section so it (and any future version bump) is not re-added.
PlaceHolder.txt in the same dir is kept (not a .zip).

No history rewrite (stays jsboige's call per #415). Output-neutral repo
hygiene: the working-tree file is unchanged, only its tracked status.

Dispatch primaire #415 (po-2024, ai-01 deep-queue).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@clusterManager-Myia

Copy link
Copy Markdown
Collaborator

[NanoClaw]

chore(repo): untrack 10.5MB ToSic 2sxc install zip + gitignore.

Adds DNNPlatform/Install/Module/*.zip to gitignore. The zip is a re-downloadable installer module (PlaceHolder.txt retained). Clean housekeeping.

LGTM.

@jsboige
jsboige merged commit ff03147 into master Jun 16, 2026
3 checks passed
@jsboige
jsboige deleted the chore/415-untrack-2sxc-install-module branch June 16, 2026 17:09
jsboige added a commit that referenced this pull request Jul 1, 2026
…ase 2 jsboige-gated (#621)

Idle of ai-01 deep-queue supersede (msg-...370u0q): #415 .git weight
analysis. Read-only audit + reproducible tool. 0 write Cards/.

Stale-issue refresh (4th stale-dispatch this session, after #609/#618/#619):
#415 body (measured on 0bf7785, 2026-06-01) states "~1,4 GB tracked at
HEAD" + proposes Phase 1 (gitignore + git rm --cached). Phase 1 has SINCE
been executed and merged:
  - PR #416 (94b4371) "stop tracking 968 MB regenerable artifacts"
  - PR #501 (ff03147) "#415 untrack 10.5 MB 2sxc install module"

Audit on master 18b4d02 (tools/git-weight-audit.py, reproducible):
  - size-pack = 2.05 GiB (matches issue; Phase 1 doesn't reduce pack).
  - Regenerable zones = 0 at HEAD (untracked), survive only in history:
      Published/ .NET builds 1.2 GB (42 paths)
      DNN Downloads zips     206 MB (12)
      2sxc/DNN .resources    152 MB (197)
  -> Phase 1 is CLOSED. The 2 GB is 100% historical.

Phase 2 (filter-repo) = the ONLY remaining weight-reducer (~1.5-1.6 GB
reclaimable -> <200 MB clone). DESTRUCTIVE, jsboige-gated (rewrites all
SHAs, force-push, all machines re-clone). Not autonomous.

Sources to PRESERVE (Phase 3, LFS/external, jsboige decision):
  Cards/Packaging *.ai/pdf/svg 97 MB, Sketch .sketch 45 MB, card PNG 76 MB.

Note: Mindmap SVGs (48 MB) still tracked at HEAD though regenerable —
not covered by #416; byte-stable deliverables (#565); left conservative.

Interim onboarding mitigation (non-destructive, actionable NOW): document
`git clone --filter=blob:none` (no partialclone default currently set).
This is the one concrete release-safe action recommended.

Scope: tools/git-weight-audit.py + docs/repo/415-git-weight-audit.md only.
0 write Cards/, 0 AssetConverter code change. Base 18b4d02.

Relates to #415, #416, #501, #134.

Co-authored-by: Your <your.email@example.com>
Co-authored-by: Claude-Code <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants