Merge standard/policy/recommendation for the pytest repository #12633
-
Hi folks, I don't think we have ever explicitly discussed which strategy to use when merging PRs into the pytest repository, we have been throwing comments here and there with personal preferences but never managed to come up with a policy or recommendation regarding that. I think PR commit history in pytest can be divided in:
IMHO having a readable commit history is the most important thing. Often I use So I would vote for these strategies for each type of commit history:
I think it would be interesting for us to reach a common ground here, and even mention this somewhere in the contribution docs to have an official standing regarding this subject. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
I do care about history too. In fact, I usually teach advanced Git to my mentees because I believe it's that important. P.S. It'd be good to also make a policy of making PRs from forks so that temporary upstream branches don't pollute other people's forks. |
Beta Was this translation helpful? Give feedback.
-
I like the concept of having a decision tree Some contributions are better squashed,others are best elaborated Also communication for engaging a contributor is necessary. I agree with the rough sentiment and wonder if there's a 3rd part system that formally specifies it,so we can refer to it |
Beta Was this translation helpful? Give feedback.
-
Folks, Thanks for everyone who answered, seems like the majority agree with the examples e resolution suggested in the post. If nobody objects/would like to comment, I will add a section to CONTRIBUTING.rst documenting that sometime next week. |
Beta Was this translation helpful? Give feedback.
Folks,
Thanks for everyone who answered, seems like the majority agree with the examples e resolution suggested in the post.
If nobody objects/would like to comment, I will add a section to CONTRIBUTING.rst documenting that sometime next week.