mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-13 14:46:05 +10:00
fd01f3aacda1e7e1966489e7d9a31f89745cd509
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.
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.
Languages
Ruby
75.2%
Haml
10.4%
CoffeeScript
6.1%
SCSS
4.7%
Gherkin
2.4%
Other
1.2%