this post was submitted on 29 Jul 2024
241 points (100.0% liked)

Programming

423 readers
1 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] Outsider9042@aussie.zone 84 points 3 months ago (3 children)
[–] ace@lemmy.ananace.dev 7 points 3 months ago

GitLab has been working on support for ActivityPub/ForgeFed federation as well, currently only implemented for releases though.

load more comments (2 replies)
[–] GrappleHat@lemmy.ml 71 points 3 months ago (7 children)

The chances of a deal are said to be weeks away, if not non-existent.

What kind of non-sentence is that?

[–] holycrap@lemm.ee 29 points 3 months ago (1 children)

It's an existing sentence if it's not non-exisent.

[–] leisesprecher@feddit.org 19 points 3 months ago

Big if true and big.

[–] tatterdemalion@programming.dev 17 points 3 months ago (1 children)

Seems like a perfectly cromulent English sentence to me.

[–] GrappleHat@lemmy.ml 10 points 3 months ago

Looked up "cromulent" in the dictionary. Wasn't disappointed!!

[–] pelotron@midwest.social 9 points 3 months ago

It's what they most not the least

[–] ElCanut@jlai.lu 7 points 3 months ago

The kind of sentence you write when you're still 20 words from the target your editor set for the article

[–] 0x0@lemmy.dbzer0.com 3 points 3 months ago

The chances of the coin flip yielding heads are roughly 50%, if coins don't not exist.

[–] red_pigeon@lemm.ee 2 points 3 months ago

It means when the author was waiting for his order at Popeyes, the guy in front who did small talk with him introduced himself as a Gitlab employee and told the author "Gitlab might sell in weeks. It is a deal or no deal"

[–] JackbyDev@programming.dev 1 points 3 months ago

It feels like it's saying "if rumors are true, the deal is weeks away." A reminder that it might not be the case.

[–] AlexWIWA@lemmy.ml 32 points 3 months ago (1 children)
[–] koalaSunrise@programming.dev 1 points 3 months ago (2 children)

I literally made an account the day before and transferred from GitHub, then wake up and see this. FFS just my luck.

[–] JackbyDev@programming.dev 1 points 3 months ago
[–] EddyNottingham@lemmy.ml 1 points 3 months ago

Wait, this is YOUR fault?!! 😋

[–] Aatube@kbin.melroy.org 28 points 3 months ago (2 children)

I feel like sourcehut really ought to be mentioned more. It federates issue and PRs by email and has a wonderful interface while not having any ads—which is why hosting one's own repo (and their CI and IRC but nothing else) requires $2 a month, unfortunately.

[–] lysdexic@programming.dev 10 points 3 months ago

I don't think it makes any sense to mention source hut because none of the features you mentioned are killer features (or relevant. Why should I care about implementation details of feature tracking?) and it completely fails to address GitLab's main value proposition: it's CICD system.

Anyone can put up any ticketing system. They are a dime a dozen. Some version control systems even ship with their own. CICD is a whole different ballgame. It's very hard to put together a CICD system that's easy to manage and has a great developer experience. Not even GitHub managed to pull that off. GitLab is perhaps the only one who pulled this off. A yams file with a dozen or so lines is all it takes to get a pipeline that builds, tests, and delivers packages, and it's easy to read and understand what happens. On top of that, it's trivial to add your own task runners hosted anywhere in the world, in any way you'd like. GitLab basically solved this problem. That's why people use it.

[–] morrowind@lemmy.ml 5 points 3 months ago (1 children)

Using email for anything is a non-feature for me. I want nothing to do with that outdated, confusing piece of tech that has been shoved in all sorts of places it doesn't belong

[–] Aatube@kbin.melroy.org 1 points 2 months ago (1 children)

Email is confusing? Since when?

[–] morrowind@lemmy.ml 1 points 2 months ago

Since forever. It's very slow, I'm still not sure replying is actually in the spec or email clients fake it with Re: and then force you to quote the entire history of the conversation back and forth. Also very easy to break if you don't like the Re: or something. People are constantly replying to the wrong person or persons, sometimes even to themselves. You have weirdly named fields "cc" and "bcc" that are present all the even though I use them like 4x and 1x a year, respectively. You can't unsend or delete emails.

And all this is before I get into doing git or calendars over email.

Email is in fact one of the reasons I'm not sure I want the fediverse to succeed right now, because then all the faults of activitypub will be forced on us for centuries, like they are with email.

[–] aport@programming.dev 21 points 3 months ago (2 children)

GitLab still doesn't even support leaving comments on a commit message. Like, what? GitLab and GitHub have all these fancy shiny features but still suck at offering basic code review functionality.

I never understood the appeal.

[–] allywilson@lemmy.ml 21 points 3 months ago (2 children)

I mean, I get it, but that's also not a thing of git, right? Just because GitHub does something doesn't mean every other hosting provider needs to. If your code review process is to comment upon specific commits, maybe it's the code review process that's wrong?

[–] 0x0@lemmy.dbzer0.com 4 points 3 months ago

Git kinda has it? Have you seen git notes? https://git-scm.com/docs/git-notes

[–] aport@programming.dev 2 points 3 months ago

