10 ms·
It's funny that they don't list the real reason, which is that Fossil is built on top of SQLite and they want to dogfood it.
by monocasa 9y ago
It's funny that they don't list the real reason, which is that Fossil is built on top of SQLite and they want to dogfood it.
- rwbt 9y agoSQLite is tested extensively fossil or not. Short of military software it's probably the most tested piece of software.
- monocasa 9y agoThere are reasons to dogfood that aren't 'does it pass integration tests'. Stuff like 'is it to hard to use this feature in a real way', and 'performance bottlenecks that you might not have thought of'.
- jopsen 9y agoAnd the real reason to use git is that everybody else uses git.
- kadenshep 9y agoEverybody uses git because it's the most sane and powerful source control tool there is.
- PowerRangError 9y agoWhy do you think it's "the most" when there are equivalents? What does "most" mean? Most used was the point and the only salient quality that fits.
- parvenu74 9y agoThis is a great question. Where I work we use TFSVC and the VP of Engineering is willing to green-light a switch to Git as long as we can make a data-driven, objective case for why Git is better. In other words: "the devs prefer it" or "using Git makes me happier" don't wash as valid reasons. Branching in Git is certainly much easier but the counter that "you can branch with TFSVC too" is true, even if it's slower and eats up your hard drive space faster...
- erric 9y agoSlower and eats up disk space faster seem like valid data points to me.
- UK-Al05 9y agoThe Devs prefer it = improving the Devs workflow
- lazyasciiart 9y agoThat's not necessarily true. Everyone knows at least one dev who would prefer the world's stupidest workflow. And where it is true, it can directly contradict other priorities, like 'the devs prefer to check bug fixes directly into production because it saves them the work of staging'.
- kadenshep 9y agoAnd merging branches in TFSVC is actually a nightmare.
- barnabee 9y ago[citation needed] Seriously, I find git very non-sane if not quite insane. I really liked darcs and still prefer Mercurial but sometimes the value attained by adopting standardisation overcomes the extra value in a "better" alternative, and so… here we are.
- peatmoss 9y agoPowerful? Certainly. Most sane? That’s a matter of perspective. I’m still a little shocked that git “won out” over mercurial. Even as Subversion was eating CVS, everybody knew distributed revision control was going to ultimately prevail. I was pretty sure Darcs wasn’t going to achieve popularity, but I’d have bet anything that Mercurial would be the successor to Subversion. It was far more natural / similar for anyone who's ever worked with CVS/SVN.
- jdright 9y agoPython killed any chance of success for Mercurial.
- peatmoss 9y agoAgreed, but I’d have guessed that the Windows / git compatibility horrorshow (at least in the early days) would have nuked git’s chances as well. I’d have bet on the success of more friendly CLI UX and comparatively easier time on Windows even with the disamenity of Python.
- pseudalopex 9y agoWhy do you say that?
- luckydude 9y agoI've built two source management systems (NSElite, internal to Sun, and bitkeeper, now open source at bitkeeper.org). Calling Git sane just makes it clear that you haven't used a sane source management system. Git has no file object, it versions the repo, not files. There is one graph for all files, the repo graph. So the common ancester for a 3 way diff is the repo GCA, which could very well be miles away from the file GCA if you have a graph per file (like BitKeeper does). No file object means no create event recorded, no rename event recorded, no delete event recorded. If you ask for the diffs on "src/foo.c" all Git can do is look at each commit and see if "src/foo.c" was modified in that commit. That's insanely slow in a big repo. And it completely ignores the fact that src/foo.c got moved to src/libc/foo.c years ago and there is a different src/foo.c that is completely unrelated. There is an option to try and intuit the renames when you are spitting out diffs but noone uses that because it's even more insanely slow. Git is basically a tarball server. Calling that a source management system is an enormous stretch. Calling it a sane and powerful source control tool is just not supported by the facts, calling "the most ..." is laughable. Yeah, I get it, Git won. You all lost out on "the most sane and powerful" as a result. Which sort of doesn't matter since everyone thinks GitHub is source management.
- jperras 9y ago> Git has no file object, it versions the repo, not files. As someone who has used (in a professional setting) version control systems ranging from RCA to SVN to the current crop (git, mercurial, even darcs), the fact that git versions the repository as a whole instead of individual files is a godsend. You've not known hell until you've had to deal with an RCA/CVS repository with 15+ years of history and thousands of files, each that maintains their own version history (and associated version number!). I'd gladly take the comparative "slowness" of git when dealing with large repositories. > Git is basically a tarball server. Calling that a source management system is an enormous stretch. What, in your opinion, is the definition of a version control system then?
- luckydude 9y agoA version control system is an accurate audit trail of everything that has happened in the repository. Every create, delete, rename, every rwx mode change, every content change. In BitKeeper files work like they do in Unix, there is a (globally) unique name for each file object. Where the object lives in the repository is an attribute of that object, as are the contents, the permissions, who has changed etc. Here's a super common workflow that's easy in BitKeeper and miserable in Git. I'm debugging an assert. I want to see who added the assert. I pop into the gui that shows me the per file graph and contents, search for the assert, hover over the rev and see that it was done a long time ago. I look in the area above the assert and I see a recent change, hover over that, see the comments and go "hmm, maybe this". Double click that line and I pop into a different gui that shows me the whole commit that contains that suspect line. Note that because I have a graph per file, I have checkin comments per file. More work for you poor committers but a godsend for us debuggers. More breadcrumbs are more better. In Git, less breadcrumbs, single commit message. Git wants to go from the rev to the commit, it's miserable to look around in a file and then go backwards to the commit. When I was supporting BitKeeper our average response time to bug report or a crash report was 25 minute. 24x7. The only reason it was that long was because we were all in North America so there was a window where we were all asleep. Response time 6am-6pm PST was typically under 5 minutes. And I credit the fact that the tool accurately recorded everything and you could find the history really easily. Oh, and it didn't slow down as the repo got big. Git is fine in little repos but it sucks pretty hard in big ones. Sucks even worse if you are on NFS. I can dig up benchmarks, we built up a synthetic 4M file repo and ran a bunch of tests on it (it was a modified version of the facebook repo builder, the facebook one had some stuff in it that made Git look incredibly bad, we looked at that and decided that wasn't real world or fair, we took that part out).
- tzs 9y agoIf you don't need a distributed system, I'd argue that Subversion is at least as sane as anything else, at least at the plumbing level, once you realize that it is not so much a VCS as essentially a remote file system with atomic multi-file operations, automatic sequentially numbered annotated snapshots after write operations, and near zero cost copy on write copying. You establish a naming convention on top of that to use it as a VCS. For example, one common such convention is to have directories named "trunk", "tags", and "branches" at the top level, with your projects living in subdirectories under "trunk". Under this convention the way you represent a tag is by simply copying your project directory from trunk/my_project to a new directory named tags/my_project/tagname. Similar for branching...just copy to branches/my_project/branch_name. Don't like that convention? Develop your own that fits your work better.
- peatmoss 9y ago> If you don't need a distributed system, I'd argue that Subversion is at least as sane as anything else Oh my yes. Binary diffs were lovely. Also, support for large assets. For reproducible data science work, you’re going to need at least code and data. One of those things is a total PIA with git if the data aren’t trivially small. I wonder how fossil does in this regard...
- ropeadopepope 9y agoThat's not a plus in my book. This entire industry reminds me of how lemmings will follow each other off of a cliff[0]. [0]: yes, I know this has been debunked. It's an analogy.
- jjoonathan 9y agoWhat's the cliff? Widespread successful, productive collaboration?
- taneq 9y agoYour repo being eaten by some arcane git 'feature' that you had no idea even existed, and then when you ask for help you get a 50/50 split between "that shouldn't have happened" and "well of course, you have to run 'git --unfubar repo' every 431 checkins or it'll corrupt your repo, seriously who doesn't know that?"
- Hello71 9y agothe fact that you use the word "checkins" strongly implies that this has never happened to you.
- taneq 9y agoOr that I used the generic term rather than the git-specific term?
- fyi1183 9y agoI don't know if you're intentionally trolling, but I have been using version control for almost 20 years now and have never used the term check-in. All version control software that I've used in that time used the term commit.
- pseudalopex 9y ago
- tlrobinson 9y agoFossil was also created by Richard Hipp, who created SQLite.
- mombul 9y agoAh.. that article just looks like an ad now. Shameful.
- bachmeier 9y agoI think it's fair for someone to explain why he doesn't use Git when he probably gets that question a few thousand times a year. He's not the one that posted it to HN.
- lucb1e 9y agoBut then, on that page, explain that the author wasn't happy with Git and wrote their own. It's as if I post an article on why LibreOffice is better than Microsoft Word and it turns out I'm the founder of LibreOffice or something. Of course I'd think it's better and of course I know just the right things to mention to convince everyone, because I was there to build them or check them in.
- shagie 9y agoI am reminded of an open letter / post from many years ago. Why Pascal is Not My Favorite Programming Language https://www.lysator.liu.se/c/bwk-on-pascal.html https://www.lysator.liu.se/c/bwk-on-pascal.html . > There is no significant way in which I found Pascal superior to C, but there are several places where it is a clear improvement over Ratfor. Most obvious by far is recursion: several programs are much cleaner when written recursively, notably the pattern-search, quicksort, and expression evaluation. While the author goes about comparing Pascal to C (and Ratfor), he fails to disclose his affiliation with being the author of C.
- carussell 9y ago
- shagie 9y agoOne of the things that I look at is the timeline of other version control systems. http://blog.plasticscm.com/2010/11/version-control-timeline.html http://blog.plasticscm.com/2010/11/version-control-timeline.... has one such (its a decade old, but then we're talking about things that are two decades old here...) In the 90s we had cvs and perforce... and then svn. Then there was BitKeepr. From what I can read of history, 2002 to 2005 Linux was under BitKeeper and then in 2005 that relationship soured and Linus went off to write Git. At the same time there was a large growth of other version control systems. The graphic shows bazaar, darts, hg, plastic and then Fossil is also in there. Even at 2006 when Fossil was released, there wasn't significant mindshare on any of those platforms yet. Why use git? It wasn't even a year old when Fossil was released. The migration of SQLite to Fossil (from CVS) was done in 2009. That's several years after the software was written that SQLite switched to it. I wouldn't exactly put that in the place of dogfooding. It kind of is - but Fossil was a mature project when SQLite shifted its codebase.
- SQLite 9y agoSQLite shifted to Fossil in stages. Documentation moved in 2007. The TH3 and sqllogictest test suites started out in Fossil in 2008. I wrote Fossil specifically to support SQLite development. If Fossil does nothing else other than support SQLite, then it is a success. Any other use of Fossil is just gravy. That we were conservative in moving the main SQLite source code into Fossil does not negate that fact. We do also use Fossil for dogfooding SQLite. See, for example, item 15 on the release-testing checklist: https://www.sqlite.org/checklists/3230000/index https://www.sqlite.org/checklists/3230000/index
- shagie 9y agoI can't ask for a more authoritative source on the matter. Thank you.