docs: add base contributing guide
Before adoption: this commit came in with the history the project adopted, so no landing records it.
closes #2918
authored by Mikeal Rogers · committed by Douglas Christopher Wilson · parent dd2b897 · Browse files · 2 files·+115 added−23 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+115 added−23 removed
- other:+115 added−23 removed
Provenance
- Commit
f3d99a4- Tree
21f6cab- Author
Mikeal Rogers <mikeal.rogers@gmail.com>- Committer
Douglas Christopher Wilson <doug@somethingdoug.com>- Parent
dd2b897
2 files changed+115 added−23 removed
added:Collaborator-Guide.md+36 added
123456789101112131415161718192021222324252627282930313233343536
## Website Issues
Issues for the expressjs.com website go here https://github.com/strongloop/expressjs.com
## PRs and Code contributions
* Tests must pass.* Follow existing coding style.* If you fix a bug, add a test.
## Branches
* Use the `master` branch for bug fixes or minor work that is intended for the current release stream* Use the correspondingly named branch, e.g. `5.0`, for anything intended for a future release of Express
## Steps for contributing
* [Create an issue](https://github.com/strongloop/express/issues/new) for the bug you want to fix or the feature that you want to add.* Create your own [fork](https://github.com/strongloop/express) on github, then checkout your fork.* Write your code in your local copy. It's good practice to create a branch for each new issue you work on, although not compulsory.* To run the test suite, first install the dependencies by running `npm install`, then run `npm test`.* If the tests pass, you can commit your changes to your fork and then create a pull request from there. Make sure to reference your issue from the pull request comments by including the issue number e.g. #123.
## Issues which are questions
We will typically close any vague issues or questions that are specific to some app you are writing. Please double check the docs and other references before being trigger happy with posting a question issue.
Things that will help get your question issue looked at:
* Full and runnable JS code.* Clear description of the problem or unexpected behavior.* Clear description of the expected result.* Steps you have taken to debug it yourself.
If you post a question and do not outline the above items or make it easy for us to understand and reproduce your issue, it will be closed.modified:Contributing.md+79 added-23 removed
122345647869101112131489101516171218191415202122232417252619202122232728293025313233273435362937383132333439404142364344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192# Node.js Community Contributing Guide 1.0
## Website IssuesThis document describes a very simple process suitable for most projectsin the Node.js ecosystem. Projects are encouraged to adopt this whether theyare hosted in the Node.js Foundation or not.
Issues for the expressjs.com website go here https://github.com/strongloop/expressjs.comThe goal of this document is to create a contribution process that:
## PRs and Code contributions* Encourages new contributions.* Encourages contributors to remain involved.* Avoids unnecessary processes and bureaucracy whenever possible.* Creates a transparent decision making process which makes it clear howcontributors can be involved in decision making.
* Tests must pass.* Follow existing coding style.* If you fix a bug, add a test.This document is based on much prior art in the Node.js community, io.js,and the Node.js project.
## Branches## Vocabulary
* Use the `master` branch for bug fixes or minor work that is intended for the current release stream* Use the correspondingly named branch, e.g. `5.0`, for anything intended for a future release of Express * A **Contributor** is any individual creating or commenting on an issue or pull request.* A **Committer** is a subset of contributors who have been given write access to the repository.* A **TC (Technical Committee)** is a group of committers representing the required technical expertise to resolve rare disputes.
## Steps for contributing# Logging Issues
* [Create an issue](https://github.com/strongloop/express/issues/new) for the bug you want to fix or the feature that you want to add.* Create your own [fork](https://github.com/strongloop/express) on github, then checkout your fork.* Write your code in your local copy. It's good practice to create a branch for each new issue you work on, although not compulsory.* To run the test suite, first install the dependencies by running `npm install`, then run `npm test`.* If the tests pass, you can commit your changes to your fork and then create a pull request from there. Make sure to reference your issue from the pull request comments by including the issue number e.g. #123.Log an issue for any question or problem you might have. When in doubt, log an issue, any additional policies about what to include will be provided in the responses. The onlyexception is security dislosures which should be sent privately.
## Issues which are questionsCommitters may direct you to another repository, ask for additional clarifications, andadd appropriate metadata before the issue is addressed.
We will typically close any vague issues or questions that are specific to some app you are writing. Please double check the docs and other references before being trigger happy with posting a question issue.Please be courteous, respectful, and every participant is expected to follow the project's Code of Conduct.
Things that will help get your question issue looked at:# Contributions
* Full and runnable JS code.* Clear description of the problem or unexpected behavior.* Clear description of the expected result.* Steps you have taken to debug it yourself.Any change to resources in this repository must be through pull requests. This applies to all changesto documentation, code, binary files, etc. Even long term committers and TC members must usepull requests.
If you post a question and do not outline the above items or make it easy for us to understand and reproduce your issue, it will be closed.No pull request can be merged without being reviewed.
For non-trivial contributions, pull requests should sit for at least 36 hours to ensure thatcontributors in other timezones have time to review. Consideration should also be given to weekends and other holiday periods to ensure active committers all have reasonable time to become involved in the discussion and review process if they wish.
The default for each contribution is that it is accepted once no committer has an objection.During review committers may also request that a specific contributor who is most versed in a particular area gives a "LGTM" before the PR can be merged. There is no additional "sign off" process for contributions to land. Once all issues brought by committers are addressed it can be landed by any committer.
In the case of an objection being raised in a pull request by another committer, all involved committers should seek to arrive at a consensus by way of addressing concerns being expressed by discussion, compromise on the proposed change, or withdrawal of the proposed change.
If a contribution is controversial and committers cannot agree about how to get it to landor if it should land then it should be escalated to the TC. TC members should regularlydiscuss pending contributions in order to find a resolution. It is expected that only a small minority of issues be brought to the TC for resolution and that discussion and compromise among committers be the default resolution mechanism.
# Becoming a Committer
All contributors who land a non-trivial contribution should be on-boarded in a timely manner,and added as a committer, and be given write access to the repository.
Committers are expected to follow this policy and continue to send pull requests, go throughproper review, and have other committers merge their pull requests.
# TC Process
The TC uses a "consensus seeking" process for issues that are escalated to the TC. The group tries to find a resolution that has no open objections among TC members.If a consensus cannot be reached that has no objections then a majority wins voteis called. It is also expected that the majority of decisions made by the TC are via a consensus seeking process and that voting is only used as a last-resort.
Resolution may involve returning the issue to committers with suggestions on how to move forward towards a consensus. It is not expected that a meeting of the TC will resolve all issues on its agenda during that meeting and may prefer to continuethe discussion happening among the committers.
Members can be added to the TC at any time. Any committer can nominate another committerto the TC and the TC uses its standard consensus seeking process to evaluate whether ornot to add this new member. Members who do not participate consistently at the level of a majority of the other members are expected to resign.