-
-
Notifications
You must be signed in to change notification settings - Fork 248
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
Try to simplify the PR template a bit - Fix #449 #453
Conversation
.github/PULL_REQUEST_TEMPLATE.md
Outdated
- [ ] You've updated the changelog (if adding/changing user-visible functionality) | ||
- [ ] You've updated the readme (if adding/changing user-visible functionality) | ||
- [ ] The commits are consistent with our [contribution guidelines][1]. | ||
- [ ] Optionally add a test or two. This is specially important when fixing bugs, or when changing indentation or font-locking. |
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 don't see how this reworded version is better than the original.
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.
It was just to add the word "optionally".
.github/PULL_REQUEST_TEMPLATE.md
Outdated
- [ ] The commits are consistent with our [contribution guidelines][1]. | ||
- [ ] Optionally add a test or two. This is specially important when fixing bugs, or when changing indentation or font-locking. | ||
- [ ] Run `M-x checkdoc` and fix any warnings in the code you've written. | ||
- [ ] If the change is visible to users, add it to CHANGELOG.md and check if you need to update the readme. |
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.
Same here.
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.
True, I can change it back.
I agree with the first 2 points, I'm not sure about the third. Probably we can also automate |
Ok, I can revert the two comments, and leave only the first two points. |
Fine by me. |
Actually, I looked into it now and we have indeed automated checkdoc. :-) |
2760707
to
87148e3
Compare
I think we should put more emphasis on having test results. So to say |
.github/PULL_REQUEST_TEMPLATE.md
Outdated
- [ ] The new code is not generating bytecode or `M-x checkdoc` warnings | ||
- [ ] The commits are consistent with our [contribution guidelines][1]. | ||
- [ ] You've added tests (if possible) to cover your change(s). Bugfix, indentation, and font-lock tests are extremely important! | ||
- [ ] Run `M-x checkdoc` and fix any warnings in the code you've written. | ||
- [ ] You've updated the changelog (if adding/changing user-visible functionality) |
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.
You didn't change the punctuation here as you did with the previous items. The punctuation should be consistent.
.github/PULL_REQUEST_TEMPLATE.md
Outdated
- [ ] You've updated the changelog (if adding/changing user-visible functionality) | ||
- [ ] You've updated the readme (if adding/changing user-visible functionality) | ||
|
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.
Seems you deleted this blank line by accident.
@Malabarba I don't have much (any?) involvement in this project so disregard my comments if they're not welcome. :) This removes Or disregard this, like I said. I know you're busy. I appreciate all the work you all do anyway. :) |
Be reminded please that cask has at the moment 66 opened issues (See e.g. one of the bigger ones - the #373.) I'd say it would be more viable to do the tests with something else that the cask. |
87148e3
to
12ed890
Compare
@timvisher If you'd like to help WRT to automation, would you be willing to investigate why our travis builds are broken? I think that's something that would provide a lot of value right now. The reason I'd like to remove the |
I've addressed the inconsistencies pointed out by Bozhidar (and made the phrasing more consistent), but I'll wait to see if we can fix the builds before I merge this. |
👍 |
@Malabarba I'll try to take a look at the travis builds if I can find some time. This might be a difference in philosophy but I believe that the CI build should never break. I don't like processes that emphasize letting another system tell me that the tests are broken mainly because it's too long of a feedback loop. |
@timvisher maybe it's just a difference in contexts. I work at a place where tests will take 15 minutes to run, so I prefer to push my changes and start doing something instead of just watching the tests run for 15 minutes. |
@Malabarba Ah that makes sense. Generally I push long running tests into integration territory and yeah I just let CI run those for the most part. Hopefully the CIDER tests don't take 15 minutes to run. :) I still haven't had a chance to look into this yet but it's still on my list. Hope I can help. |
This shortens the template just a bit.
Before submitting a PR make sure the following things have been done (and denote this
by checking the relevant checkboxes):
make test
)M-x checkdoc
warningsThanks!