-
-
Notifications
You must be signed in to change notification settings - Fork 836
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
Update PULL_REQUEST_TEMPLATE.md #1505
Conversation
updates our PR template to clarify a few things
.github/PULL_REQUEST_TEMPLATE.md
Outdated
**Confirmed** | ||
|
||
- [ ] for visual or frontend changes that the changes work as intended via visual confirmation on a local flarum installation. | ||
- [ ] for php changes that the unit tests are all AOK (green) by running them locally (`php vendor/bin/phpunit`). |
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.
Yay for the checklist!
Can we make these a bit shorter, though?
- frontend changes: tested on a local Flarum installation
- backend changes: tests are green (run
php vendor/bin/phpunit
)
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.
Agreed.
.github/PULL_REQUEST_TEMPLATE.md
Outdated
- [ ] for visual or frontend changes that the changes work as intended via visual confirmation on a local flarum installation. | ||
- [ ] for php changes that the unit tests are all AOK (green) by running them locally (`php vendor/bin/phpunit`). | ||
|
||
**Required changes:** |
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.
Are these meant for suggested follow-ups (e.g. docs) or for dependent, but existing pull requests in other repos (e.g. extensions)? It wasn't clear to me...
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.
line 21 is, the lines above that are meant as checks/requirements
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.
What I'm saying is:
- "Docs" sounds like more of a TODO for later,
- "Core extensions" seems to be the place for links to related PRs.
Or should both contain links to related PRs?
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.
Ideally docs should be PR'd at the same time (at least once we have a good foundation of docs!)
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.
So can we just combine these two with the list above?
- Related documentation PR: (Remove if irrelevant)
- Related extension PRs: (Remove if irrelevant)
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.
Nice one.
@franzliedke i leave the final review and merge to you. I've updated the top description a little. We can iterate later if we feel it could use more love. The suggestions were integrated. |
Can we also add "updated changelog" as a checklist item. From now on I'd like to keep a CHANGELOG.md in the root. |
@tobscure good point. @flarum/core with these kind of PRs, just use the inline github edit to add your suggestions (if they seem obvious)? |
Regarding the changelog: This is just asking for lots of conflicts between PRs, especially if they sit around for a while (ahem). |
Not if they are added to a heading called Or, instead of pointing to a changelog, we can point to a different "hoarder" issue for the next release? |
@luceos But everyone will add their change at the bottom of that file, meaning we will have multiple inserts. Still a conflict. 😕 |
True. Relevant discussion: |
We can still pull the changes from the PR description once we do a release. Doing a release has been a manual action so far anyway. |
I would really like to keep a running changelog. Having to go through issues, PRs, and commits manually (as I have just done for beta 8) is extremely tedious. |
@tobscure how about a release issue for the upcoming release named Changelog? |
What is keeping us from using the release milestone then? "Some changes are not related to issues"? What about a GitHub project per release then, where we can add any small change that we want to keep track of as one of these low-fidelity "notes"? That way, we don't have to worry about the order of changes (and thus, conflicts), but still have all the changes that we want to track in one place. |
Also fun, but probably overdoing it a bit: 😅 |
I suppose we could probably get away by reviewing milestones if we make sure every significant change (worthy of mention in the release notes) is done as a PR or has an issue associated with it? But yeah there's no good solution for CHANGELOG.md merges so let's leave that off the checklist. |
This is why having a Commit template such as angular’s can be nice when creating a CHANGELOG automatically or manually. |
@datitisev link? example? |
Angular CONTRIBUTING.md: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md Then their changelog is generated with |
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 removed the changelog part for now. Feel free to merge if you think it's okay.
I think it's great. 👍
updates our PR template to clarify a few things
fun thing having to fill out the PR template when updating the PR template..
Fixes nothing
Changes proposed in this pull request:
Reviewers should focus on: