Skip to content

docs: update outdated versioning section in CONTRIBUTING - #1603

Merged
vbreuss merged 2 commits into
TestableIO:mainfrom
minilan677-netizen:docs/fix-typo-contributing-occured
Nov 28, 2026
Merged

vbreuss merged 2 commits into
TestableIO:mainfrom
minilan677-netizen:docs/fix-typo-contributing-occured

Conversation

@minilan677-netizen

@minilan677-netizen minilan677-netizen commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

What

Rewrites the outdated Versioning and Branches / tags sections of CONTRIBUTING.md (this started as a one-word typo fix in the same paragraph).

Why

The old text described Nerdbank.GitVersioning and a version.json base version, which the repo no longer uses. Versions now come from GitVersion and v* release tags, and only tag builds publish to nuget.org. New contributors were being told to bump a version file that doesn't exist.

Change

  • Versioning: explains that GitVersion computes the version from Git history and tags, that PRs don't need to touch any version number, and that releases are cut by pushing a vMAJOR.MINOR.PATCH tag (optionally with a pre-release suffix).
  • Branches / tags: main holds the latest sources. Each v* tag triggers the nuget.org deploy, and tags without a pre-release suffix also get a GitHub release.
  • Documentation only, no code or build-config changes.

Checks

  • Checked the new text against the current build pipeline and GitVersion setup on main.
  • git diff --check is clean.

This PR was created with AI assistance and reviewed for correctness before submitting.

Corrected "occured" to "occurred" in the versioning section of the
contributor guide. No other changes.
@mergify

mergify Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

This pull request is merged.

@vbreuss vbreuss left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While I appreciate the typo fix, the whole paragraph is out-of-date, as the version.json is no longer used for versioning, but instead uses tags for this.
Would you be willing to iterate on a fix of this paragraph instead?

@minilan677-netizen minilan677-netizen changed the title docs: fix typo in CONTRIBUTING ("occured") docs: update outdated versioning section in CONTRIBUTING Nov 21, 2026
@minilan677-netizen

Copy link
Copy Markdown
Contributor Author

Done, rewrote the Versioning and Branches / tags sections: versions now come from GitVersion and the v* release tags (no version.json), and only tag builds publish to nuget.org. Thanks for the review!

@vbreuss vbreuss left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the PR description, as it is now out-of-date.

@minilan677-netizen

Copy link
Copy Markdown
Contributor Author

Done, updated the PR description to match the rewritten sections. Thanks for the review!

@vbreuss
vbreuss enabled auto-merge (squash) November 26, 2026 11:41
@vbreuss
vbreuss disabled auto-merge November 26, 2026 17:51
@mergify

mergify Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

queue

⚠️ Configuration not compatible with required_status_checks ruleset rule

Details

The ruleset main requires branches to be up to date before merging (strict_required_status_checks_policy). The merge queue tests pull requests in a draft PR built on the latest base branch, then merges the original pull requests. Their own branches were not updated with that base branch, so GitHub considers them out of date and refuses to merge them.

To fix it, turn off Require branches to be up to date before merging in the ruleset main. It is safe to turn off: the merge queue already tests every pull request it merges on the latest base branch, together with the ones queued ahead of it. That is what this setting checks. Changing the setting needs admin access.

If you need to keep the setting:

  • Add Mergify as a bypass actor on the ruleset main, with exempt mode: the rule stays enforced for everyone else.
  • Use merge_method: fast-forward: the queue pushes the tested draft PR's branch to the base branch itself, which the setting does not refuse.
  • Use in-place checks: Mergify tests each pull request on its own branch, one at a time, which gives up parallel checks and batches. To do so, set merge_queue.max_parallel_checks: 1 and merge_queue.mode: serial, set every queue rule batch_size: 1 and max_checks_retries: 0, use a merge_method other than merge-batch, and avoid two-step CI (make merge_conditions identical to queue_conditions).

Learn more in the documentation.

@vbreuss
vbreuss merged commit d0838ca into TestableIO:main Nov 28, 2026
10 checks passed
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.

2 participants