Files
proxmox/docs/04-configuration/AS4_411_PHOENIX_SUBMODULE_AND_PUSH_ALL.md
defiQUG bea1903ac9
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
Sync all local changes: docs, config, scripts, submodule refs, verification evidence
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-21 15:46:06 -08:00

2.7 KiB

as4-411 as Phoenix (Sankofa) Submodule + Push All Projects to Gitea

Last Updated: 2026-02-08
Purpose: Add as4-411 as a deployable LogicApps-like solution in the Sankofa Marketplace (Phoenix) and push all projects from ~/projects to Gitea.


Done in repo

  1. as4-411 at /home/intlc/projects/as4-411 is now a git repo with an initial commit: "Initial commit: AS4/411 directory and discovery service for Sankofa Marketplace".
  2. push-all-projects-to-gitea.sh — Creates Gitea repos (if missing) and pushes every direct child of PROJECTS_DIR (default ~/projects) that has a .git directory. Dry-run works without GITEA_TOKEN.
  3. add-as4-411-submodule-to-sankofa.sh — Adds as4-411 as submodule at marketplace/as4-411 in the Sankofa repo (Phoenix). Run after as4-411 has been pushed to Gitea.

Run order (requires GITEA_TOKEN)

From the proxmox repo root:

# 1. Push all projects (creates missing Gitea repos, then pushes each)
GITEA_TOKEN='<your-token>' bash scripts/dev-vm/push-all-projects-to-gitea.sh

# 2. Add as4-411 as submodule in Sankofa (Phoenix)
bash scripts/dev-vm/add-as4-411-submodule-to-sankofa.sh

# 3. In Sankofa: commit the submodule
cd ~/projects/Sankofa && git add .gitmodules marketplace/as4-411 && git commit -m "Add as4-411 as marketplace submodule (LogicApps-like deployable)"

Optional: put GITEA_TOKEN=... in the proxmox root .env so you can run bash scripts/dev-vm/push-all-projects-to-gitea.sh without exporting.


Push failures and fixes

  • loc_az_hci — Had no commits. Fixed: added smom-dbis-138/ to .gitignore (nested repo), created initial commit, pushed to Gitea.
  • js — Fails with HTTP 413 (push too large; ~1.1GB .git). Fix on Gitea server: increase HTTP_MAX_REQUEST_BODY in Gitea app.ini and/or client_max_body_size in Nginx. See GITEA_LARGE_PUSH_HTTP_413.md.

Discovered repos (dry-run)

Running bash scripts/dev-vm/push-all-projects-to-gitea.sh --dry-run reports 22 repos under ~/projects, including:

  • as4-411, Sankofa, proxmox, smom-dbis-138, dbis_core, miracles_in_motion, the_order, and 15 others (CurrenciCombo, NYSM-NYD, asle, brazil-swift-ops, dbis-thirdweb, dbis_docs, gru_emoney_token-factory, impersonator, js, loc_az_hci, metaverseDubai, no_five, smoa, stinkin_badges, xom_multi-layer_banking).

References

  • CONTINUE_AND_COMPLETE.md (archived) — Push-all and submodule steps in the main checklist
  • NEXT_STEPS_ALL.md — Quick command index
  • Sankofa marketplace: docs/marketplace/sovereign-stack/, portal.sankofa.nexus/marketplace