2012-09-17 14:38:08 -04:00
|
|
|
## Contribute to GitLab
|
2012-09-17 13:42:18 -04:00
|
|
|
|
2012-09-17 14:38:08 -04:00
|
|
|
If you want to contribute to GitLab, follow this process:
|
2012-09-17 13:42:18 -04:00
|
|
|
|
|
|
|
1. Fork the project
|
|
|
|
2. Create a feature branch
|
|
|
|
3. Code
|
|
|
|
4. Create a pull request
|
|
|
|
|
2012-09-28 19:36:06 -04:00
|
|
|
We will only accept pull requests if:
|
2012-09-17 13:42:18 -04:00
|
|
|
|
|
|
|
* Your code has proper tests and all tests pass
|
|
|
|
* Your code can be merged w/o problems
|
2012-09-28 19:36:06 -04:00
|
|
|
* It won't break existing functionality
|
|
|
|
* It's quality code
|
2012-09-17 13:42:18 -04:00
|
|
|
* We like it :)
|
|
|
|
|
|
|
|
## [You may need a developer VM](https://github.com/gitlabhq/developer-vm)
|
|
|
|
|
|
|
|
## Running tests
|
|
|
|
|
2012-09-17 14:38:08 -04:00
|
|
|
To run the specs for GitLab, you need to run seeds for test db.
|
2012-09-17 13:42:18 -04:00
|
|
|
|
|
|
|
cd gitlabhq
|
|
|
|
rake db:seed_fu RAILS_ENV=test
|
|
|
|
|
|
|
|
Then you can run the test suite with rake:
|
|
|
|
|
|
|
|
rake gitlab:test
|
|
|
|
|