Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the "Making Good PRs" section #931

Open
erlend-aasland opened this issue Aug 8, 2022 · 7 comments
Open

Improve the "Making Good PRs" section #931

erlend-aasland opened this issue Aug 8, 2022 · 7 comments
Labels
enhancement good first issue New contributors guide-edits Editing of doc or content needed

Comments

@erlend-aasland
Copy link
Contributor

erlend-aasland commented Aug 8, 2022

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?

@abdnafees
Copy link
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.

@willingc willingc added guide-edits Editing of doc or content needed enhancement and removed enhancement labels Oct 11, 2023
@erlend-aasland erlend-aasland added the good first issue New contributors label Jun 10, 2024
@erlend-aasland
Copy link
Contributor Author

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)

@kasujjabash
Copy link

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

@erlend-aasland
Copy link
Contributor Author

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 :)

@kasujjabash
Copy link

kasujjabash commented Oct 12, 2024 via email

@kasujjabash
Copy link

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

@erlend-aasland
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement good first issue New contributors guide-edits Editing of doc or content needed
Projects
None yet
Development

No branches or pull requests

4 participants