As far as I can work out the WIP field is a part of the semantic model
but the only way it displays on the UI is in the title.

Two other facets of the WIP state are:

1. WIP MRs can't be merged via the UI. (Marge also honours this)
2. The list of MRs can be filtered by the WIP status (which is that I
use it for).

https://docs.gitlab.com/ee/user/project/merge_requests/work_in_progress_merge_requests.html

Your page is very helpful Simon. If you have any more questions then
I'll try to answer.

Cheers,

Matt

On Wed, Feb 13, 2019 at 9:38 AM Simon Peyton Jones
<simo...@microsoft.com> wrote:
>
> Interesting.  That page says (my emphasis)
>
>
>
> Quick actions are textual shortcuts for common actions on issues, epics, 
> merge requests, and commits that are usually done by clicking buttons or 
> dropdowns in GitLab’s UI. You can enter these commands while creating a new 
> issue or merge request, or in comments of issues, epics, merge requests, and 
> commits. Each command should be on a separate line in order to be properly 
> detected and executed. Once executed, the commands are removed from the text 
> body and not visible to anyone else.
>
>
>
> So this may be a useful shortcut, but it’s optional.
>
>
>
> So that means that this “WIP” thing is part of GitLab’s semantic model.  The 
> table says
>
>
>
> /wip: Toggle the Work In Progress status
>
>
>
> So it seems that
>
> Each MR has a WIP status
> There is some way in the UI to toggle it
>
>
>
> Do you know what are the semantics of “WIP status”?  It’s not just the title!
>
>
>
> I assume it is /not/ “WIP MRs aren’t merged” because no MR is merged until 
> there are enough approvals /and/ the author clicks “please merge”.  Correct?
>
>
>
> Sorry to be dim.  I’m a bit slow to catch up with GitLab.
>
>
>
> I have a “Simon’s GitLab page” here 
> https://ghc.haskell.org/trac/ghc/wiki/WorkingConventions/GitLabSPJ
>
>
>
> I use it to add notes on things I’ve learned.
>
>
>
> Simon
>
>
>
>
>
> | -----Original Message-----
>
> | From: ghc-devs <ghc-devs-boun...@haskell.org> On Behalf Of Matthew
>
> | Pickering
>
> | Sent: 12 February 2019 16:29
>
> | To: Richard Eisenberg <r...@cs.brynmawr.edu>
>
> | Cc: GHC developers <ghc-devs@haskell.org>
>
> | Subject: Re: Marge has been stabilised
>
> |
>
> | Yes there are two others I use frequently.
>
> |
>
> | /approve - Approves a Merge request
>
> | /assign - Assign a user
>
> |
>
> | and I imagine I will use /label and /relabel frequently when we have
>
> | labels.
>
> |
>
> | It's also useful to know that the ! autocomplete for merge requests
>
> | can be filtered by name of MR. The user autocomplete @ can also be
>
> | filtered by a user's real name.
>
> |
>
> | There is a full list here:
>
> | https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.gitl
>
> | ab.com%2Fee%2Fuser%2Fproject%2Fquick_actions.html&amp;data=02%7C01%7Csimonp
>
> | j%40microsoft.com%7Cb91996c8302240d8c75c08d691074201%7C72f988bf86f141af91ab
>
> | 2d7cd011db47%7C1%7C0%7C636855857693042801&amp;sdata=ngK1tGiNd6ZLGMS34emZYv%
>
> | 2B31dHS1nfUQ9StRSLXwcQ%3D&amp;reserved=0
>
> |
>
> | Cheers,
>
> |
>
> | Matt
>
> |
>
> | On Tue, Feb 12, 2019 at 4:23 PM Richard Eisenberg <r...@cs.brynmawr.edu>
>
> | wrote:
>
> | >
>
> | >
>
> | >
>
> | > On Feb 12, 2019, at 10:51 AM, Matthew Pickering
>
> | <matthewtpicker...@gmail.com> wrote:
>
> | >
>
> | > This can be quickly toggled on/off by typing the /wip quick command in
>
> | > a comment.
>
> | >
>
> | >
>
> | > This is an interesting aside. I understand this to mean: If I make a
>
> | comment (the same place that I would write a comment for humans) that
>
> | consists solely of "/wip", then instead of posting anything to humans, the
>
> | title of my MR changes, either adding "WIP: " or deleting that from the
>
> | beginning.
>
> | >
>
> | > Are there other such pieces of magic? Is there a place they are listed?
>
> | >
>
> | > Thanks!
>
> | > Richard
>
> | _______________________________________________
>
> | ghc-devs mailing list
>
> | ghc-devs@haskell.org
>
> | https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail.haske
>
> | ll.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fghc-
>
> | devs&amp;data=02%7C01%7Csimonpj%40microsoft.com%7Cb91996c8302240d8c75c08d69
>
> | 1074201%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636855857693042801&amp
>
> | ;sdata=ciA051iOt74WyZMrr9HulHik%2BG4la8YyF47sYnbqvzs%3D&amp;reserved=0
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to