fd01f3aacd
When using project snippets via API the functions now provide status codes for different situations other then only returning 404 error. If required parameters are missing, e.g. `title` when creating a project snippet a 400 (Bad request) error is returned. The snippet delete function now is idempotent and returns a 200 (Ok) regardless if the snippet with the given id is available or not. Changing return codes of these functions has the advantage that the 404 error is used only for resources, which are not available. Tests added to check these status codes when handling project snippets. |
||
---|---|---|
app | ||
config | ||
db | ||
doc | ||
features | ||
lib | ||
log | ||
public | ||
script | ||
spec | ||
tmp | ||
vendor | ||
.foreman | ||
.gitignore | ||
.rspec | ||
.simplecov | ||
.travis.yml | ||
CHANGELOG | ||
config.ru | ||
CONTRIBUTING.md | ||
Gemfile | ||
Gemfile.lock | ||
Guardfile | ||
LICENSE | ||
Procfile | ||
Rakefile | ||
README.md | ||
ROADMAP.md | ||
VERSION |
Welcome to GitLab
GitLab is a free project and repository management application
Application details
- based on Ruby on Rails
- distributed under the MIT License
- works with gitolite
Requirements
- Ubuntu/Debian
- ruby 1.9.3+
- MySQL
- git
- gitolite
- redis
Install
Checkout wiki pages for installation information, migration, etc.
Community
Contacts
Twitter:
- @gitlabhq
- @dzaporozhets
Contribute
Developer Guide Want to help - send a pull request. We'll accept good pull requests.