Time to federate repos?
Programming
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
GitLab has been working on support for ActivityPub/ForgeFed federation as well, currently only implemented for releases though.
The chances of a deal are said to be weeks away, if not non-existent.
What kind of non-sentence is that?
It's an existing sentence if it's not non-exisent.
Big if true and big.
Seems like a perfectly cromulent English sentence to me.
It's what they most not the least
The kind of sentence you write when you're still 20 words from the target your editor set for the article
The chances of the coin flip yielding heads are roughly 50%, if coins don't not exist.
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"
It feels like it's saying "if rumors are true, the deal is weeks away." A reminder that it might not be the case.
Fuck
I literally made an account the day before and transferred from GitHub, then wake up and see this. FFS just my luck.
Codeberg!
Wait, this is YOUR fault?!! 😋
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.
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.
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
Email is confusing? Since when?
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.
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.
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?
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.
You can leave comments on a commit message. What do you mean exactly?
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.
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.
FYI you can self-host GitLab, for example in a Docker container.
It's the worst example, but it's an example, sure.
Much like that comment. Can you give a better example, or express why it's a bad example? That would bring some quality in.
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.
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.
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
Ive been meaning to move to codeberg, self hosted forgejo, or sourcehut so this will only accelerate that if things get worse.
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
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.
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.
Love me some codeberg.
An other one bites the dust :'(
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...
It’s not a dealbreaker for me but I feel your pain. Getting everything organized in Gitlab is a pleasure.
GGs
ಠ╭╮ಠ