gitlab
gitlab copied to clipboard
Ruby wrapper and CLI for the GitLab REST API
The merge request commits API does not allow any options, but it seems that any commits after the first 20 are thrown out. Interestingly, the request still takes a longer...
Hi. How to create Incident? I think something like this: `Gitlab.create_issue(5, 'New issue', { description: 'This is a new issue', assignee_id: 42, type: Incedent })` ? I can't find it...
Allowing users of the gem to specify hooks to be called before, after and around each API call made by the gem can be useful in some situations. For example:...
Following documentation for configuration example: ```ruby Gitlab.configure do |config| config.endpoint = 'https://gitlab.com/api/v4' # API endpoint URL, default: ENV['GITLAB_API_ENDPOINT'] and falls back to ENV['CI_API_V4_URL'] config.private_token = 'gloas-320086qEsq1pt6HJPaNciie3MG' # user's private token...
Hi, when one runs the tests in `spec/gitlab/cli_spec.rb`, the respec command returns exit code 1: ``` rspec spec/gitlab/cli_spec.rb; echo $? Randomized with seed 32489 Gitlab::CLI .run when command is users...
tag_name should be encoded like #{url_encode tag_name} in https://github.com/NARKOZ/gitlab/blob/6d2a902a82564a4a2477727b5aef4e347bf34393/lib/gitlab/client/project_releases.rb#L27 https://github.com/NARKOZ/gitlab/blob/6d2a902a82564a4a2477727b5aef4e347bf34393/lib/gitlab/client/project_releases.rb#L64 https://github.com/NARKOZ/gitlab/blob/6d2a902a82564a4a2477727b5aef4e347bf34393/lib/gitlab/client/project_releases.rb#L76 Otherwise methods not working with tags like this "release/v1.1.0" (including slash)
Allow the user to configure the client to use a Content-Type of application/json for all requests with a body unless the request explicitly provides its own Content-Type header. Using application/json...
Verison 4 of the API supports complex parameters which are not processed correctly unless the request body is application/json. This also adds a method to permit updating of existing protected...