-
Notifications
You must be signed in to change notification settings - Fork 282
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
add PULL_REQUEST_TEMPLATE file to the project #791
add PULL_REQUEST_TEMPLATE file to the project #791
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @vbence86, thanks for starting this!
Seeing as this would be the content you'd see when starting a PR from the GitHub interface, I think having both the explanation and example is a bit redundant. People will be forced to remove a lot of unnecessary content. We probably should have one or the other.
I also like these examples with prerequisites
and checklist
Finally, one pattern I've seen and I liked was putting these templates inside a .github
folder, so its clearly marked as a github meta-file rather than source code.
@zenorocha, what do you think about this? do we have some other template we should use as a starting point? do we want to converge on something?
PULL_REQUEST_TEMPLATE.md
Outdated
@@ -0,0 +1,36 @@ | |||
Please employ to following template as the base structure of Pull Requests for **Alloy-Editor** project. Pull Requests not incorporating the sections below will be reqarded as unsatisfying and rejected. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Project name should be AlloyEditor
(or liferay/alloy-editor
if we want to refer to the github repo).
Possible typo re**q**arded
-> re**g**arded
PULL_REQUEST_TEMPLATE.md
Outdated
Please employ to following template as the base structure of Pull Requests for **Alloy-Editor** project. Pull Requests not incorporating the sections below will be reqarded as unsatisfying and rejected. | ||
|
||
## Prelude | ||
Preliminary history of the issue related this very Pull Request. Share any information that could ease the understanding of why this issue exists and what measures have been administered to address it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe missing to connector? -> history of the issue related **to** this very Pull Request
@jbalsas Many thanks your suggestions, they are all welcomed. I'm now addressing all your concerns. Example sectionActually I'd been under the same impression, but I thought I'd leave it there for further considerations, but your remark reassured me that it is indeed redundant. TyposThey will be fixed now. Prequisits and CheckboxesI'm not for nor against this approach. I like the terms and concepts GitHub came up with: Request and Conversation. I think pull request is indeed a request in which a contributor want to add potential value to the project which should be discussed through the conversation channel. I wouldn't use it as another filter that might imply possible delays. Having said that, it might provide benefits for us at some level, but I'd definitely have a more relaxed template as the first step towards a generic and comprehensive strategy. I've got experience with checkboxes, but I haven't found them useful at any point in time. Especially here where there is a neat CI process in existence that has been working so smoothly. We've got guidelines, linting, automated tests and rigorous peer review. I don't see much advantage of another artificially induced layer of restrictions that might make the whole process less agile. I'd rather we had a more strict template for the ISSUES. .github folderI was going to put this into the |
Hey @vbence86
I agree. I'll check #794 first and then we can add here whatever we feel missing after the issue description.
Both |
@Robert-Frampton, mind providing some input for this as well? :) |
Prelude
Pull Requests are the main channels to administer changes to the project and therefore must be as verbose as possible. To enhance visibility on what changes contributors are planning to introduce we add a basic template for pull requests.
Issue
#790
Solution
Following the guidelines of GitHub, I've added
PULL_REQUEST_TEMPLATE.md
file to the repository.Test
None