Live data from Hacker News

Take Gitlab to the command line with GLab, an open-source Gitlab CLI tool

github.com

31–40 of 76 posts

Re: Take Gitlab to the command line with GLab, an open-source Gitlab CLI tool

#31
post #26

There is also just "lab"[1]. [1] https://github.com/zaquestion/lab

lab is great! The CI view in the cli felt kind of magical at the time. I was in an organization that was bizarrely using both GitHub ant GitLab, and lab+hub really helped make sense of things until we finally migrated to GitLab. Using GitHub exclusively at the new job has me really missing GitLab CI when working the GitHub actions :(

Re: Take Gitlab to the command line with GLab, an open-source Gitlab CLI tool

#32

Hosted on github. Ah the irony. Feels like a missed opportunity. On another note no have been using the GitHub cli client and it is great to be able to quickly create a PR from where I did the last push.

I suspect due to the sheer number of internal deploys, Gitlab does not always get the exposure warranted.

My work place is switching from internal Gitlab/gitlab-runners to external gitlab.com + internal gitlab-runners. We are very happy with both scenarios, but neither gains Gitlab any exposure.

Re: Take Gitlab to the command line with GLab, an open-source Gitlab CLI tool

#33
post #17

Hosted on github. Ah the irony. Feels like a missed opportunity. On another note no have been using the GitHub cli client and it is great to be able to quickly create a PR from where I did the last push.

I maintain a bunch of docker images that are purposed to run on gitlab ci, they are obviously hosted on github because only github has push-event integrations with docker hub. I make a push, docker hub builds and publishes the image, the image is only pulled by gitlab ci. Gitlab is great, but it lacks many popular integrations that must come from not-gitlab.

I imagine that's an oversight of sorts because you could just build the images on gitlab too.

Re: Take Gitlab to the command line with GLab, an open-source Gitlab CLI tool

#34
post #19

For anyone interested, there‘s a similar CLI for GitHub: https://github.com/cli/cli

Actually it's quite a shame for the Gitlab team that they don't offer a similar official CLI. The gitlab software is high quality in general, and obviously it's doable by a third party to implement such a tool.

I’m not so sure I’d call this shameful. The official GitHub cli is a fairly new offering and still in beta...

Re: Take Gitlab to the command line with GLab, an open-source Gitlab CLI tool

#36
post #14

My new hobby is installing vanilla Gitlab CE on a vanilla server and waiting until it crashes the whole thing. Takes something between 8 to 36 hours. The server is completely gone, no ping, no ssh. It takes frantic remote power button pushes to even turn it off. Afterwards I reconfigure various config lines and repeat.

Disabling automatic repository housekeeping might help. It can use lots of RAM for large repositories like the Linux kernel.

The Linux kernel isn’t that bad. If you really want to kill your instance of Gitlab, try Google Chrome with all its public repos. Write a gitlab ci yaml file and configure it to build/test with every push.

https://chromium.googlesource.com/chromium/

Re: Take Gitlab to the command line with GLab, an open-source Gitlab CLI tool

#38
post #8

Earlier quoted context omitted.

I have created a small tool that automatically mirrors public repos from GitLab to GitHub: https://github.com/grdl/gitlab-mirror-maker Meaning, a repo can be hosted on GL but still benefit from better exposure and disoverability of GH.

But GitLab already has repo mirroring built-in, what am I missing?

it's a paid feature: not in community gitlab

Re: Take Gitlab to the command line with GLab, an open-source Gitlab CLI tool

#39
post #17

Hosted on github. Ah the irony. Feels like a missed opportunity. On another note no have been using the GitHub cli client and it is great to be able to quickly create a PR from where I did the last push.

I maintain a bunch of docker images that are purposed to run on gitlab ci, they are obviously hosted on github because only github has push-event integrations with docker hub. I make a push, docker hub builds and publishes the image, the image is only pulled by gitlab ci. Gitlab is great, but it lacks many popular integrations that must come from not-gitlab.

Can't you build and push via CI?

Re: Take Gitlab to the command line with GLab, an open-source Gitlab CLI tool

#40

Earlier quoted context omitted.

But GitLab already has repo mirroring built-in, what am I missing?

it's a paid feature: not in community gitlab

If your project is open source on gitlab.com - you get all paid features for free.
Post reply on HN