Commit 0358c2ebdb7e56694872ceac61f820f39fb2c17b
1 parent
b1b8f9a2
Exists in
master
and in
4 other branches
CONTRIBUTING.md copied from wiki pages
Showing
1 changed file
with
30 additions
and
0 deletions
Show diff stats
| @@ -0,0 +1,30 @@ | @@ -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 | + |