Skip to content

Document PR template requirement in CONTRIBUTING.rst - #841

Merged
webknjaz merged 1 commit into
cherrypy:mainfrom
julianz-:docs/contributing-pr-template
Sep 19, 2026
Merged

webknjaz merged 1 commit into
cherrypy:mainfrom
julianz-:docs/contributing-pr-template

Conversation

@julianz-

Copy link
Copy Markdown
Member

Neither CONTRIBUTING.rst nor guidelines.rst mentioned the PR template, so contributors, especially agent-driven ones using the API, often skip it. Add a note about it, and fix the stale link to CherryPy's contributing page.

What kind of change does this PR introduce?

  • 🐞 bug fix
  • 🐣 feature
  • 📋 docs update
  • 📋 tests/coverage improvement
  • 📋 refactoring
  • 💥 other

What do these changes do?

Documents the pull request template requirement in .github/CONTRIBUTING.rst,
which currently isn't mentioned anywhere in our contributing docs. Also adds a
note for contributors using automated or AI-assisted tools that submit PRs via
the GitHub API, since the template isn't shown to them the way it is through
the web UI. Replaces the stale link to CherryPy's generic contributing page
with cheroot's own contribution guidelines.

Are there changes in behavior for the user?

None — this only affects contributors opening PRs, not end users of cheroot.

Is it a substantial burden for the maintainers to support this?

No, it's a small documentation-only change with no ongoing maintenance cost.

Related issue number

None

Checklist

  • I wrote descriptive pull request text above
  • The PR relates to only one subject with a clear title
    and description in grammatically correct, complete sentences
  • I think the code is well written
  • Unit tests for the changes exist
  • Integration tests for the changes exist (if applicable)
  • I used the same coding conventions as the rest of the project
  • The new code doesn't generate linter offenses
  • Project documentation (in docs/) and inline docstrings reflect the changes
  • My commits each have a descriptive title and a body explaining the why
    (see [good commit messages])
  • I have added a [change log entry]
    (can be done once the PR number is known; alternatively, you can
    use a related issue number if one exists)
  • I'm planning to [squash related commits] together before final merge
  • I have read the [contribution guide] and the
    [code of conduct][CoC]

@psf-chronographer psf-chronographer Bot added the bot:chronographer:provided A mark meaning that a new change log entry is present within the patch. label Sep 18, 2026
@read-the-docs-community

read-the-docs-community Bot commented Sep 18, 2026

Copy link
Copy Markdown

@codecov

codecov Bot commented Sep 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.16%. Comparing base (edef8ff) to head (8dd6bc7).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #841      +/-   ##
==========================================
- Coverage   78.37%   78.16%   -0.21%     
==========================================
  Files          41       41              
  Lines        4791     4791              
  Branches      548      548              
==========================================
- Hits         3755     3745      -10     
- Misses        899      906       +7     
- Partials      137      140       +3     

Neither CONTRIBUTING.rst nor guidelines.rst mentioned the PR
template, so contributors, especially agent-driven ones using
the API, often skip it. Add a note about it, and fix the stale
link to CherryPy's contributing page.
@julianz-
julianz- force-pushed the docs/contributing-pr-template branch from 8d9a789 to 8dd6bc7 Compare September 18, 2026 20:44
Comment thread .github/CONTRIBUTING.rst

Also
^^^^
See `Contributing <https://docs.cherrypy.dev/en/latest/contribute.html>`_ in

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.

Ideally, it'd be nice to still have a copy in one place, but I guess it's fine for now.

Comment thread .github/CONTRIBUTING.rst
If you're submitting this PR through an automated or AI-assisted tool
that posts directly via the GitHub API, the pull request template
isn't shown to you automatically the way it would be through the
GitHub web UI. Fetch ``.github/PULL_REQUEST_TEMPLATE.md`` directly

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.

RST has :file: roles FTR

Suggested change
GitHub web UI. Fetch ``.github/PULL_REQUEST_TEMPLATE.md`` directly
GitHub web UI. Fetch :file:`.github/PULL_REQUEST_TEMPLATE.md` directly

Comment thread .github/CONTRIBUTING.rst
checklist reviewers expect to be addressed (tests, a ``changelog``
entry, etc.). PRs that skip it may be closed without review.

If you're submitting this PR through an automated or AI-assisted tool

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.

Agents are unlikely to read these instructions w/o them being included into an AGENTS.md file but it's fine for now.

@webknjaz
webknjaz merged commit 407c6dc into cherrypy:main Sep 19, 2026
49 of 83 checks passed
@julianz-
julianz- deleted the docs/contributing-pr-template branch September 19, 2026 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:chronographer:provided A mark meaning that a new change log entry is present within the patch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants