mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 17:26:22 +03:00
[GH-ISSUE #542] Consider changing pull request practices with relevant GitHub features in mind #2292
Labels
No labels
bug
enhancement
enhancement
enhancement
fixed in next
fixed in next
fixed in next
new rule
new rule
new rule
pull-request
question
refactoring
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/markdownlint#2292
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Piedone on GitHub (Jul 29, 2022).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/542
The contribution guidelines require two things that I find quite unique:
It's your project and your rules which I respect, of course. Just you might not be aware, that both of these (as well as the period-enforcing rule for commit messages) can be achieved easily by utilizing the below GitHub features, and thus not requiring the contributor to do anything specific, hence potentially lowering the barrier of entry (especially that you don't have to get things right the first time this way):
next, regardless of how many the contributor added in their fork. Allowing multiple commits under a PR also doesn't necessitate the contributor to continuously rewrite history when addressing PR feedback with new changes. Furthermore, the reviewer will be able to see changes since their last review easily (also using the GitHub feature for this).@DavidAnson commented on GitHub (Jul 29, 2022):
Thanks for the suggestions! Regarding having a single commit, that is how I would prefer it, though I regularly squash commits as you suggest. The same goes for the format of the commit message; I will update it if it doesn't look right. That said, I would rather not have to do these things as a maintainer; it's a distraction from reviewing the change itself. There are times it would be quicker for me to make a change myself then to fix up a proposed commit, etc.. I do it to encourage a healthy open-source ecosystem, but it's not ideal. Regarding including the issue number in the commit message, I find that most convenient when scanning "git log" output. I know there are PR gates that enforce things like this, but I've contributed to projects where I spent more time editing the commit message that I did making the code fix! This project's current trade-offs of asking but not requiring have worked reasonably well for me so far.
@Piedone commented on GitHub (Jul 31, 2022):
Understandable, thanks for explaining.