Skip to content

Improve the "Making Good PRs" section #931

Description

@erlend-aasland

I often see PRs with misleading or vague titles. This is problematic, as the PR titles often end up being the commit titles, and commit titles are one of the most important tools we have when searching for historic changes. Bad titles impact maintainability.

Suggested edits:

  • Enforce a strict title format
  • Promote writing accurate and concise PR titles/descriptions

Perhaps the "Making Good PRs" section can be further promoted. Would it make sense to extract it and move it a level up in the doc hierarchy?

Activity

  1. abdnafees commented on Nov 19, 2022

    @abdnafees
    Contributor

    As a budding open-source contributor and extremely excited to start contributing to my favorite language, I agree with your suggestion, especially for new devs eager to contribute. For example, when creating my first PR, I had to go through the previous closed PRs to gauge the format and structure of the title, branch name, and commit message itself. A format for PRs won't hurt the dev workflow.

  2. added
    type-bugEditing of existing content needed
    type-featureAdditions; New content or section needed
    and removed
    type-featureAdditions; New content or section needed
    on Oct 11, 2023
  3. erlend-aasland commented on Jul 1, 2024

    @erlend-aasland
    ContributorAuthor

    Related: add a note regarding how to write good commit message. For example, we try to avoid the overly verbose default squash merge message GitHub provides, especially for long-lived branches with lots of commits. See also python/cpython#120984 (comment)

  4. kasujjabash commented on Oct 10, 2024

    @kasujjabash

    hey I would love to work on this issue if you don't mind, thanks

  5. erlend-aasland commented on Oct 11, 2024

    @erlend-aasland
    ContributorAuthor

    hey I would love to work on this issue if you don't mind, thanks

    Great; feel free to propose a PR updating the devguide :)

  6. kasujjabash commented on Oct 12, 2024

    @kasujjabash
  7. kasujjabash commented on Oct 14, 2024

    @kasujjabash

    Well, I need some help with resolving this issue. Based on what @erlend-aasland explained, I’d like to know specifically what I need to do, as this is my first time contributing to open source.

    Thank you

  8. erlend-aasland commented on Oct 14, 2024

    @erlend-aasland
    ContributorAuthor

    Well, I need some help with resolving this issue. Based on what @erlend-aasland explained, I’d like to know specifically what I need to do, as this is my first time contributing to open source.

    See the OP for what needs to be done.

    The Making good PRs section can be found starting around line 189 in the file getting-started/pull-request-lifecycle.rst of the devguide repo.

  9. swastim01 commented on Feb 9, 2025

    @swastim01

    Hi everyone,

    I noticed that this issue hasn't been resolved yet, and I'd love to work on it. I'll start looking into it and provide updates as I make progress. Please let me know if there are any specific guidelines or things I should keep in mind.

    Looking forward to contributing!

    Thanks,
    Swasti

  10. swastim01 commented on Feb 9, 2025

    @swastim01

    Hi all,
    I created a pull request for this issue with relevant changes. Your feedback would be appreciated.

    Thanks,
    Swasti.

  11. added a commit that references this issue on Feb 24, 2025
  12. gioviebell commented on Aug 7, 2025

    @gioviebell

    Hello! I noticed the previous claim, but it appears that this issue is still open. Am I able to claim this, or is it resolved? Thank you!

  13. AA-Turner commented on Aug 7, 2025

    @AA-Turner
    Member

    There's an open PR (#1510), but there's been no feedback from the author for a while and the CLA is unsigned. You're welcome to open a new PR, but I would suggest starting with a smaller one as it is more likely to be approved/merged, you can then continue to make improvements in follow-ups.

    A

  14. gioviebell commented on Aug 8, 2025

    @gioviebell

    I appreciate the feedback! I would like to claim it then please! I will submit a shorter PR first!

  15. gioviebell commented on Aug 9, 2025

    @gioviebell

    Regarding the noted comment about the commit message details, it looks like there is already a blurb about creating a good commit message. Would you still like me to add anything to that?

  16. added a commit that references this issue on Aug 10, 2025
  17. decoded15 commented on Jan 3, 2026

    @decoded15

    Hi, I’m new to contributing to Python projects.
    I’d like to work on this issue if it’s available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueNew contributorstype-bugEditing of existing content neededtype-featureAdditions; New content or section needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions