this post was submitted on 22 Apr 2025
45 points (90.9% liked)

Programming

19752 readers
90 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 [email protected]



founded 2 years ago
MODERATORS
45
Git without a forge (www.chiark.greenend.org.uk)
submitted 2 days ago by maxint to c/programming
top 50 comments
sorted by: hot top controversial new old
[–] ulterno 2 points 1 day ago (1 children)

I had been thinking of self-hosting my little repos and realised GitLab was too heavy for my taste.

Just needed a code browser.

A forum alongside with connections to the repo would be good, but again, gets heavy.

[–] [email protected] 3 points 1 day ago (1 children)

A self-hosted sourcehut instance might be what you are looking for.

[–] ulterno 2 points 1 day ago

All features work without JavaScript

That's great

[–] [email protected] 23 points 2 days ago (2 children)

Can you use git without a forge? Sure. As long as you don't give a hoot about the entry barrier. But for any open source project were you want to encourage contribution you better have a nice presence on a forge.

[–] [email protected] 5 points 2 days ago

i feel like this just keeps happening in the open source space, people go "Oh this is bloat, get rid of the bloat" and ardently insist that actually it's better to use a bare TTY, despite that just.. obviously being hilariously dumb?

[–] Kissaki 13 points 2 days ago (1 children)

Even just being able to view the source code without cloning is very valuable. A bare repo does not provide that.

[–] [email protected] 25 points 2 days ago* (last edited 2 days ago) (2 children)

I worked at a place that just had a git on a sftp server and that was it. Worked well in a small team. Git is made for it.

Having a separate issue tracker turned out to not be a big deal at all. Theres a lot of niceties github has, but it turns out you really dont need a whole bunch to make good software.

Nowadays i would probably go with gitea or forgeo if I had to self host, but git by itself is perfectly fine.

[–] Kissaki 11 points 2 days ago (2 children)

Did you not do code reviews? It's the main thing I would miss. Being able to comment in-line, and manage iterations, is very valuable to me.

[–] [email protected] 6 points 2 days ago

We did. You bring down the branch and then discuss. We used jetbrains and it had a function like that. But it was a while back.

[–] [email protected] 1 points 2 days ago (1 children)

Gerrit still exists for that. Whether it's currently best, idk.

[–] Kissaki 2 points 2 days ago (1 children)

Gerrit is a hosted service, no?

[–] [email protected] 1 points 2 days ago (1 children)
[–] Kissaki 2 points 2 days ago (1 children)

Their comment was about not having any hosted service though.

[–] [email protected] 1 points 1 day ago (1 children)

What does that even mean? If it's a service, it's a program running on some computer somewhere. Is that not hosting?

[–] Kissaki 1 points 1 day ago* (last edited 1 day ago) (1 children)

They were talking about hosting the git repository via sftp - so bare file transfer - a bare repository. And how that was enough for them.

While that is also hosted, and hosted through a service, it's only a file transfer service and hosting.

That means specifically without a hosted service like a forge or gerrit.

Which is why I was interested in how they handle stuff that is usually done through such forges and services / hosted software.

[–] [email protected] 2 points 1 day ago

Oh I see. The Linux kernel has been doing fine with mailing lists (LKML) for decades, if that helps.

[–] [email protected] 3 points 1 day ago

To anyone saying it's dumb not to use a forge, have you heard of a little open source project called Linux ? It does not use a forge either

[–] gsv 8 points 2 days ago (1 children)

Appreciate the KISS perspective.

For me, the project management features of a forge are extremely helpful. Setting milestones, assigning issues to them, defining timelines and regularly reiterating the planning has proven to accelerate our work as a team significantly. This experience refers to huge code bases (climate models) and medium to large team sizes, though. And probably also my bad memory 😵‍💫

I suppose it’s always good, though, to evaluate how much management a code will actually need in the end, and what tools correspond to that need.

[–] [email protected] 5 points 2 days ago

Yep. Glad he's got a system that works for him, but as a solo dev I love my Forgejo. I self host it, (so no Trust issues) and if you've hosted any other services before, the setup is a simple Docker compose - so I'm not sure I accept the Heavyweight argument either.

[–] Kissaki 3 points 2 days ago

Funny how this shows up as cross-posted to the same community when there's been a post about it two months ago.

It shouldn't be labeled "cross-"post, but the linking to earlier discussion is certainly valuable and useful.

I remembered this post.

[–] FizzyOrange -1 points 2 days ago (1 children)

Pretty dumb not to use a forge. Adds a huge barrier to contribution for little benefit. None of the reasons he gives make sense.

Maybe a good option for projects that you don't want anyone else to contribute to, but then why make them open source in the first place?

Not using GitHub because it's proprietary is an especially illogical stance. Virtually all websites are proprietary.

[–] [email protected] 9 points 2 days ago (1 children)

Maybe a good option for projects that you don't want anyone else to contribute to, but then why make them open source in the first place?

Because, at least to some people, open source is more about user freedom (to modify the software and share the modifications with anyone they wish) and less about collaboration.

For example every time I publish some simple utility that I wrote for myself and decided could be useful for other people, I release it under a reasonable open source license and pretty much forget about it - I'm not going to be accepting merge requests, I don't have time to maintain random tiny projects. If I ever need to use the utility for something it doesn't quite do, I'll check if any of the forks seem to have implemented it. If not, I'll just implement it in my repo.

The reason I'm publishing the code is because I know how much it sucks when you find some proprietary freeware utility that almost does what you need, but you can't fix it for your usecase on account of it being proprietary for no reason (well, author's choice is the reason, and I respect it, but it's still annoying)

[–] FizzyOrange 4 points 2 days ago

That's a fair point. I don't think that's the case here because he talks about all the bad ways he prefers to receive contributions (email, patch files, git bundle etc.).

load more comments
view more: next ›