Commit c561ddf3eb77bfd9de54d90b224fecb4a949f81f
Exists in
master
and in
4 other branches
Merge pull request #1485 from AlexDenisov/github_contributing_guidelines
CONTRIBUTING.md copied from wiki pages
Showing
1 changed file
with
30 additions
and
0 deletions
Show diff stats
| ... | ... | @@ -0,0 +1,30 @@ |
| 1 | +## Contribute to GitLab | |
| 2 | + | |
| 3 | +If you want to contribute to GitLab, follow this process: | |
| 4 | + | |
| 5 | +1. Fork the project | |
| 6 | +2. Create a feature branch | |
| 7 | +3. Code | |
| 8 | +4. Create a pull request | |
| 9 | + | |
| 10 | +We only accept pull requests if: | |
| 11 | + | |
| 12 | +* Your code has proper tests and all tests pass | |
| 13 | +* Your code can be merged w/o problems | |
| 14 | +* It wont broke existing functionality | |
| 15 | +* Its a quality code | |
| 16 | +* We like it :) | |
| 17 | + | |
| 18 | +## [You may need a developer VM](https://github.com/gitlabhq/developer-vm) | |
| 19 | + | |
| 20 | +## Running tests | |
| 21 | + | |
| 22 | +To run the specs for GitLab, you need to run seeds for test db. | |
| 23 | + | |
| 24 | + cd gitlabhq | |
| 25 | + rake db:seed_fu RAILS_ENV=test | |
| 26 | + | |
| 27 | +Then you can run the test suite with rake: | |
| 28 | + | |
| 29 | + rake gitlab:test | |
| 30 | + | ... | ... |