GitHub doesn't let you comment on the commit message either. The only one I've seen do this properly this is Gerrit. And of course regular old mailing list reviews.

There are so many blogs and posts about writing good commit messages, using Conventional Commits, etc, and the two most popular forges don't even let you comment in-line on the commit message during a review.

[–] FizzyOrange@programming.dev 3 points 3 months ago (1 children)

You can leave comments on a commit message. What do you mean exactly?

[–] aport@programming.dev 3 points 3 months ago* (last edited 3 months ago) (1 children)

You can not highlight text in a commit message and leave an in-line comment in the same way you can for code changes in the diff.

Edit: https://gitlab.com/gitlab-org/gitlab/-/issues/19691

[–] FizzyOrange@programming.dev 3 points 3 months ago

Ohhhhh you can't comment on a specific line of a commit message. I see. I mean... yeah I guess not. That seems like a super niche feature though. How long are your commit messages? I've never even tried to do that. Commit messages are short enough you can pretty much just write a normal message not tied to a specific line.

There are waaaaay bigger issues with Gitlab. Here's one I ran into recently, you can't search for pipelines. It's got a search box and everything but you literally can't search; only filter. So stupid.

I actually just went to take a look at Gitlab issues I have commented on to see what my worst ones are. Guess what.... you can't even search for issues you have commented on!!!

Still, overall it's the best self-hostable option out there at the moment IMO. I guess Forgejo (truly abysmal name) may overtake it at some point.

[–] Spzi@lemm.ee 21 points 3 months ago (2 children)

FYI you can self-host GitLab, for example in a Docker container.

[–] wewbull@feddit.uk 28 points 3 months ago

Or you could make your life a lot easier and use Forgejo

[–] corsicanguppy@lemmy.ca 4 points 3 months ago (1 children)

It's the worst example, but it's an example, sure.

[–] Spzi@lemm.ee 20 points 3 months ago (1 children)

Much like that comment. Can you give a better example, or express why it's a bad example? That would bring some quality in.

[–] technom@programming.dev 6 points 3 months ago (1 children)

Gitlab is very complex and a heavy resource hog. You probably don't need it. Most small to medium enterprises can comfortably host their projects on lightweight forgejo or gitea (speaking from experience). They even have functionality similar to github actions. If you need anything more complex, you are better off integrating another self hosted external service to the mix.

[–] FizzyOrange@programming.dev 1 points 3 months ago

In my experience the other alternatives tend to lack solid CI integration. I have yet to find an open source alternative as good as Gitlab's.

[–] ulkesh 18 points 3 months ago

Don’t worry everyone! It’ll get bought by some investment firm or by a large company (Microsoft [to shutter it], Google, etc) and everything will be just fine.

Right?

sigh

[–] starshipwinepineapple@programming.dev 15 points 3 months ago* (last edited 3 months ago) (2 children)

Ive been meaning to move to codeberg, self hosted forgejo, or sourcehut so this will only accelerate that if things get worse.

[–] morbidcactus@lemmy.ca 8 points 3 months ago (1 children)

I just flipped my home git to forgejo from gitlab, gitlab just had a bunch of features I wasn't using, forgejo was easy to setup and it has a nice interface. I'm just using it for source control right now, still probably huge overkill but eh

[–] Myaa 3 points 3 months ago (1 children)

How did you set it up? I've been wanting to setup forgejo in a docker container but wasn't sure how easy the process is.

[–] morbidcactus@lemmy.ca 3 points 3 months ago

I was originally going to to go the docker route but honestly just ended up going the binary route and leaving it using sqlite as it's good enough for now. It's pretty well documented and a chunk of the prereqs I already had, like the git user creation.

Did have SSH auth issues though, probably becauae I didn't fully cleanup after uninstalling gitlab (oops), had them in parallel for a bit to migrate the repos, gitlab had it trying to use gitlab-shell which didn't exist anymore. Probably a better/proper solution but what worked was changing the git user's home directory back to /home/git as gitlab had it using a gitlab config directory. I welcome anyone giving me a better/cleaner solution for this, on my to do list to do some more cleanup.

[–] nullpotential@lemmy.dbzer0.com 3 points 3 months ago

Love me some codeberg.

[–] wersooth@lemmy.ml 15 points 3 months ago

An other one bites the dust :'(

[–] onlinepersona@programming.dev 13 points 3 months ago* (last edited 3 months ago) (1 children)

Fuck. No other source forge supports groups or orgs with hierarchical projects 🫤 Gitea and Forgejo went hard on being github clones, so they're off the list. Are there any other alternatives? I don't want to have to bash together scripts to make something...

Anti Commercial-AI license

[–] dallen@programming.dev 6 points 3 months ago

It’s not a dealbreaker for me but I feel your pain. Getting everything organized in Gitlab is a pleasure.

[–] shekau@lemmy.today 7 points 3 months ago
[–] UndercoverUlrikHD@programming.dev 7 points 3 months ago* (last edited 3 months ago)

ಠ╭╮ಠ

[–] three@alpines.club 4 points 3 months ago

@obbeel Oh that's not a good sign

load more comments
view more: next ›