Take Gitlab to the command line with GLab, an open-source Gitlab CLI tool
github.com
github.com
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.
Meaning, a repo can be hosted on GL but still benefit from better exposure and disoverability of GH.
[1]: https://docs.gitlab.com/13.2/ee/user/project/repository/repo...
> git remote set-url --add --push origin <github-remote>
> git remote set-url --add --push origin <gitlab-remote>
This way I have an automatic backup to the second remote.
https://jigarius.com/blog/multiple-git-remote-repositories#t...
However, you can add multiple URLs to 'origin' and push to them all at once.
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.
1. I need to run gitlab ci myself on my host(s)
2. My host must be logged in to docker hub
3. Gitlab CI must run as privileged container
4. There are more hacks required to let gitlabci build the image and push as me.
on github you just authorize docker-hub to get webhooks from github, and that's it, it does the rest itself.
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.
git push -o merge_request.create
I have it under alias `gmr`, it will use default branch as a targethttps://docs.gitlab.com/ee/user/project/push_options.html#pu...
I don't recall ever hearing of any such thing in GitHub, and their help search is so atrocious I don't know that I'd be able to find the answer even now. That said, I can't imagine that kind of customization fits into GitHub's mental model, which goes double given that they just recently even _developed_ a CI system to which one could send those options
If making someone create a new account on Gitlab means they won't contribute to a project, then I'd rather publish it on GitHub instead, even if GitHub is closed-source. The network of GitHub is intrinsic to that website and Gitlab might not ever be able to replicate the size of its userbase. (Of course, if I'm proven wrong I'd migrate.)
Yes, it doesn't help Gitlab to have this mentality, but out of the dozens of OSS repositories I've used only two have come from Gitlab. Every single other one I had originally found on GitHub.
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.
If any, I think this is maybe too much, every worker just spawns more and more workers. I restricted Postgres from taking all RAM, Sidekiq and Puma to low numbers. But there are more..
I follow the instructions straight from Gitlab.
It's specially important at this size to have git in a different machine than the database as both are I/O constrained.
You can reduce the number of unicorn workers in `config/gitlab.rb`.
Thanks for the heads-up.
Then I saw the new installation uses Puma ;)
Both Puma and Unicorn should be killed after they exceed a certain size to avoid this situation from happening. It's possible either this is not working in some situations/configurations, or there is a leak elsewhere although this is the first time I have heard reports of this.
What configuration is being changed from the defaults? Alternatively if you could open an issue with any additional detail we will try to figure out what is happening and fix it: https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues
Would love to read about the actual config issues you're having and how you're solving them one by one -- are you writing about it anywhere?
Is there a reason you do that instead of fixing gitlab or just using something else? Either of those would seem more satisfying to me.
FWIW, a colleague at Red Hat recently began this upstream project, Bichon[1], to manage Git Lab merge requests from the shell:
"Bichon provides a terminal based user interface for reviewing GitLab merge requests. As well as an efficient keyboard based interaction model, it will allow for off-line code review caching information until reconnected to the network."
- - -
The interface is loosely modeled after the `mutt` email client; but it's a ground-up implementation.From what I learned (from a test spin; I'm a long-time `mutt` user myself), Bichon is not aiming to build a custom terminal-only workflow: it is mainly aims to provide an alternative to web UI. IOW, it's not an either/or—command-line and Web UI are supposed to play well together.
It is a wrapper around git (you can alias it to the git command) that adds GH-aware things, like checking out a PR by URL or number, or opening up the repo page with `git browse`.
I wish I could use gitlab more, because I loved their runner-system. Nice and useful, and some of their integrated systems are really nice (such as the container registry). But at the same time so much stuff has been bolted on, seemingly in a hurry, that it's hard to recommend unless you're a masochist.
On the plus side of course Gitlab, and source hut, as well as the other lighter-weight systems do provide pressure to Github - so even if I don't use them again their existance is useful.
curl -s https://raw.githubusercontent.com/profclems/glab/trunk/scripts/quick_install.sh | sudo bash
Well if Rust does it, then it must be just fine ...