From b6f69951f4dd40a78f3a2a10b35c73e1aae5a69b Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Thu, 5 Feb 2026 18:27:00 -0300 Subject: [PATCH] Add critical note about submodule push workflow --- README.md | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5b48b86..812695c 100644 --- a/README.md +++ b/README.md @@ -1029,7 +1029,33 @@ cargo audit - `ADDITIONAL-SUGGESTIONS.md` - Enhancement ideas - `TODO-*.md` - Task tracking files -Subprojects (botapp, botserver, etc.) are **not** git submodules - they are independent repositories. +Subprojects (botapp, botserver, botui, etc.) are **independent repositories referenced as git submodules**. + +### ⚠️ CRITICAL: Submodule Push Workflow + +When making changes to any submodule (botserver, botui, botlib, etc.): + +1. **Commit and push changes within the submodule directory:** + ```bash + cd botserver + git add . + git commit -m "Your changes" + git push pragmatismo main + git push github main + ``` + +2. **Update the global gb repository submodule reference:** + ```bash + cd .. # Back to gb root + git add botserver + git commit -m "Update botserver submodule to latest commit" + git push pragmatismo main + git push github main + ``` + +**Failure to push the global gb repository will cause submodule changes to not trigger CI/CD pipelines.** + +Both repositories must be pushed for changes to take effect in production. ---