Add critical note about submodule push workflow
Some checks failed
BotServer CI / build (push) Failing after 21s
Some checks failed
BotServer CI / build (push) Failing after 21s
This commit is contained in:
parent
92f2c012f0
commit
b6f69951f4
1 changed files with 27 additions and 1 deletions
28
README.md
28
README.md
|
|
@ -1029,7 +1029,33 @@ cargo audit
|
||||||
- `ADDITIONAL-SUGGESTIONS.md` - Enhancement ideas
|
- `ADDITIONAL-SUGGESTIONS.md` - Enhancement ideas
|
||||||
- `TODO-*.md` - Task tracking files
|
- `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.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue