-
Notifications
You must be signed in to change notification settings - Fork 53
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 draft github pull-request template #53
Add draft github pull-request template #53
Conversation
This commit adds a draft pull-request template for use on github when add pull-requests to the common repo. The aim of this commit is to start the discussion on how we would like pull-requests to progress when collaborating on neural-lam.
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.
Thanks, this will prove very useful! I added some smaller discussion points.
.github/pull_request_template.md
Outdated
- [ ] the code readable | ||
- [ ] the code well tested | ||
- [ ] the code documented | ||
- [ ] the code easy to maintain |
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.
- [ ] the code readable | |
- [ ] the code well tested | |
- [ ] the code documented | |
- [ ] the code easy to maintain | |
- [ ] the code is readable | |
- [ ] the code is well tested | |
- [ ] the code is documented | |
- [ ] the code is easy to maintain |
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.
Is it clear how to test "easy to maintain"? Maybe we should be a bit more specific here (e.g. modular, using existing open-source libraries, ...)
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.
Yes, I think most of these can be expanded on and made more concrete. But that then turns into more of a coding style guide, that probably fits better somewhere else (related to my other comment).
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.
we can also leave "easy to maintain" out? The other three cover this some degree and this isn't explicit enough about how we measure this that the comment is probably superfluous
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.
I will remove "easy to maintain" since that is hard to measure objectively, we can always adapt this template later if we find it is missing something or doesn't quite work :)
Great idea with the template, and good suggestions by @sadamov. I have just added a small comment above, and have no further changes - great work! |
.github/pull_request_template.md
Outdated
- [ ] the code readable | ||
- [ ] the code well tested | ||
- [ ] the code documented | ||
- [ ] the code easy to maintain |
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.
Yes, I think most of these can be expanded on and made more concrete. But that then turns into more of a coding style guide, that probably fits better somewhere else (related to my other comment).
Co-authored-by: Joel Oskarsson <joel.oskarsson@outlook.com>
Co-authored-by: sadamov <45732287+sadamov@users.noreply.github.com>
Co-authored-by: sadamov <45732287+sadamov@users.noreply.github.com>
I am going to promote this to an actual PR from a draft PR now the discussion is well underway 😄 |
Any updates on this @leifdenby? Are there specific points you want more input on? Out of my points it is mainly the checkbox for adding tests that requires some further discussion. It would be good to try to merge this soon. |
Co-authored-by: Joel Oskarsson <joel.oskarsson@outlook.com>
TODO
|
…/add-github-pr-template
…fdenby/neural-lam into maint/add-github-pr-template
Ok, I think this is ready to go now @joeloskarsson. Do you mind giving it a last read over? |
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.
Gave it a proofread and fixed some grammar. After these fixes + updating the docstring text this should be good to merge imo!
Co-authored-by: Joel Oskarsson <joel.oskarsson@outlook.com>
Co-authored-by: Joel Oskarsson <joel.oskarsson@outlook.com>
Co-authored-by: Joel Oskarsson <joel.oskarsson@outlook.com>
Co-authored-by: Joel Oskarsson <joel.oskarsson@outlook.com>
Thanks for the thorough review @joeloskarsson! |
This just needs your approval and then I will merge in :) |
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.
Great, all looking good now!
The aim of this PR is to add a pull-request template for use on github when add pull-requests to the common repo. The aim of my initial commit is to start the discussion on how we would like pull-requests to progress when collaborating on neural-lam.
As you will see from the template I have created so far the aim is to:
Looking forward to hearing your thoughts all :)
Here's a direct link so you can see it rendered: https://github.com/leifdenby/neural-lam/blob/maint/add-github-pr-template/.github/pull_request_template.md