by gregmac · 4y ago · 0 comments
I don't like the monoculture either, but at this point some knowledge of git is an essential skill. In fact pretty much the only chance you have of avoiding git would be to build your own stuff on something else, hire/collaborate only with others who share the same view, and never interact with basically any other open source.
So given some git knowledge is necessary anyway, there are alternatives interfaces to git that solve the simplicity problem, and any other tool is going to have friction (small ecosystem, few integrations, smaller community), why use something else? (I mean this genuinely)
I just don't see the dominance of git changing for the next decade, especially if there's no answer to my first question (for whatever aims to replace it). It's not even like there's git lock-in: it could be replaced, just like SVN was. It's just it doesn't seem like there's compelling reason to, and thus no desire.
If you click on the link it lists a ton of additions to git. The first bullet lists "bug tracking, wiki, forum, email alerts, chat, and technotes" none of which are supported by git.
Then again, bullet 4 is "Self-host Friendly" (every git client is also a full git server -- after all it's fully distributed) and bullet 5 is "Simple Networking - Fossil uses ordinary HTTPS (or SSH if you prefer)" Pretty sure git supports https out of the box these days (though I don't use it -- ssh is so much simpler).
So yes, I would call those killer features for those who want them, and are pretty unique to any revision control system I've used, though some centralized sites have encrusted git with those features. Having them distributed sounds like a good idea.
Sure, for code. But fossil distributes issues and wiki the same way, which makes comprehensive self hosting much easier.
As an interesting example, the very website in this submission (fossil-scm.org) is in fact just a standalone Fossil website, running as you'd run your own repository. Everything that is on that website, is something you get for free for each repository you use Fossil for.
Oh, so systemd of SCM world?
Also, making moving out of it extra hard by embracing everything.
It’s open to objections: first, Github does this already, so it’s a solved problem. Second, lack of focus. Why would VCS experts be good at designing a compelling forum or ticketing system?
A more compelling selling point, which is buried in the docs, is the use of SQLite as storage. Apparently this makes it easy to traverse a commit’s descendants, which git struggles with.
No, you're misunderstanding the feature (or they don't explain it well). GitHub solves the problem on their platform yes, but not in the protocol (git) itself.
Fossil embeds that data in the repository, all the data is local. Fossil works perfectly with the "local first" doctrine, something Git also does, but not for everything around Git, that Fossil embeds into the repository.
Basically, Fossil is Git + GitHub but self-hosted and offline first. You pull down a Fossil repository is like pulling down the Git repository + all related GitHub data.
> Why would VCS experts be good at designing a compelling forum or ticketing system?
They don't have to be experts about something to make it good enough. For a lot of us with poor internet connectivity, the offline first doctrine is essential in a lot of the work we do, as internet can disappear at any notice. Fossil works much better for this, as I can still read the wiki and tickets when my internet drops, while if I were using GitHub, I'd have to results to writing my own code/use 3rd party software to get the same experience.
The other argument, that this is needed for offline use, is more meaningful. I don't personally think this is a big enough deal to be the USP. But sure, for some people it may be.
I can buy the reasoning that it's a solved problem with additional software, but citing github specifically here is absurd.
Github is a SaaS, centralised, closed source and unfederated platform.
I can understand that you think they're a good service, but there's a huge difference between something like git (which is a tool and a flexible one) and SVN, vs a hosted service.
You can think of it like VLC media player vs youtube.
If I was to have to build a VCS from source decades from now to get to my repo, I believe that fossil will be much simpler than git (which has a fair amount of build dependencies).
Other commenters are talking about GitHub/Discord/Jira etc but I think that's missing the point a bit - in 20 years time are those closed sass services still going to exist? If they are, is your project still going to be there? And will you remember which flavour of the month sass you used for tickets?
Fossil is basically GitHub itself stuffed inside the DVCS. Issues and the wiki are stored alongside the code.
In that sense, I don't believe Git has a knowledge lock in, because it is easy for anyone to switch or to simultaneously use available alternatives. It's all about the ecosystem, and really, Github.
Can you elaborate on this please?
I have never used, but I’m interested in trying… maybe some personal project in the future :)
Also, as someone who really liked Monotone before git won, having your whole repo in a single file is just nice for the same ops-related reasons it’s refreshing to be able to download and run a self-contained binary rather than needing an installer or whatever.
In my somewhat simplified view, Git's 'killer-feature' by now is simply its ubiquity.
By the same token, for Fossil's this could be claimed as a single binary that does it all.
Just download the binary, and you've got the ubiquitous set of project-related facilities: VCS/tickets/docs/wiki/team/forum/chat with simple aporoach to sync and self-host.
I worked with a guy once who took a principled stand against git and (almost) exclusively interacted with the org's git repos through Hg-Git: https://hg-git.github.io/
A. He liked Mercurial more, although I forget all his reasonings. Mercurial's commands are definitely better named, no contest.
B. He hated that git was "winning" and so tried to help prolong Mercurial's lifespan by writing plugins and helping out in the ecosystem.
But that doesn’t make git or fossil right for every project.
Fortunately you can easily switch between them.
See https://www.fossil-scm.org/home/doc/trunk/www/fossil-v-git.w...
(Yes I obviously still use Git as well)
This is a strange thing to say. It's like saying the only chance you have of avoiding python is to use something else.
> never interact with basically any other open source.
You don't need git knowledge to download an open source library from GitHub (there's tarballs on the web page), or to use your languages package manager, even if it speaks git under the hood (go get/npm)
> I just don't see the dominance of git changing for the next decade,
The dominance of git is real particularly in certain industries, but even now git still has terrible support for huge repositories and binary files, partial checkouts, submodules. The problem is that most projects are suited just fine to the limitations of git, (and SVN and p4 and hg), so the value comes in the supporting tooling and infrastructure. Why would I choose fossil over git when for free I can get everything that GitHub/gitlab provides for me?
Sadly, it's not git and nobody else is using it, and I'm not a fan of using lots of nonstandard tech.
It seems to be better than Git, but there's no free hosts that are as big as Github/Gitlab, and convincing other people to switch technology is very hard.
Plus, the people obsessed with clean commit history won't like the lack of easy squash and rebase.
The big three I know of (github, gitlab, bitbucket) are all git-only.
(Unaffiliated, but a happy user.)
So I guess the killer feature for Fossil would be Fossil in that case, as Fossil is basically Git + GitHub but in one package, that works offline and local first.