News for hackers. Stuff that matters.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by cj on Tuesday September 17, 2019 @10:13AM (#20995289)
Question to current Gitlab users: Why do you use Gitlab instead of Github? What are the killer features that make it worth switching to?
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by sstangl on Tuesday September 17, 2019 @10:20AM (#20995401)
We switched to Zulip because of a bad experience with Slack holding our message history hostage. At the same time we switched to GitLab because we didn't want a similar issue to arise with our issue tracker.

It was non-trivial to get the issues out of GitHub, and we lost metadata in the process. But now we're on a platform that has an "Export Everything" button, and in the worst case we can self-host our own data.

Although that's why we moved, and we didn't know about it at the time, "Service Desk" became a killer feature. That lets users file issues directly into our GitLab issue tracker by sending an email -- no account setup necessary. The majority of our users are non-technical and this has made it much easier for them to communicate with us.

Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by lucideer on Tuesday September 17, 2019 @10:33AM (#20995566)
Reasons for initially switching to Gitlab:

- Pricing structure made much more sense than Github's at the time. I would've been willing to pay for Github, but their pricing for private repos (now unlimited on the free plan) scaled steeply for any reasonable number.

- In addition to private repos, their free plan still offers many features that Github's free plan lacks, and their paid plans have many more features again than Github (Github focuses on polish, while Gitlab bundles the kitchen sink). While they may lack polish, some of these features are genuinely useful. Particularly around CI. Github's Actions API is an embarassingly recent addition.

- Gitlab Sites: their answer to Github Sites is an underadvertised and wickedly powerful feature. Github Sites really pales in comparison.

Reasons for staying:

- Responsive / active / communicative support team. Getting talking to Gitlab staff is incredibly easy.

- Proactively/playfully innovative culture, evident on tickets and MRs throughout their projects. I also really liked their approach to GithubLab: https://hub.gitlab.com/

- Transparent process. Finding out what's cooking in Github is frustratingly impossible, and why Github holds off supporting seemingly obvious things for eternity is just odd.

- The warm fuzzy feeling of storing my code on an open-source stack.

Reasons for wanting to leave:

- Stability and site performance have always been and continue to be abysmal. This seems to be a result of a reasonably good team being lost in a sea of complexity in a platform on which new features are prioritised over a simplified architecture. They do seem to spend a lot of time working on polish and performance, but never actually managing to achieve either of these things.

Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by danShumway on Tuesday September 17, 2019 @11:04AM (#20995985)
I was going to comment, but this sums up my thoughts as well. Agreed on pretty much every front, including the stability/performance concerns.

I will add that, while this is subjective, I also think that Gitlab has a nicer interface and is better organized. On top of everything parent mentions, there's a lot of subtle stuff like this that makes me stay.

Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by mcintyre1994 on Tuesday September 17, 2019 @10:46AM (#20995730)
I haven't tried Gitlab sites yet - what makes it better than Github's?
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by lucideer on Tuesday September 17, 2019 @11:03AM (#20995976)
Note: I haven't yet looked into Github Actions in depth, so if there's GH Pages integration there, some of the below may no longer be true.

Github's is tightly coupled to Jekyll, and—more specifically—to this single Gem https://github.com/github/pages-gem Also, this might have changed, but last time I interacted with it, it lacked any real control over your source repo structure: there's some arcane rules about either giving it a certain name under a certain GH org, or using a specifically named branch (`gh-pages`).

Github were also pretty lax about adding HTTPS support to custom domains their Pages service.

In comparison, GL pages allows:

- using any SSG[0]

- writing your own custom SSG (even integrated/including in your repo itself)

- automatic LetsEncrypt renewal for custom domains

- out-of-repo secrets management for any tasks within your SSG build/deploy steps

[0] https://about.gitlab.com/2016/06/17/ssg-overview-gitlab-page...

Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by mcintyre1994 on Tuesday September 17, 2019 @05:52PM (#21000469)
Thanks for the response! Reading through their docs it looks really nicely integrated with all the CI stuff there, a good example of them taking advantage of all the flexibility and power that has. Nice!
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by frenchyatwork on Tuesday September 17, 2019 @01:10PM (#20997536)
> automatic LetsEncrypt renewal for custom domains

Really, is this new? I wasn't aware of it.

Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by Already__Taken on Tuesday September 17, 2019 @03:32PM (#20999164)
I want to say this is about 6/mo new guessing from when I wanted it to when I realised it had been added.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by frenchyatwork on Wednesday September 18, 2019 @03:56PM (#21009373)
Oh, I was thinking of letsencrypt support directly in gitlab pages.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by Already__Taken on Wednesday September 18, 2019 @06:28PM (#21011055)
No you're correct, gitlab pages now does that. I was trying to do it with CI jobs but now it's native.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by mroche on Tuesday September 17, 2019 @11:42AM (#20996540)
Same here, though I can’t say I’ve seen the same issues with performance as others. Maybe because I’m not reading through several thousand line files, but loading the site and files is pretty snappy over here. It’s not like a static site, but I’m never twiddling my thumbs. The GitLab site itself is a bit slow, but self hosted never seen wait times.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by neuland on Tuesday September 17, 2019 @10:40AM (#20995654)
We use GitLab because you can self-host it. GitHub is not an option for us, because we must maintain control of our data and source code. So GitHub was never really an option.

But we'd likely be using GitLab even if we didn't have this limitation. There's a bunch of features that make GitLab better for our specific team / situation. From my personal experience, GitLab CI is better than CI options available on GitHub. We use gitflow (ie. feature branches in the same repo), rather than pull requests. And it seems like GitLab supports this flow well.

I also tend to like GitLab issues much better than GitHub. The time tracking feature in EE is really useful (not sure if GitHub uses this). And issue boards across projects is also a very popular thing where I'm at, because we have lots of repos, rather than fewer big ones.

We also heavily use the deployment / environment features and built-in prometheus.

Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by bamboozled on Tuesday September 17, 2019 @10:47AM (#20995743)
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by sancha_ on Tuesday September 17, 2019 @11:06AM (#20996018)
I believe self-hosting is a pretty new option. Gitlab always had it afaik.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by trumbitta2 on Tuesday September 17, 2019 @11:21AM (#20996218)
Self-hosted GitHub enterprise exists since like 5 years ago.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by orf on Tuesday September 17, 2019 @01:54PM (#20998107)
Yes, a product that is twice as expensive as Gitlab and has like 10% of the features.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by irq11 on Wednesday September 18, 2019 @12:35PM (#21007081)
So you (like 95% of the commenters here) prefer Gitlab be cause it’s cheap.

Bodes well for the business model. Commodity pricing only works when the market gets bigger as the price goes down. Otherwise, it’s just a race to the bottom.

Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by orf on Wednesday September 18, 2019 @06:14PM (#21010893)
No, that's not what I said at all. I like it because it's fantastic value for money based on the features you get included with it, all in one place.

It's better than paying for 10 individual tools that don't work well together.

Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by Townley on Tuesday September 17, 2019 @10:18AM (#20995370)
I want to say it's the freedom to self-host, but really it's the CI.

Throwing a .gitlab-ci.yml file into my repo is by far the easiest way to get CI/CD incorporated into a product. The configuration of test runners (or lack thereof) is both a breeze and extremely powerful.

I'm not even talking about the auto-devops thing that I haven't tried; writing your own gitlab-ci file worked in frictionless ways that CircleCI, Travis, and (especially) Jenkins didn't.

Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by jl-gitlab on Tuesday September 17, 2019 @10:23AM (#20995449)
PM for CI/CD here, thanks so much for your feedback! As much as I'm excited about how much you love the product, we can always do better and I'd love to hear your thoughts. Ping me any time (@jlenny) on any issues that are important to you that would make things better.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by nwellnhof on Tuesday September 17, 2019 @10:38AM (#20995638)
Do you have any plans to support matrix builds? I know that they can be emulated with anchors but Travis CI's matrix feature seems a lot nicer.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by bamboozled on Tuesday September 17, 2019 @11:31AM (#20996370)
How is CircleCI not easy to use? It's honestly the easiest and most feature complete CI system I've ever used.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by danShumway on Tuesday September 17, 2019 @11:27AM (#20996312)
Agreed. The big thing is that when I'm starting a Node project, Gitlab's CI setup is like 5 lines in a text file and takes me literally about 30 seconds to set up. It's stupidly easy.

This has been a huge influence in me doing more automatic testing on personal projects and using merge-based workflows more often.

Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by trumbitta2 on Tuesday September 17, 2019 @10:18AM (#20995359)
The "Create merge request" (from issue) button.

It creates a new branch, with a smart name like 123-my-issue-title, and a new "pull request" for that issue and branch.

Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by ndarwincorn on Tuesday September 17, 2019 @11:40AM (#20996526)
A neat hidden feature (AFAIK, maybe it's buried in documentation) is that if you branch locally and name it [issue number]-branch-name, pushing that branch and opening an MR from it will automatically tie it to [issue number] for the same workflow.

Handy for those situations where you started writing code before opening an MR.

Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by veritas3241 on Tuesday September 17, 2019 @10:27AM (#20995504)
I love that you highlighted this! This is basically a mandatory part of the data team's workflow. Once the MR is open we then spin up a clone of our data warehouse tied to that git branch where all the CI jobs run. I like that it will automatically close the issue too once the MR is merged.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by galacticdessert on Tuesday September 17, 2019 @10:25AM (#20995473)
Agree. This is indeed a nice tidy workflow. I usually just create a bunch of issues to have a visual representation of what is missing in a project, sort them in a board and then work through them.

Issues are good place for asking input and feedback, and also help in keeping feature branches focused and short lived. Definitely my favorite git workflow.

Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by willis936 on Tuesday September 17, 2019 @10:20AM (#20995404)
This sounds similar to Atlassian’s Jira/Bitbucket integration without the jira.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by ndarwincorn on Tuesday September 17, 2019 @11:38AM (#20996492)
GitLab's value prop can be more or less summed up as 'everyone else gives you ala carte tools, we give you one that's unified'.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by barkerja on Tuesday September 17, 2019 @10:18AM (#20995371)
I'm not currently using Gitlab anymore, but in the past, it was their CI that won me over. I was always felt left wanting more though because there wasn't a true sense of community/explore.

If there's one thing I value most about Github today it's the ability to easily discover new projects and human beings; and Github helps tremendously with that whereas Gitlab I feel like you end up fighting the system to discover new and interesting things and people.

Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by mcv on Tuesday September 17, 2019 @10:27AM (#20995507)
You make Github sound like a social network. A good one, I mean.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by barkerja on Tuesday September 17, 2019 @10:47AM (#20995756)
Heh, in a way. But I do give a lot of credit to Github for exposing me to some really cool and interesting projects. It does a decent job of knowing what I consider relevant, and surfacing projects/humans that fit the bill.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by skrebbel on Tuesday September 17, 2019 @12:39PM (#20997218)
Back when social networks were the new hip thing in startup land and dev tools were not, GitHub ran the tagline "Social Coding".
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by thanatropism on Tuesday September 17, 2019 @10:40AM (#20995651)
I've seen some non-technical job applications that have an entry for a Github username.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by Merad on Tuesday September 17, 2019 @02:21PM (#20998449)
Our devops team loves Gitlab pipelines and pushed the decision through. If you're looking for a "killer feature" on Gitlab, pipelines is probably it.

As a developer I don't think there's a huge difference, especially since we don't use the issue tracking or wiki stuff (we're all in Jira/Confluence). My main complaint about Gitlab is that there are a lot of places where the UI is rough around the edges (lots of pages lack or have very minimal search/sort options) or has outright bad UX, as well as lacking some features that feel pretty basic to me.

My main complaints about Gitlab at the moment:

* Lack of search/sort, as mentioned above

* We created teams in Gitlab to mirror our scrum teams... when you look at the team list in Gitlab, it shows everyone who has access to the team, which is our whole damned Gitlab account. The only way to find the actual team members is to scroll down the list looking for users with a delete icon by their name (which removes them from the team).

* If you want to set a required number of approvals on merge requests, you also have to set the list of reviewers. I wanted to set two required approvers but let the devs assign who (normally their team)... no can do.

* Poor support for making merge requests build the result the merge (instead of just the branch). We've tried setting it up a couple of times, but usually end up with MR's hung because Gitlab doesn't firing the right builds and end up having to turn it off.

* If you have the server squash commits when closing a MR there's no way to set the commit message in advance; you have to type in the message just before you click the merge button. This wouldn't be an issue if it defaulted to using the MR description as the commit message, but it doesn't do that either...

Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by emilycook on Tuesday September 17, 2019 @04:48PM (#20999908)
Hi! GitLab employee, thank you for your feedback! I'm going to distribute it to the correct teams, but I wanted to respond to a few points:

> when you look at the team list in Gitlab, it shows everyone who has access to the team

This has been an ongoing issue for a while, but a fix is currently scheduled for 12.4: https://gitlab.com/gitlab-org/gitlab-foss/issues/44958

> server squashing commits

You don't have to provide a custom squash message, and the default behavior will be either (a) taken from the first multi-line commit message in the merge, or (b) the merge request’s title if no multi-line commit message is found.

Documentation: https://docs.gitlab.com/ee/user/project/merge_requests/squas...

The original issue around this: https://gitlab.com/gitlab-org/gitlab-foss/issues/47149

Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by Merad on Tuesday September 17, 2019 @05:19PM (#21000196)
Thanks for taking the time to respond!

Re squash commits: as a MR author what I want is the ability to set the commit message in advance (even if it's just a check box to say "use the MR title and description". Using a commit message is a sane default behavior, but not extremely helpful most of the time (IMO). If I'm going to rely on it for the message in my squashed commit I'm going to have to remember to check my branch history, and most of the time I'll probably have to do an interactive rebase to clean things up and ensure Gitlab grabs the correct commit message. It also negates the value of "squash on the server" - if I need to do an interactive rebase anyway, it only requires about 30 seconds extra to just do the squash myself.

Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by emilycook on Tuesday September 17, 2019 @05:32PM (#21000298)
Ahh gotcha, you seem to have pretty much the same feedback as this comment: https://gitlab.com/gitlab-org/gitlab-foss/issues/47149#note_.... Commenting on this issue (and tagging @ntepluhina, one of the owners of the issue) with your feedback would be the best way for someone to see it! I can pass on the info too, but issue comments take precedence when we're prioritizing.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by peterwwillis on Tuesday September 17, 2019 @10:19AM (#20995386)
Basically, corporate people are allergic to paid managed services and are afraid of proprietary lock-ins (unless a VP heard it was what all the other VPs were doing). If the open source software has support contracts, and is cheaper, they leap on it. We're actually moving off GitLab onto Github, because it's just... better. Not only because managing it internally sucks, but also Github is just more polished. Still won't pay for GitHub Enterprise though, because we're cheap.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by LennyWhiteJr on Tuesday September 17, 2019 @10:24AM (#20995459)
Can self-host behind an enterprise firewall and get all the benefits of open-source software model within the company without exposing proprietary software projects to the whole world.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by jfim on Tuesday September 17, 2019 @10:26AM (#20995484)
There's GitHub Enterprise if one wants to self host.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by markus92 on Tuesday September 17, 2019 @12:30PM (#20997110)
True but being able to test it a bit on a small team is a big help. Migration from CE to EE is relatively easy and demonstrating CE to management helps a lot.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by config_yml on Tuesday September 17, 2019 @10:18AM (#20995363)
We can self host it, it had (and still has) a great CI (before GitHub had it) and personally it had free private repos before GitHub had it.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by tombert on Tuesday September 17, 2019 @10:27AM (#20995500)
I'll admit that I mostly switched because of the MS buyout of Github.

The issue wasn't specifically because I have any particular issues with MS, but more due to the fact that Github can be bought. I felt like the epicenter of open-source software should be built on something open-source, especially when that open-source thing has nearly 1-to-1 feature parity.

I know Gitlab has a fair amount of proprietary stuff, but at least I can build my own Gitlab server for free on my own hardware if I decide that I really hate their free hosting.

Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by jakeinspace on Tuesday September 17, 2019 @10:19AM (#20995379)
My employer uses gitlab for most internal projects because of ITAR and other legal restrictions (aerospace). No external hosted services allowed, except obviously for released open source code.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by skrebbel on Tuesday September 17, 2019 @12:45PM (#20997274)
Wait, the rule says everything must be locally hosted, except if it's open source - then cloud hosted saas is fine? Can you explain the rationale?
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by jakeinspace on Tuesday September 17, 2019 @02:36PM (#20998610)
If it's open source then necessarily it's been approved by export control. Anything open-sourced obviously can't contain ballistic information which would violate ITAR. But by default, all internal software and documents/documentation related to spacecraft/aircraft are assumed to be sensitive until they've gone through the export control process.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by james-skemp on Tuesday September 17, 2019 @10:26AM (#20995482)
At work: our campus has a local instance running, likely for code security issues, and so it integrates with our login service. Integrates nicely with JIRA and TeamCity as well.

Personally: I leverage both GitHub and GitLab. GitHub has the greater community, but GitLab Pages is far easier to use. So my workflow process is to have GitLab mirror GitHub repos.

Free private repos was a feature of GitLab, but once GitHub implemented that it just resulted in me dropping the paid tier I was on.

So I guess GitLab Pages is the feature I use it for the most.

Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by jdcaron on Tuesday September 17, 2019 @10:16AM (#20995335)
It's open source and extensible.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by vorpalhex on Tuesday September 17, 2019 @10:30AM (#20995536)
Built in CI that you can run on your own servers trivially, free (private) docker image repo, great support for "teams", even free ones, which allows me to offer my CI boxes to my friends for their side projects.

I've had a few vague uptime issues whenever they get a big spike in popularity, but otherwise no complaints.

Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by camjohnson26 on Tuesday September 17, 2019 @10:18AM (#20995357)
Private Repos by default, not owned by Microsoft, alternative to the established player, built in CI features.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by LanceH on Tuesday September 17, 2019 @10:52AM (#20995824)
I first used it for a free repo.

After using it, it just had a better vibe. Features seem similar enough for me, but it seems like Gitlab just lined up with what I want more than Github.

An example of this is the default page when I log in. On Github I'm given my activity feed -- which 90% of the time is absolute noise. Gitlab presents me with a list of repos, which is typically what I want.

Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by showerst on Tuesday September 17, 2019 @10:18AM (#20995367)
It's easily self-hostable.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by jeena on Tuesday September 17, 2019 @10:54AM (#20995859)
Self hosting is super easy with docker https://docs.gitlab.com/omnibus/docker/
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by the_jeremy on Tuesday September 17, 2019 @11:45AM (#20996582)
Gitlab-CI is easy(ish) to learn and extremely well documented. The built-in container registry and artifact repo are super useful.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by sashk on Tuesday September 17, 2019 @10:40AM (#20995658)
We need on-premise installation of Gitlab. Github enterprise was too expensive for a small team. Integrated CI/CD is a plus.