Page MenuHomePhabricator

[mwcli] Include a command for interacting with WM gitlab instance
Closed, ResolvedPublic

Description

There is a gitlab CLI tool written in Go that would likely be easy to include as a sub command.

https://glab.readthedocs.io/en/latest/

Event Timeline

Addshore renamed this task from [mwcli] Consider including an externally create gitlab cli tool to [mwcli] Consider including an externally created gitlab cli tool.Sep 10 2021, 9:26 AM

I had a quick look at this today, but it appears it's not totally possible out of the box, and some if the internals of the gtilab cli would need to be accessed.

image.png (957×1 px, 122 KB)

So setting a default host for the WM gitlab instance is not yet possible.

Having said that, integrating the command is totally possible..

image.png (719×1 px, 77 KB)

I filled https://github.com/profclems/glab/issues/843 to see if I can get some guidance or agreement that the needed changes could happen.

Addshore renamed this task from [mwcli] Consider including an externally created gitlab cli tool to [mwcli] Include a command for interacting with WM gitlab instance.Sep 21 2021, 9:34 PM
Addshore moved this task from Discuss & Decide to Watching & Blocked on the mwcli board.

Looks like this might be easier than first thought, just need to move 1 package out of internals in the glab code base and it seems to then be working!

image.png (365×2 px, 65 KB)

image.png (485×1 px, 84 KB)

image.png (983×1 px, 196 KB)

image.png (330×1 px, 42 KB)

This MR and initiative will probably wait for movement upstream

https://github.com/profclems/glab/pull/845

Addshore moved this task from In Progress to Pending Release on the mwcli board.