- cross-posted to:
- programming@programming.dev
- cross-posted to:
- programming@programming.dev
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.
Even just being able to view the source code without cloning is very valuable. A bare repo does not provide that.
Ive used this before: https://git-scm.com/docs/gitweb
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.
deleted by creator
So, Fossil is perfect?
Fossil has a lot of features and config knobs.
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.
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.
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.
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.
Why use Git at all then? I thought the one reason why everyone wants to use Git these days are the forges.
Did you read the article? The author shares their perspective.
For me, Git is quite powerful on its own with version control, diffs, branches, merging, etc. Forges just add a UI for some of these things, and add an issue tracker/ discussion/etc. Forges also add a more modem ui for repo access though git does have its own webserver you can use. I use git without a forge for a number of my personal projects that I’m not sharing with others or not yet sharing
Git is quite powerful on its own with version control, diffs, branches, merging, etc.
All version control systems do that, hence my question.
Git was conceived as a bazaar (because of its use for the Linux kernel), but most projects are more like cathedrals. In my opinion, Git is simply over-engineered for most projects. For projects that you don’t want to share with others, even CVS would probably suffice…
Well just speaking for myself, i use git without a forge for personal stuff because i was already familiar with git and it fits my needs. No need to learn another version control system for some basic projects i throw together
The biggest thing git does is one person can get one or many branches (AKA version control) on ANY machine. They all act like they are the source of truth. CVS/
Mercurial/etc…all have the issue that they expect to be on one machine as the source of truth. And if that machine ever goes down…Before git (ya im old), I used a plethora of services like git. There were times back then when a server was down and the history…was just gone.
Mercurial is decentralised, there is no single “source of truth”. (Not counting “upstream”, of course.)
Huh interesting, maybe it was the way we used it 15-20+ years ago or maybe it changed. No clue. But yes you are correct.
Both Mercurial and Git started around the same time as a replacement for BitKeeper - which also was decentralised.
I agree, but subversion is awesome!
It sure is! Glad I’m not alone. :-)
To track changes to a project. You know, the thing Git has been made for.
There is a difference between “not using a VCS” and “using Git”.
Ha! No.
Git experience is highly transferrable. Unless you have some specific use case not supported by Git, why wouldn’t you use the one where the knowledge is most likely to carry over between projects/jobs?
I am one of those weirdos who prefer the best tool for a job, not the most popular one. And Git is - for me and my projects with exactly one branch (“trunk”) and three or four other contributors, with me being the BDFL - the worst choice.
distributed, asynchronous collaboration and versioning.
Or do you wanna send zipped up sourcefiles “project_dev_0.9.6.2_developername_featureID.zip” per email to a dozen colleagues who then have to manually merge it into their current WIP?
There is a difference between “not using a VCS” and “using Git”.
Let me make it clear to you then.
Why use Git at all then?
For it’s VCS features.
I thought the one reason why everyone wants to use Git these days are the forges.
You thought wrong. Git is not wanted exclusively for the forges, but also for it’s VCS capabilities.
Which VCS capabilities make Git stand out in comparison to all other DVCSs if you don’t need a web UI?
Personally:
I am used to git. When I don’t need the webUI, I would stick with git because it is already familiar to me.
Makes sense.
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
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.
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.
A self-hosted sourcehut instance might be what you are looking for.
All features work without JavaScript
That’s great