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