[PR #907] [MERGED] docs: document staging as the active development branch #4833

Closed
opened 2026-10-22 04:11:02 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/907
Author: @Romuromylus
Created: 5/16/2026
Status: ✅ Merged
Merged: 5/16/2026
Merged by: @Romuromylus

Base: staging ← Head: docs/staging-branch-notes


📝 Commits (1)

  • cd77727 docs: document staging as the active development branch

📊 Changes

4 files changed (+26 additions, -1 deletions)

View changed files

📝 .github/pull_request_template.md (+4 -0)
📝 AGENTS.md (+1 -1)
📝 CLAUDE.md (+1 -0)
📝 CONTRIBUTING.md (+20 -0)

📄 Description

Linked issue

No linked issue — docs-only clarification.

Why this change

staging is the active development branch, but the contributor docs don't say so anywhere a new contributor would notice. CONTRIBUTING.md's setup block just clones the repo (which lands on main, the release branch), and the PR template doesn't mention that the GitHub UI defaults the base to main. The result is that new contributors keep filing PRs against main and have to be re-pointed.

The only place the staging-first rule appeared was AGENTS.md, which most contributors don't read.

What changed

  • CONTRIBUTING.md
    • Added a new Branches section explaining main (release) vs staging (active dev) and the rules for targeting them.
    • Added a git checkout staging step to the typical local setup block and a callout pointing readers at the new section.
    • Added a top-of-list bullet to Pull Request Expectations reminding contributors to change the base to staging.
  • CLAUDE.md — brought to parity with AGENTS.md by adding the same staging-first caution bullet. Both bullets now cross-reference CONTRIBUTING.md § Branches so the rule has one source of truth.
  • .github/pull_request_template.md — prepended a 3-line HTML comment at the very top reminding contributors that the default base in the UI is main and to switch it to staging before submitting.

Installation guides (docs/installation/*.md) were intentionally left alone — they correctly track main for end-user updates since releases are cut from main.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Read the rendered CONTRIBUTING.md Branches section on the PR's Files Changed tab and confirm the table + bullet wording reads correctly.
  • Skim CLAUDE.md and AGENTS.md to confirm both staging-first bullets are consistent and both link to CONTRIBUTING.md § Branches.
  • Open the PR template preview (when filing any future PR) and confirm the new top-of-template comment renders correctly and is not visible in the final PR body.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/907 **Author:** [@Romuromylus](https://github.com/Romuromylus) **Created:** 5/16/2026 **Status:** ✅ Merged **Merged:** 5/16/2026 **Merged by:** [@Romuromylus](https://github.com/Romuromylus) **Base:** `staging` ← **Head:** `docs/staging-branch-notes` --- ### 📝 Commits (1) - [`cd77727`](https://github.com/Pasta-Devs/Marinara-Engine/commit/cd77727ab748c000667ce18f76bc9edbbe2d4275) docs: document staging as the active development branch ### 📊 Changes **4 files changed** (+26 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `.github/pull_request_template.md` (+4 -0) 📝 `AGENTS.md` (+1 -1) 📝 `CLAUDE.md` (+1 -0) 📝 `CONTRIBUTING.md` (+20 -0) </details> ### 📄 Description ## Linked issue No linked issue — docs-only clarification. ## Why this change `staging` is the active development branch, but the contributor docs don't say so anywhere a new contributor would notice. `CONTRIBUTING.md`'s setup block just clones the repo (which lands on `main`, the release branch), and the PR template doesn't mention that the GitHub UI defaults the base to `main`. The result is that new contributors keep filing PRs against `main` and have to be re-pointed. The only place the staging-first rule appeared was `AGENTS.md`, which most contributors don't read. ## What changed - `CONTRIBUTING.md` - Added a new **Branches** section explaining `main` (release) vs `staging` (active dev) and the rules for targeting them. - Added a `git checkout staging` step to the typical local setup block and a callout pointing readers at the new section. - Added a top-of-list bullet to **Pull Request Expectations** reminding contributors to change the base to `staging`. - `CLAUDE.md` — brought to parity with `AGENTS.md` by adding the same staging-first caution bullet. Both bullets now cross-reference `CONTRIBUTING.md § Branches` so the rule has one source of truth. - `.github/pull_request_template.md` — prepended a 3-line HTML comment at the very top reminding contributors that the default base in the UI is `main` and to switch it to `staging` before submitting. Installation guides (`docs/installation/*.md`) were intentionally left alone — they correctly track `main` for end-user updates since releases are cut from `main`. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Read the rendered `CONTRIBUTING.md` Branches section on the PR's Files Changed tab and confirm the table + bullet wording reads correctly. - Skim `CLAUDE.md` and `AGENTS.md` to confirm both staging-first bullets are consistent and both link to `CONTRIBUTING.md § Branches`. - Open the PR template preview (when filing any future PR) and confirm the new top-of-template comment renders correctly and is not visible in the final PR body. ## Docs and release impact - [ ] No docs changes needed - [x] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:11:02 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#4833
No description provided.