Git and documentation rules
Git history is the evidence of who built what. Every rule below exists so the instructor can trace each line of code to a group and a person.
- Branches:
mainholds releases; only the instructor merges into it.developis the default branch; only the Platform group (and the instructor) merges into it. Groups work onfeature/<module>-<short-task>branches, e.g.feature/cart-update-quantity. - Commits: each member commits under their own GitHub account. Message format:
[Module] Short description, e.g.[Cart] Add quantity update to cart. One member committing for the whole group is not accepted. - Pull requests: every change reaches
developthrough a PR. Merge needs three things: CI passing, approval from the group that owns the changed folder, and the Platform group's review. A PR that touches another group's folder or a contract also needs that group's approval. - Review deadline: the Platform group approves or rejects each PR within 24 hours, with a written reason for every rejection. The Platform group's own PRs are reviewed by the instructor.
- CODEOWNERS:
.github/CODEOWNERSmaps each module folder to its group's GitHub team (e.g.ba3101-group-5).app/Contracts, core migrations and the layout belong to the instructor. - Issues: every graded Must item is already an issue, labelled
mustandgroup-N. The PR that finishes it saysCloses #12. - Docs in the same PR: a change to an interface, table or route updates the module README and its changelog in the same PR.
- Releases: at the day-10 checkpoint and the final demo, the Platform group tags
develop(v0.1, thenv1.0), writes release notes inCHANGELOG.md, and demos from a fresh clone.developmust passphp artisan migrate:fresh --seedandphp artisan testbefore the tag.
Labels
must · stretch · contract-change · bug · group-N