Skip to content

docs: take a contributor from a fork to a merged pull request, and shape the template like the merged ones - #322

Merged
goldbarth merged 1 commit into
mainfrom
docs/contributing
Oct 1, 2026
Merged

goldbarth merged 1 commit into
mainfrom
docs/contributing

Conversation

@goldbarth

Copy link
Copy Markdown
Owner

Follows #316 and #318, after which CONTRIBUTING can link the testing page and the ADR index instead of explaining either.

  • Why: CONTRIBUTING told a contributor to clone goldbarth/chartula as "your fork", had no word on branches, review or how a merge closes an issue, did not say that a pull request's title and description become Chartula's own release notes, listed types without saying which ones reach a release, and asked for a PR description ("what and why") unlike any that has been merged. The template asked for a type checkbox and a checklist none of the merged pull requests fill in.
  • From a fork to a merged pull request in six steps: fork and upstream, a branch named after type and topic (as the 40 last merged branches are), commit, open, review, merge. The merge step says what the repository is set to do: squash, with the PR title as the commit title and the description as the message, so Closes #123 in the description closes the issue and stays in the history.
  • "Your pull request is Chartula's input": the title is the line a release names the change by, its type decides whether it appears, and the description is what the model reads, so it can reach a published note. Links writing-pull-requests.md instead of repeating it.
  • Setup: the exact SDK with an install command, and lock files: what rewrites them, that they are committed with the change, and the locked restore CI runs, as a command to check before pushing.
  • Build, test and format as the three commands CI runs, a single test with --filter, and the hook; the rest links testing.md.
  • Trying the CLI on a repository: where the binary is, what preview, generate --no-publish and generate cost or change, and the local stub for the model path.
  • Types with a column "In the release notes", worked out from the category table and this repository's chartula.yaml: refactor and docs appear only with visibility:user-facing, test, build, ci, chore and style are dropped as internal, revert appears unless its target is in the same release. Scopes are the folders, as before.
  • The pull request describes the shape the merged ones share (the Closes or Follows line, a bullet per decision with its reason, a bold verification section, a Tests: line) with a shortened fix(cli): refuse an option a command does not take, and honour --help after a command #301 as the example, and keeps the short list of checks before opening.
  • Writing documentation gives the rules the pages follow, from the documentation plan, so a docs contribution needs no other source.
  • The template has the same four parts with comments that say what goes in each, and drops the type checkboxes and the checklist.

Verified:

  • The merge settings from the repository API (squash_merge_commit_title: PR_TITLE, squash_merge_commit_message: PR_BODY), and that the last 20 commits on main are squash merges.
  • The CI commands against .github/workflows/ci.yml; dotnet restore Chartula.slnx --locked-mode passes on this branch.
  • The type column against what-goes-into-a-release.md (categories, what is dropped, who can meet a change, reverts) and GroundedFactsFactory.Reaches.
  • The example against fix(cli): refuse an option a command does not take, and honour --help after a command #301's description; branch names against the head branches of the last 40 merged pull requests.
  • Every relative link and anchor in all Markdown files of the repository resolves (script, with a negative test).

Tests: none, documentation only.

@goldbarth goldbarth self-assigned this Oct 1, 2026
@goldbarth
goldbarth merged commit 4efb341 into main Oct 1, 2026
4 checks passed
@goldbarth
goldbarth deleted the docs/contributing branch October 1, 2026 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant