Skip to content
Snippets Groups Projects

Grapify the commit status API

Merged username-removed-2900 requested to merge grapify-commit-statuses-api into master

What does this MR do?

Add the Grape-DSL to the commit status API.

What are the relevant issue numbers?

Related to #22928 (moved)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
14 # ref (optional) - The ref
15 # stage (optional) - The stage
16 # name (optional) - The name
17 # all (optional) - Show all statuses, default: false
18 # Examples:
19 # GET /projects/:id/repository/commits/:sha/statuses
9 desc "Get a commit's statuses" do
10 success Entities::CommitStatus
11 end
12 params do
13 requires :id, type: String, desc: 'The ID of a project'
14 requires :sha, type: String, desc: 'The commit hash'
15 optional :ref, type: String, desc: 'The ref'
16 optional :stage, type: String, desc: 'The stage'
17 optional :name, type: String, desc: 'The name'
18 optional :all, type: String, desc: ' how all statuses, default: false'
  • Added 1 commit:

    • e73047be - Grapify the commit status API

    Compare with previous version

  • Added 1 commit:

    • 392720e9 - Grapify the commit status API

    Compare with previous version

  • Added 1 commit:

    • 0c0ce047 - Grapify the commit status API

    Compare with previous version

  • username-removed-128633
  • Milestone changed to %8.14

  • Reassigned to @razer6

  • Added 1 commit:

    • c7282f89 - Grapify the commit status API

    Compare with previous version

  • Reassigned to @rymai

  • @rymai Thanks for the review. I updated the MR.

  • username-removed-128633 Enabled an automatic merge when the build for c7282f89 succeeds

    Enabled an automatic merge when the build for c7282f89 succeeds

  • username-removed-128633 Status changed to merged

    Status changed to merged

  • Mentioned in commit ba2d5b16

  • @razer6 It looks like specs are broken on Ruby 2.1 due to this MR... See https://gitlab.com/gitlab-org/gitlab-ce/builds/5277116.

  • @rymai I'll fix them in the evening.

  • @razer6 I found the issue, I will submit a MR. ;)

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading