Uploaded image for project: 'Skara'
  1. Skara
  2. SKARA-1817

'WIP merge requests' renamed to 'draft merge requests' in GitLab

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.0
    • None
    • bots
    • None

      When solving SKARA-1588, I noticed that GitLab deprecated the word `WIP` and renamed it to `draft`[1].

      Previously, if the title of a GitLab merge request starts with `WIP: `, the GitLab would mark it as draft. Now, it should be started with `Draft: `.

      And the fields `wip` and `work_in_progress`, which are returned by some GitLab Restful APIs, are deprecated, too. The new field `draft` is better. [2]

      So the classes or methods about it, such as the mthods `makeNotDraft` and `isDraft` in class `GitLabMergeRequest`, should be adjusted to meet this new convention.

      [1] https://docs.gitlab.com/ee/update/removals.html#wip-merge-requests-renamed-draft-merge-requests
      [2] https://docs.gitlab.com/ee/api/merge_requests.html

            zsong Zhao Song
            gli Guoxiong Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: