Decide branch and storage foundation policy

This commit is contained in:
2026-05-14 10:13:14 -07:00
parent 455cefb933
commit 28d6c9626e
2 changed files with 18 additions and 8 deletions
+4 -4
View File
@@ -169,7 +169,7 @@ Remaining version 0.01 cleanup before moving deeper into new gameplay:
- [ ] Decide whether to keep current Unreal template variants or remove unused starter variants.
- [!] Create protected `main` branch. Blocked while the repo remains private on the current GitHub plan; GitHub API reports this requires GitHub Pro or making the repository public.
- [?] Decide whether to create/use a long-lived `dev` branch.
- [x] Decide whether to create/use a long-lived `dev` branch. Decision: do not use one yet; use `main` plus short-lived task branches until team size or release channels require a staging branch.
- [~] Finish branch naming and commit message conventions.
- [x] Define GitHub/LFS free-tier storage guardrails.
- [ ] Define backup expectations for NAS and repository.
@@ -193,7 +193,7 @@ Goal: Prepare the project so all future development is controlled, recoverable,
- [x] Ensure `Binaries/`, `Intermediate/`, `Saved/`, and `DerivedDataCache/` are excluded unless intentionally needed.
- [x] Commit clean baseline project.
- [!] Create protected `main` branch. Blocked while the repo remains private on the current GitHub plan; GitHub API reports this requires GitHub Pro or making the repository public.
- [?] Create `dev` branch if we want staging before main.
- [x] Create `dev` branch if we want staging before main. Decision: do not create a long-lived `dev` branch yet.
- [~] Define branch naming conventions.
- [~] Define commit message conventions.
- [x] Define GitHub/LFS free-tier storage guardrails.
@@ -1400,7 +1400,7 @@ Current version: `0.01 Foundation Baseline`
Earliest incomplete foundation items:
- [!] Create protected `main` branch. Blocked while the repo remains private on the current GitHub plan; GitHub API reports this requires GitHub Pro or making the repository public.
- [?] Decide whether to create/use a long-lived `dev` branch.
- [x] Decide whether to create/use a long-lived `dev` branch. Decision: no long-lived `dev` branch yet.
- [~] Finish branch naming conventions.
- [~] Finish commit message conventions.
- [x] Define GitHub/LFS free-tier storage guardrails.
@@ -1421,4 +1421,4 @@ Earliest incomplete foundation items:
Immediate next item:
- [?] Decide whether to create/use a long-lived `dev` branch.
- [~] Finish branch naming conventions.
+14 -4
View File
@@ -8,8 +8,16 @@ echo "Agrarian repository storage audit"
echo "Repository: $repo_root"
echo
echo "Working tree size:"
du -sh . 2>/dev/null || true
echo "Project directory sizes:"
du -sh .git Content Source Config Docs Scripts Data 2>/dev/null || true
if [ "${AGRARIAN_AUDIT_FULL_TREE:-0}" = "1" ]; then
echo
echo "Full working tree size:"
du -sh . 2>/dev/null || true
else
echo
echo "Full working tree size skipped. Set AGRARIAN_AUDIT_FULL_TREE=1 to include generated folders."
fi
echo
echo "Git object database:"
@@ -26,8 +34,10 @@ echo
if git lfs version >/dev/null 2>&1; then
echo "Largest Git LFS objects:"
largest_lfs="$(mktemp)"
git lfs ls-files -s | sed -E 's/^.*\\(([^)]*)\\)$/\\1 &/' | sort -hr > "$largest_lfs"
head -n 25 "$largest_lfs"
git lfs ls-files -s |
sed -E 's/^.*\(([0-9.]+) ([KMGT]?B)\)$/\1\2 &/' |
sort -hr > "$largest_lfs"
head -n 25 "$largest_lfs" | sed -E 's/^[0-9.]+[KMGT]?B //'
rm -f "$largest_lfs"
else
echo "Git LFS is not installed."