-
Notifications
You must be signed in to change notification settings - Fork 24
Conversation
Adds/proposes the following standard repository templates: - `LICENSE.md`, containing the license; replace `{year}` with the current year during creation. - `docs/CODE_OF_CONDUCT.md`. Formerly, this was `CONDUCT.md`, but GitHub added support for identifying `CODE_OF_CONDUCT.md` several months ago. - `docs/CONTRIBUTING.md` - `docs/ISSUE_TEMPLATE.md`. This then acts as an issue template for users submitting issues, and helps them determine whether they should report or not. - `docs/PULL_REQUEST_TEMPLATE.md`. This acts as a template for pull request submissions, guiding the user to answer questions we need when evaluating whether or not to merge. - `docs/SUPPORT.md`. This new file provides the ability to detail locations for different types of support. GitHub allows a number of documents to be in either the root directory, a hidden `.github/` directory, or the `docs/` directory. Pushing them into the `docs/` directory serves two purposes: - These files no longer litter the root directory. - Our manual sources are usually under a `book/` subdirectory; if we change the top-level subdirectory from `doc/` to `docs/`, then these are grouped appropriately, and still segregated.
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 like it 👍
template/docs/CONTRIBUTING.md
Outdated
If you wish to contribute to this project, please be sure to | ||
read/subscribe to the following resources: | ||
|
||
- [Coding Standards](https://github.com/{org}/{repo}) |
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.
Should we have here link to coding standards repo?
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; this was an accident! I'll fix that momentarily.
- Are you creating a new feature? | ||
- Why is the new feature needed? What purpose does it serve? | ||
- How will users use the new feature? | ||
|
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.
- Make sure you add only 1 new feature, multiple new features should be split in multiiple PR's.
- Add tests for the new feature.
- Detail how the bug is invoked currently. | ||
- Detail the original, incorrect behavior. | ||
- Detail the new, expected behavior. | ||
|
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.
- Add regression tests to pinpoint the bug and prevent it from happening again.
@@ -0,0 +1,17 @@ | |||
Provide a narrative description of what you are trying to accomplish: |
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.
Few things can be improved here:
- make everything a checkbox - makes it really easy for contributors, and we can later on parse it too, eventually
- add some text about the fact that they should check whether this goes to
develop
,master
or a previous maintenance branch - add a checkbox to make sure the tests pass
- add a checkbox to make sure they wrote documentation, if this introduces feature behavior
- add a checkbox to make sure the
CHANGELOG.md
was modified
Made changes as suggested by @xtreamwayz and @Ocramius . |
@@ -0,0 +1,11 @@ | |||
Provide a narrative description of what you are trying to accomplish. |
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.
Can we add something like this at the top:
- I was not able to find an open or closed issue matching what I'm seeing.
- This is not a question as they should be asked on slack (Signup for Slack here) or our forums.
swap zendframework/maintainers
with zendframework/<project>
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.
Done!
Just mentioning here what I just saw: You can add hidden comments into the issue and pr templates. It might be handy for descriptions to explain things to the contributor but you don't want to add to each issue.
Example: https://raw.githubusercontent.com/electron/electron/master/.github/ISSUE_TEMPLATE.md |
template/docs/SUPPORT.md
Outdated
- For real-time questions, use our | ||
[Slack](https://zendframework-slack.herokuapp.com) | ||
- For detailed questions (e.g., those requiring examples) use our | ||
[forums](https://discourse.zendframework.com/c/contributors) |
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 think the link here should depend on the package, and for expressive packages it should be:
https://discourse.zendframework.com/c/questions/expressive
and for other components:
https://discourse.zendframework.com/c/questions/components
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.
Done.
Adds/proposes the following standard repository templates:
LICENSE.md
, containing the license; replace{year}
with thecurrent year during creation.
docs/CODE_OF_CONDUCT.md
. Formerly, this wasCONDUCT.md
, but GitHubadded support for identifying
CODE_OF_CONDUCT.md
several months ago.docs/CONTRIBUTING.md
docs/ISSUE_TEMPLATE.md
. This then acts as an issue template forusers submitting issues, and helps them determine whether they should
report or not.
docs/PULL_REQUEST_TEMPLATE.md
. This acts as a template for pullrequest submissions, guiding the user to answer questions we need when
evaluating whether or not to merge.
docs/SUPPORT.md
. This new file provides the ability to detaillocations for different types of support.
GitHub allows a number of documents to be in either the root directory,
a hidden
.github/
directory, or thedocs/
directory. Pushing theminto the
docs/
directory serves two purposes:book/
subdirectory; if wechange the top-level subdirectory from
doc/
todocs/
, then theseare grouped appropriately, and still segregated.