IT 312 / SIAE-Commerce Project Guide
Your section

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.

  1. Branches: main holds releases; only the instructor merges into it. develop is the default branch; only the Platform group (and the instructor) merges into it. Groups work on feature/<module>-<short-task> branches, e.g. feature/cart-update-quantity.
  2. 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.
  3. Pull requests: every change reaches develop through 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.
  4. 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.
  5. CODEOWNERS: .github/CODEOWNERS maps 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.
  6. Issues: every graded Must item is already an issue, labelled must and group-N. The PR that finishes it says Closes #12.
  7. Docs in the same PR: a change to an interface, table or route updates the module README and its changelog in the same PR.
  8. Releases: at the day-10 checkpoint and the final demo, the Platform group tags develop (v0.1, then v1.0), writes release notes in CHANGELOG.md, and demos from a fresh clone. develop must pass php artisan migrate:fresh --seed and php artisan test before the tag.

Labels

must · stretch · contract-change · bug · group-N

Contributing guide