Project management and code hosting application. Follow us on twitter @gitlabhq
Find a file
Sebastian Ziebell fd01f3aacd API: fixes a few return codes for project snippets
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.
2013-02-13 12:09:16 +01:00
app style network graph form a bit 2013-02-12 19:22:40 +02:00
config Merge branch 'master' into fixes/api 2013-02-13 10:31:06 +01:00
db Refactored and fixed seeds to work with gitlab-shell 2013-02-09 15:13:56 +02:00
doc Merge branch 'master' into fixes/api 2013-02-13 10:31:06 +01:00
features No gitolite in project any more 2013-02-11 19:16:59 +02:00
lib API: fixes a few return codes for project snippets 2013-02-13 12:09:16 +01:00
log init commit 2011-10-09 00:36:38 +03:00
public Add deploy.html for symlink if maintaince 2013-01-27 19:09:40 +02:00
script Fix sidekiq chech and added script/check 2013-01-09 20:31:05 +02:00
spec API: fixes a few return codes for project snippets 2013-02-13 12:09:16 +01:00
tmp Add tmp/.gitkeep file to ensure tmp folder exists on clone 2012-09-04 05:28:48 -04:00
vendor The commit is marked and displayed in the center. 2013-02-05 12:34:35 +09:00
.foreman complete hooks for post receive 2012-01-08 13:20:20 +02:00
.gitignore ignore docs by git 2013-02-09 15:26:47 +02:00
.rspec init commit 2011-10-09 00:36:38 +03:00
.simplecov organize simplecov 2013-01-07 22:23:13 +02:00
.travis.yml Use ruby 1.9.3-p327 on travis-ci 2013-01-09 14:43:49 -05:00
CHANGELOG No gitolite in project any more 2013-02-11 19:16:59 +02:00
config.ru added RAILS_RELATIVE_URL_ROOT support 2012-12-28 18:11:28 +00:00
CONTRIBUTING.md Update CONTRIBUTING.md 2012-12-20 18:53:23 +01:00
Gemfile Rails up to 3.2.12 2013-02-11 23:17:34 +02:00
Gemfile.lock Rails up to 3.2.12 2013-02-11 23:17:34 +02:00
Guardfile APi for commits. Better api docs 2012-09-21 13:22:30 +03:00
LICENSE init commit 2011-10-09 00:36:38 +03:00
Procfile Fix procfile and attachment in event nore 2013-02-11 19:25:06 +02:00
Rakefile init commit 2011-10-09 00:36:38 +03:00
README.md set link to gitlab-ci 2013-01-29 14:49:10 +02:00
ROADMAP.md updated 2013-02-05 09:01:29 +02:00
VERSION It should be 5.0.0pre 2013-02-07 13:05:30 +02:00

Welcome to GitLab build status build status Code Climate Dependency Status

GitLab is a free project and repository management application

CI

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

Google Group

Contacts

Twitter:

  • @gitlabhq
  • @dzaporozhets

Email

Contribute

Developer Guide Want to help - send a pull request. We'll accept good pull requests.