12 ms·
Fossil
- zzo38computer 6y agoI use Fossil myself; it is much less confusing than git. (You can even import/export git if you need to mirror it on Github or if another user prefers to use git instead of Fossil.) However, I do not use the forum feature since I prefer to use NNTP for that instead (although Fossil does provide some of the same benefits, and I might use it if it could be used together with NNTP). I do use the Fossil wiki though. It is indeed good that the bug report system can be used without an internet connection, and also that the repository is just a SQLite database file; there are clear benefits to this.
- dkulchenko 6y agoNotably used (and developed) by the SQLite authors. They explain their rationale here: https://sqlite.org/whynotgit.html https://sqlite.org/whynotgit.html
- kipari 6y agoI enjoy how well-crafted Fossil seems to be; just like SQLite, which a sibling comment also mentioned. I really want to use Fossil, but it would be way too hard for me to not have the index/staging area of Git. [1] For all the software that claims to be 'opinionated', Fossil really is that. [1]: https://fossil-scm.org/home/doc/trunk/www/gitusers.md https://fossil-scm.org/home/doc/trunk/www/gitusers.md
- Arnavion 6y agoYes. I use `git add -p` and `git stash -p` all the time and couldn't work without them. Fossil's equivalents appear to let you specify a subset of files to commit / stash, but not individual thunks inside them. [1] [2] Not to mention the lack of `rebase -i` to clean up local commits. [1]: https://www.fossil-scm.org/fossil/help?cmd=commit https://www.fossil-scm.org/fossil/help?cmd=commit [2]: https://www.fossil-scm.org/fossil/help?cmd=stash https://www.fossil-scm.org/fossil/help?cmd=stash
- rstupek 6y agoIt would seem the authors consider rebase harmful: https://fossil-scm.org/home/doc/trunk/www/rebaseharm.md https://fossil-scm.org/home/doc/trunk/www/rebaseharm.md
- mikepurvis 6y agoI'm sympathetic to a lot of what they have to say, but this has always been a sticking point for me: > Cherry-picks work better with small check-ins Maybe it's just bad git tooling or me using the tools wrong, but if I need to cherry-pick and there are conflicts, it is always way easier to squash everything down and pick it in one go— if I don't do that, I end up resolving the same conflict over and over as new commits pile in on top of it and meet a conflict-resolved state that they then have a further conflict with.
- aidenn0 6y agoI don't cherry-pick much in git, but I'm guesing rerere doesn't work with it?
- mikepurvis 6y agoI think it probably would for at least some cases, and I'll give it a try definitely.
- samatman 6y agoThe author of pijul is of the opinion that cherry-picks only work in accordance with the developer's mental model, if the VCS is based on patches. I've been persuaded by his argument, and I'm really looking forward to the pijul rewrite landing, so I can play around with it again.
- quesera 6y ago> if I don't do that, I end up resolving the same conflict over and over You should check out git rerere. https://www.git-scm.com/book/en/v2/Git-Tools-Rerere https://www.git-scm.com/book/en/v2/Git-Tools-Rerere
- JoshTriplett 6y agoAgreed. I'd love to have integrated bug-tracking, and some of the other features, but Fossil is also trying to drive particular opinions about version control that are incompatible with how many people want to work. It's already hard to move people away from a system that has huge network effects. This makes it much harder.
- beagle3 6y agoThere are several bug tracking systems that store their data inside the repository (and as a result, branch / merge / push / pull automatically) -- including the venerable "vi bugs.txt" system which works surprisingly well from experience. What fossil brings that those systems don't is indeed the network effect as you pointed out. It's integrated with the web frontend, and is thus used by everyone using fossil and fossil's bug tracking, based on experience with cvstrac, is low ceremony, easy to use and reasonably effective -- even more than "vi bugs.txt" which sets a remarkably low ceremony bar.
- JoshTriplett 6y agoThat's exactly what I'd love to have, just without the opinionated differences in things like rebase, staging, branching, and similar.
- richie_adler 6y agoWhere did you see opinions in that document? It's a technical description of the functional differences between Fossil and Git, explained with Git terminology.
- dognotdog 6y agoI'm a big fan of Fossil, but I've sadly not used it in a while for new projects, as when stuff has to go on gitlab or github it is just too inconvenient. Even though one-way pushes to github/gitlab via --fast-export / --fast-import are relatively painless, going the other way for contributions is still not easy because of rebase issues, etc, at least to my knowledge.
- dfischer 6y agoCan anyone give a conceptual model breakdown of the data model of fossil vs git and trade offs? I’ve been quite interested in these types of structures. I need to play more with them.
- cbsks 6y agoThese web pages give a good broad overview of Git vs Fossil. They don't go into much detail about the internals, however. Fossil Versus Git: https://fossil-scm.org/fossil/doc/trunk/www/fossil-v-git.wiki https://fossil-scm.org/fossil/doc/trunk/www/fossil-v-git.wik... Why SQLite Does Not Use Git: https://sqlite.org/whynotgit.html https://sqlite.org/whynotgit.html Hints For Users With Prior Git Experience: https://fossil-scm.org/home/doc/trunk/www/gitusers.md https://fossil-scm.org/home/doc/trunk/www/gitusers.md
- aidenn0 6y agoThe first item on "why sqlite does not use git" asking for a timeline view. That looks almost exactly what "gitk" shows, which was builtin to git before github or gitlab existed. A quick scan of the other items are all more-or-less true so it's a shame it leads with that.
- rstupek 6y agoDidn't the author address that by stating "people install graphical viewers to get around this" and that this is not built into default git?
- aidenn0 6y agoNo because it's built into default git.
- wyoung2 6y agoIt isn't shipped on macOS, and the Homebrew version of Git has it packaged separately. I fired it up on a Git export of a Fossil repo here, and it's missing features of Fossil's web UI timeline view: 1. Cherrypick markers 2. Diff arbitrary versions (it shows only diff from previous) 3. Branch coloring 4. Hyperlinks to produce new timeline views: click author to get list of commits by that author, click timestamp to get a new timeline surrounding that point in time, etc.... 5. Integration with other web UI features. For instance, you can create a Fossil wiki article attached to a commit from Fossil UI, but you can't attach a GitHub wiki article to a Git commit from gitk. For another, Fossil has a feature to produce zip and tarball downloads of particular versions, which have links in the commit info page, which means visitors to your project don't need to clone the whole thing and roll it back to that version manually to get a single version. That's integrated into the Fossil web UI timeline: click a version, click Zip, done. 6. A modern browser fits its platform and offers more UI affordances than the mid-1990s Motif-inspired Tk. (Better copy/paste behavior, font rendering, zooming, native controls, etc.) Web UIs get a lot of angst these days, but like them or not, they're native citizens of the host platform these days in a way that Tk is not.
- Midar 6y agoI'm using it for a while now for https://objfw.nil.im/ https://objfw.nil.im/ and am quite happy with it. I wrote a little bit about that at https://blog.nil.im/?78 https://blog.nil.im/?78. It's quite sad to see that so few projects use it. The idea of having everything in one repo, incl. bugs, is just great. I can create new bugs while offline, update bugs while offline, etc. and then just sync everything once I'm back online. It also has pretty good support for incrementally importing from and exporting to Git: https://blog.nil.im/?79 https://blog.nil.im/?79
- kzrdude 6y agoPractical aspects aside, having issue tracking in the repo prevents lock-in of that data - in the way that the github platform works, for example.
- Midar 6y agoThis is exactly what intrigued me and made me switch to Fossil. I don't want to have my issues, wiki etc. held hostage by some company. And if someone wants to fork it, they should be able to fork it including issues and wiki.
- mekster 6y agoSelf host Gitea?
- ncmncm 6y agoI was astonished and appalled to find that your Github bugs, wiki, and PRs were not all in your repo.
- m463 6y agoI think you can sync the wiki if you want: git clone https://github.com/project/name would have a wiki: git clone https://github.com/project/name.wiki I don't know if this is a special setup or not. Will they remove this? Are there ways to get to other stuff?
- marmaduke 6y agoI wanted to use Fossil but the division between what you do in CLI and what you do in the web UI was too arbitrary. I wanted to edit the wiki in vim, for example. Now I don’t care anymore and just use Git and GitHub
- gw 6y agoYeah it's a bit bifurcated. Internally there's a lot of coupling -- HTML embedded directly in the C code and whatnot. This could be resolved if tools could be built on top of fossil, but the CLI code uses `exit` everywhere which makes it impossible to use as a library. I think they made an incomplete attempt at a JSON API, but what you really need is a proper linkable library like libgit2.
- bachmeier 6y agoMaybe I'm not understanding, but it's pretty easy to edit the wiki from the command line in vim (I've used text editors for it before). https://fossil-scm.org/home/help?cmd=wiki https://fossil-scm.org/home/help?cmd=wiki To edit a page, do an export and then a commit when you're done. It was easy enough to add this as a menu item in Emacs. fossil wiki export foo.wiki foo.md fossil wiki commit foo.wiki foo.md
- wyoung2 6y agoYou don't even need the temporary files: $ vim ...write, write, write... :w !fossil wiki create "The Foo Article" - :q! Later: $ vim :r !fossil wiki export "The Foo Article" - ...write, write, write some more... :w !fossil wiki commit "The Foo Article" - Wrapping all of that up into Vim macros would be a small matter for someone sufficiently interested. Also, someone wanting to edit wiki-like docs in a text editor rather than in the web UI is probably going to find Fossil's embedded docs feature more useful anyway: https://fossil-scm.org/home/doc/trunk/www/embeddeddoc.wiki https://fossil-scm.org/home/doc/trunk/www/embeddeddoc.wiki
- marmaduke 6y agoGood catch! I really did look for this when I tried to use it years back.
- deleted 6y ago[deleted]
- sigzero 6y agoGitea falls into a similar category [1]: https://gitea.io https://gitea.io
- ComputerGuru 6y agoNo, it really doesn't. Gitea is just your typical web stack built around forking git.exe processes.
- kayson 6y agoReading through some of the articles linked in the comments, I'm very hesitant to use something whose creator is so opinionated and vocally against another piece of software. Maybe its just the style of writing, and isn't actually reflected in Fossil's development, but this kind of attitude doesn't inspire confidence.
- bachmeier 6y agoIt's more that "why don't you use Github for sqlite" comes up six times a day, so at a certain point you have to explain why you use your own version control system. A lot of developers today know nothing other than Git and assume anything else is wrong by default.
- mghsm 6y agoNot only that, but they spam the Fossil forum with request to make Fossil more like Git, even if they don't personally use Fossil, because they seem to be unable to accept the fact that Fossil exists and drh has making the decisions that he thought best for the software.
- wyoung2 6y agoThe whole point of those articles is to compare and contrast.
- bachmeier 6y agoAside from standard version control uses, I eventually realized that the tickets database is just a regular sqlite database that lets you edit the schema and query any way you like. What's really cool is that it's version controlled. You can put any information you want into the tickets database and then pull changes like any other repo. You can view the timeline to see all the changes you've made to the database over time.
- deleted 6y ago[deleted]
- michaelmure 6y agoIf you like this idea of embedding a bug-tracker (and eventually the code review) within a DVCS, I'm working on a project[1] that does that for git. [1]: https://github.com/MichaelMure/git-bug https://github.com/MichaelMure/git-bug
- cortesi 6y agoWhoa. Many, many years ago I started idly hacking on a similar project with similar ideas and an identical name. I've always intended to return to it in my Copious Spare Time, which of course means I never did and probably never will. When I started exploring this I registered the gitbug.org domain - would you be interested in using it for your project?
- michaelmure 6y agoHaha, that's awesome. It's interaction like these (and pretty much this whole thread) that make me think that there is value in this idea. It just has to reach some completion with a good UX ... I have a bunch of git-bug.tld domains so I guess I'm all set already? I'd be curious to see your project. Maybe there is a good idea in there? In any case, you are very welcome to join the party.
- rkeene2 6y agoI run ChiselApp.com to support publicly hosted Fossil repositories. The architecture behind it is pretty simple, since Fossil is doing all the work and I'm just orchestrating it (although I do allow you to execute arbitrary Tcl scripts as part of it, so there is some work that goes into the sandbox).
- lactobacillis 6y agoQuick question. Is the entire thing on one SQLite db?
- rkeene2 6y agoEach Fossil repository is its own SQLite database. Additionally, there's an SQLite database which holds ChiselApp.com user information (which is unrelated to Fossil information).
- lactobacillis 6y agoAnd thanks for the great service!
- samatman 6y agoI have great fondness for Fossil, used it a couple of times and wish it were possible to keep using it. I tried to rally some interest on the mailing list behind separating the working parts from the UI chrome into a 'libfossil', which could be integrated into other programs. The verdict was that D. Richard Hipp doesn't really want to, since it's a classic C monolith where the allocation strategy doesn't make that separation easy. Someone started the job, but had to abandon it due to RSI issues. I still kinda hope someone bites the bullet, because a "libsqlite for versioning" would be a real boon for application developers. Even for fossil's central use case as a code VCS, the monolithic bundling of everything into one program is a mixed bag.
- n3k5 6y ago> Fossil also supports bug tracking, wiki, forum, and technotes That sounds great, but I'm scared of checking these features out because I'm currently looking at the quick start guide[0] and am immediately put off by how awful the CSS is. Formatting running text such that a single line can be ~500 characters wide[1] results in very low readability. There's a difference between ‘themeable’ and ‘configuring a custom theme is mandatory because the default option makes you feel sick’. In case someone working on Fossil sees this: I just bookmarked the site because the project seems very attractive in most other respects. I hope that when I eventually re-visit that link, I'll be able to go on a significantly deeper dive. A somewhat sane style sheet would certainly help. [0] https://www.fossil-scm.org/home/doc/trunk/www/quickstart.wiki https://www.fossil-scm.org/home/doc/trunk/www/quickstart.wik... [1] https://i.paste.pics/A9RQ8.png https://i.paste.pics/A9RQ8.png
- z2210558 6y agoIt looks totally fine to me (lines are wrapping normally). Are you sure it's not something to do with your own browser?
- t0astbread 6y agoI think the complaint was that lines aren't capped somewhere at 70-80 characters but rather fill the entire remaining space in the viewport which can make the text hard to read.
- kps 6y agoThe user chooses how big to make their window, and the site conforms to that. I wish fewer web sites tried to second-guess what I asked for.
- t0astbread 6y agoI see where you're coming from but resizing the browser to your preferred text width would mean decreasing the space for elements like the tab bar or other "not-in-body" UI elements even though there's still screen space available. I'm not sure that's something most people would want. Not to mention some sites have things like side bars, images or other UI elements that make them more comfortable to user with larger viewports so you'd resize your browser often when you switch tabs. It would be useful if sites could specify a "body" element that could be resized and aligned however the user wishes without affecting other parts of the site or the browser UI.
- aarchi 6y agoHas anyone used Darcs [0]? Its design based around a patch theory [1] looks very compelling to me, but I haven't tried it myself. [0]: http://darcs.net/ http://darcs.net/ [1]: https://en.wikibooks.org/wiki/Understanding_Darcs/Patch_theory https://en.wikibooks.org/wiki/Understanding_Darcs/Patch_theo...
- lelf 6y agoYes. It's pretty good actually. It got a reputation for being painfully slow. No longer the case, yet… reputation is reputation. There's a more modern reincarnation of the similar ideas — https://pijul.org https://pijul.org. Ready for playing with, not much else.
- 7kmph 6y agoWould like to see a SCM that: - handles large files effectively (build artifacts, 10-40GiBs each, and other binary dependencies) - partial checkout of the repo/view - git style operations (have stage area, can stage parts of a file, can stash changes and reapply later, cherry pick) - can view the history of an individual file (support file relocation) - access control on individual files, and partial review of the repository (views are "granted" to developers) - good tooling - immutable when it makes sense (e.g. you cannot changed a published commit) - works offline (if possible) - large mono repo I evaluated git annex and git lfs, and finally chosen Perforce, mainly for its large file handling, view for each developer and ACL, but the lack of flexibility makes me don't want to commit, and every time I do a merge, I say to myself, "uuh, this again". The other thing it lacks is the "ease of mind", with git, everything is checksummed, if the content changes, it will be noticed by git, with Perforce, you have to tell it you want to edit it. (Not nit-picking on Perforce, I actually think Perforce is a good software, its server runs flawlessly, and have a good p4v (if you don't mind the friction), I think it just lacks good tooling and git style operations)
- dilap 6y agogood summary of areas of where git falls short. i'm curious if the above are compatible with a patch-based VCS. if so, maybe good areas for would-be future VCSs to focus on, to establish a niche...
- qznc 6y agoDid you compare Subversion and PlasticSCM?
- zegerjan 6y agoPartial clone is currently support at least by both GitHub and GitLab. While still maturing, you could filter for example all large blobs for local development, or only fetch certain sub trees. See also the Git docs: https://git-scm.com/docs/partial-clone https://git-scm.com/docs/partial-clone, or GitLabs docs: https://docs.gitlab.com/ee/topics/git/partial_clone.html https://docs.gitlab.com/ee/topics/git/partial_clone.html GitLab will continue to make investments in it for at least the next year as it's a big issue especially for gaming companies. Full disclosure, currently a GitLab employee.
- BareNakedCoder 6y agoComing soon https://www.fossilarium.com https://www.fossilarium.com which will have friendlier docs.
- noxer 6y agoI would "Join the wait list" but it just opens a page with something my browser blocks immediately because it side-loads some frame from google. A simple HTML form to summit an email really cant be that hard that it needs to be outsourced to google.
- BareNakedCoder 6y agoApologies. Launched just 2 days ago as a static site on Netlify. Will add a JAMstack-based form once our api backend server is up and running. Google Forms was a quick and dirty solution that let us deploy something now. Fossil on HN is rare so I prematurely jumped at the chance of a mention.
- siddharthgoel88 6y agoAbout 3 years back I was having a discussion with my CTO and he was mentioning why he likes `hg` instead of `git` and that how he uses hg-git bridge to handle git repositories and all. But still he supported the git as the organization wide adopted SCM tooling. Reason being that when we have to choose a tooling which needs to be used by a lot of people in organization then we also need to consider about the learning curve and adoption of a tool. Git is already a default tooling and so many engineers are already familiar with it that choosing it came natural. Moreover, the SCM use-cases for us were mostly the regular standard one. Over time, I have started to think in terms of innovation tokens [1]. You cannot choose all the new technologies all the time and you have to measure how many innovation tokens would you like to spend on what. [1] : http://boringtechnology.club/ http://boringtechnology.club/
- dimator 6y agoHg's developer ergonomics are just way nicer than git. I tried the hg-git bridge at my current job, but the bridge becomes unusably slow for large git repos.
- severak_cz 6y agofossil has much better command line experience than git. I used this in the past for my solo project but abandoned it because virtually everyone uses git these days. I even created git wrapper somewhat by fossil command line, but it's not finished - https://github.com/severak/ginger https://github.com/severak/ginger