24 ms·
Fossil SCM
- pestaa 10y agoGitLab contributors, please take note. Fossil's UI is very fast and the navigation is intuitive and discoverable. I know it's on the roadmap, but it is so often an afterthought.
- spraak 10y agoI couldn't find any screenshots on the site, can you share any?
- detaro 10y agoJust click the link above, the entire site is Fossils interface.
- ubercore 10y agoI believe the site itself is running an instance of Fossil?
- rwbt 10y agoThat's correct. Fossil is just a single binary and all the 'artifacts' in the repo are stored in a single sqlite file. The built-in server works really well or it can also be used with CGI.
- rkeene2 10y agoAnd SCGI as well.
- gglitch 10y agoYep. Cloning it is also a great way to poke around and get a better sense of its functionality.
- sytse 10y agoThanks, we're indeed working on making the UI faster in https://about.gitlab.com/2017/02/06/vue-big-plan/ https://about.gitlab.com/2017/02/06/vue-big-plan/ I've clicked around in the UI of Fossil. It indeed is very fast. About the navigation: 1. Fossil has home, GitLab has a hamburger menu with different top level view, Fossil doesn't seem to account for multiple project but I'm probably overlooking something. 2. Fossil timeline seems similar to GitLab Activity https://gitlab.com/gitlab-org/gitaly/activity https://gitlab.com/gitlab-org/gitaly/activity 3. Fossil code seems similar to GitLab Repository https://gitlab.com/gitlab-org/gitaly/tree/master https://gitlab.com/gitlab-org/gitaly/tree/master 4. Fossil docs seems similar to GitLab help https://gitlab.com/help https://gitlab.com/help (in this case, for other projects I think it has the documentation of the project, not sure what standard they use) 5. Fossil branches are in the GitLab repo view 6. Fossil tickets are similar to the GitLab issues view 7. Fossil wiki is similar to GitLab wiki 8. Fossil includes a download tab, in GitLab that would be the tags view https://gitlab.com/gitlab-org/gitaly/tags https://gitlab.com/gitlab-org/gitaly/tags to download the repo (not sure if this is always to download Fossil or the specific project) 9. The Fossil "More..." link looks like a sitemap. What would you change in GitLab to make it more discoverable?
- eslaught 10y agoThe issue is not that Gitlab is missing any of the pieces. The issue, I believe, is the organization of such pieces so that you can find them intuitively. This is admittedly a lot better in Gitlab today that it used to be. When I started, I literally could not figure out basic things like how to get to a specific repository inside of an organization. It also doesn't help that Gitlab has chosen to use its own jargon for each of the basic concepts. A "project" is a "repository" and a "group" is an "organization", etc. I can kind of grok it, but I sometimes do a double take when something isn't where I expect. For example: In my mental model, "project" == "repository". But when I go to a project home page like say [1], I don't see a code browser or commit list, or options that obviously take me to either of those. Instead, I have to click the "Repository" tab first. (It turns out that tabs can have second-level tabs, which means those options are hidden initially and thus not discoverable.) But I thought a "project" was a "repository"? I fully realize the Gitlab notion of "project" may be more general than just a "repository", but this is an example of the sort of cognitive dissonance that I get navigating around the site. At this point I've mostly made peace with the Gitlab interface, so it's a bit hard for me to pull up examples like this now. And as I said above, the interface has improved. But when I first started using Gitlab, there were a lot of things like this (little points of cognitive dissonance) which made it seriously an uphill battle to even use the product. [1]: https://gitlab.com/StanfordLegion/legion https://gitlab.com/StanfordLegion/legion
- jjirsa 10y agoNo/manual rebase sounds awful
- BeetleB 10y agoGenuinely curious: Why do you need rebasing? I'm mostly a mercurial person, where doing a rebase is highly discouraged and nontrivial. After all these years on mercurial, I've never found a need to do it. Why is it so popular amongst git users?
- spraak 10y agoUsually as a way to ensure a working branch stays up to date with master/another branch, so there aren't merge conflicts. Or if there are merge conflicts, to resolve them.
- jdmichal 10y agoRebasing gives you a linear history instead of the diamonds non-rebased branching and merging gives you. I mean, that's the technical reason, anyway.
- BeetleB 10y agoBut that's what I'm trying to understand: The branched history was never a problem for me (although I do use a GUI for it).
- __david__ 10y agoFor me I dislike branched history because each merge point can (accidentally) have extra non-merge code added and therefore should technically be code-reviewed, too. Git doesn't like showing merge commit diffs (even with `git log -p`) and so it's not easy to see how someone resolved their merge conflicts. I don't find that diamond branch development technique adds much in the way of useful information, so I tend to try to keep it linear.
- iso-8859-1 10y ago
- oblio 10y agoMy god, they've updated the CSS. It used to be quite a bit uglier. Now it's not GitHub, but it's definitely lighter on the eyes. Nice to see - I think that good tools should have UIs that at least come close to the quality of their engineering.
- bachmeier 10y agoWhile it's good to have a pleasant default, it's very easy to modify everything about the website, including the CSS, the menu, the homepage... But to me, the most beautiful UI is one that offers the functionality I need while remaining lightweight.
- throwawayish 10y agoI remember the old page / look and I feel like that one had much more character. This kind of design is very generic and has been for quite some years now.
- cmrx64 10y agoFossil is the SCM I always wish I were using, but for the benefit of external collaborators, I stick with Git and GitLab (previously, GitHub). Fossil is a lovely, small piece of software that does exactly what I want in a nice and simple way. It's fast and uses SQLite for everything, making it easy to programmatically extend it and munge its internal data.
- maxpert 10y agoSQLite usage makes me wonder how will it behave over time with millions of commits. Also makes me wonder how will it handle distribution.
- mixmastamyk 10y agoIndeed, what are the consequences of that choice, vs. git and hg?
- alvil 10y agohttps://www.reddit.com/r/PHP/comments/59na74/sqlite_as_the_only_database_for_website/ https://www.reddit.com/r/PHP/comments/59na74/sqlite_as_the_o...
- BeetleB 10y agoTo be honest, I'm very wary of using SQLite for storage for anything long term. Over the years I've had a few SQLite databases become corrupt in various software I use. Always a headache.
- rogerbinns 10y agoSQLite has had corruption bugs but they have been exceeding rare. Far more often it has been other factors that caused SQLite to become corrupt (ie it is a victim not the cause). https://www.sqlite.org/howtocorrupt.html https://www.sqlite.org/howtocorrupt.html https://www.sqlite.org/testing.html https://www.sqlite.org/testing.html
- planteen 10y ago
- maxpert 10y agoIt's good to see so many SCM systems showing up. But it makes me wonder how many of them can actually work on GBs of codebase with over 1000 of programmers checking in on daily basis. I my experience most of SCMs are fine for small to medium projects, but they go down with crawling speeds and sometimes even not working at all when it goes large scale.
- reitanqild 10y agoI tried to ask a couple of days ago if anybody has started using bitkeeper lately but either only one person saw it or only one other person found it interesting: https://news.ycombinator.com/item?id=13661662 https://news.ycombinator.com/item?id=13661662
- sevensor 10y agoI missed that, but I'm interested in the answer too. I believe the bitkeeper guy frequents this forum. Haven't tried it, myself.
- reitanqild 10y agoHaven't tried it, myself. Neither have I and I am a bit hesitant to throw all my tooling out of the window (ok, mostly hosted git + git extensions + builtin git + svn support in all my IDEs (Netbeans/VS/Rider).
- bachmeier 10y agoFossil is not really built with that development model in mind. It's built for development of sqlite, which has a small group of core developers that know each other. Richard Hipp explains the target market at the beginning of this video: https://www.youtube.com/watch?v=-ceEWWqaVsI https://www.youtube.com/watch?v=-ceEWWqaVsI
- rkeene2 10y agoIt's been working really well for Tcl development as well. Tk, and many other Tcl extensions as well.
- X86BSD 10y agoI absolutely love Fossil. And the author is a great guy! It never gets the press or usage it deserves. Glad to see this come up on HN!
- dang 10y agoIt came up on HN not long ago: https://news.ycombinator.com/item?id=12673229 https://news.ycombinator.com/item?id=12673229. Normally we'd bury this one as a duplicate, but the community is clearly interested in this.
- wirrbel 10y agoAnyone using it for development? What is your experience?
- rwbt 10y agoI use fossil for all my projects. It's very lightweight and almost set it and forget it system. Remarkable.
- rkeene2 10y agoI use it a lot. Here are many of my repositories: http://chiselapp.com/user/rkeene/ http://chiselapp.com/user/rkeene/ I also use it for many non-public repositories, including the Linux distribution I maintain (with a few hundred packages). My experience is that it is very convenient and easy to adapt.
- fundamental 10y agoI started to use it for one large project a few months back as I liked the idea of having an integrated issue tracker/docs/wiki/etc. In the end I wasn't a huge fan of fossil overall as its implementation felt clunky and I reverted back to git. I'd say most of it's problems can be attributed to a lack of polish due to the much smaller user base compared to other options like git.
- rkeene2 10y agoWhat issues did you have ? Fossil is usually pretty easy to cleanup any dangling wires, if they can be coherently identified to people who may not see them in the same way as you.
- fundamental 10y agoIt's been a while, but I roughly recall: The formatting in the wiki was unusual; it was difficult to access wiki/doc/issues outside of the builtin webserver (for tickets I ended up building a TUI as a workaround https://github.com/fundamental/fs-tickets https://github.com/fundamental/fs-tickets (the original fossil repo is sitting around somewhere)); there was no 'fossil grep'; the lack of a staging area was annoying when sorting through exploratory changes (git add -p and vim's git-fugitive options make the staging area hugely useful); attaching files to issues/wiki/etc was difficult; setting up a remote which could be pushed/pulled from (with multiple machines) was difficult; and I recall the username + password combo failing in a way that I never diagnosed. Overall I'd say fossil has its share of warts and it currently doesn't justify the contribution barrier it introduces with enough in return.
- hubert123 10y agoI dont see the point of Fossil, I looked into it. The commands arent that much easier to understand. If I'm using an SCM anyway and I still need to use a cmd line and I still need to memorize commands then I might just as well use git. And Git has Guis now.
- blauditore 10y agoGit has had several (first- and third-party) GUIs for a long time...
- reitanqild 10y agoIf for nothing else then at least some people like me find it awesome that some people can still put all this into a small standalone and make it work nicely under multiple operating systems.
- rkeene2 10y agoFossil's emphasis on recording history is very helpful. Additionally, the fact that the bug tracker, wiki, and technotes/milestones are all distributed as part of the same database is very helpful. Unversioned artifacts have been added recently, which are helpful for storing and optionally transmitting build artifacts associated with the repository. No multi-stage commit pipeline is much easier conceptually -- mostly I just want to commit the changes I made to my repository and automatically sync upstream. The code is simple and easy to modify -- I added tarball support (in addition to zip; but I think DRH rewrote the implementation that is in use) as well as S/MIME signing of commits (in addition to GPG -- to use X.509v3/PKI for more robust signing) I'd guess that the majority of projects are small development teams and this is the point of Fossil -- it works well for small development teams. When the Tcl developers were looking to migrate from Sourceforge to a new system, they picked Fossil over Git for a couple of reasons. Ease of use was one of them.
- vonuebelgarten 10y ago>No multi-stage commit pipeline is much easier conceptually -- mostly I just want to commit the changes I made to my repository and automatically sync upstream. But forcing this approach precludes you of, for example, easily splitting your existing changes in two commits if required. If changes to the same file are to be committed separately, a non-zero amount of copy-pasting, resetting, temporary files, etc. will be required. I see Git's separation of concerns of a strict superset for your use case. Just add an alias "git commit -a; git pull; git push".
- simplehuman 10y agoSurprised to see no LDAP support. http://www.fossil-scm.org/index.html/tktview?name=ec667f74f8 http://www.fossil-scm.org/index.html/tktview?name=ec667f74f8
- djsumdog 10y agoFrom what I can tell from the issue, they're suggesting the load balancer or server you put in front of Fossil to do the authentication (which can hit LDAP/AD). Sure you can't do fine grained control or permissions, but for small shops/groups it seems like a good starting point.
- lvh 10y agoYou can sort-of hack it together offline, in that LDAP can be the source of identity (via REMOTE_USER + frontend, as you mention), and that Fossil has a reasonably fine-grained permissions model that you can (offline) sync from LDAP.
- tokenizerrr 10y ago> Sure you can't do fine grained control or permissions, but for small shops/groups it seems like a good starting point. That seems like a terrible compromise.
- rkeene2 10y agoFossil can work over HTTP or SSH. Over HTTP you can authenticate using any method your web server supports, or the built-in Fossil authentication. For SSH, you can authenticate using any method your SSH server supports.
- Rexxar 10y agoThe previous submission of the link to fossil-scm.org ( https://news.ycombinator.com/item?id=12673229 https://news.ycombinator.com/item?id=12673229) has some interesting comments from the creator.
- alvil 10y agoFossil is running on https://www.sqlite.org/docsrc/artifact/c3a749450a2f0d73 https://www.sqlite.org/docsrc/artifact/c3a749450a2f0d73 .. another lovely piece of software .. like it
- stonemetal 10y agoVeracity is the only other SCM I know of that takes the distribute everything approach of Fossil. Are there any others?
- msingle 10y agohaven't seen [veracity](http://veracity-scm.com/ http://veracity-scm.com/) mentioned in a while! I always thought the idea of using JS as the built in scripting/templating language was ahead of its time.
- rkeene2 10y agoFossil has TH1 -- pretty much a stripped down Tcl, but can also (optionally) call out to full Tcl.
- bachmeier 10y agoHere's my story. I wanted to use version control on my research projects, but asking my collaborators to use Git was too much. They were supposed to figure out a staging area and pushing and pulling and then they'd get a bizarre error about a merge conflict. They'd do a search and Stack Overflow told them to type in an incantation. The repo is messed up, the collaborator goes back to email, and I'm left sorting through the rubble formerly known as a repo. I switched to Fossil a few months ago. Nice website that holds all the information. fossil commit -m "Message" is all they need to know. If they forgot to pull, it stops and tells them to do so. They type fossil update and go on with their lives. Zero problems so far and a more productive workflow overall.
- bananaoomarang 10y agoThis is a good point. I think once developers learn Git (or as much as they need to use), then they forget how esoteric the the cli tool is. I think a lot of devs have the attitude that a tool being more difficult to use makes it a powerful one (cf. Vim/Emacs), whereas most people are happy when tool does the three things they need to get from a=>b, b=>c, a=>c. Maybe this is to do with our desire for everything to be as flexible as the programming languages we write in. Most people don't view computers as blank slates ready to do their bidding, but as systems where the behaviour of a few facets is to be memorised without concerns for their mechanics or abstractions. This is probably one of the reasons that mobile software is seen as so easy to use, since it obscures/abstracts elements like the filesystem from the user. Glad to hear Fossil is friendlier. EDIT: I should say that I am a heavy user of Vim, Emacs, Git and Arch Linux, I am just saying that these tools often require a large up front investment, and this can be detrimental as well as sensible.
- pebblexe 10y agoI wish it supported AJAX and the client UI was decoupled from the repository.
- lvh 10y agoI'm not sure I understand what you mean with "client UI being decoupled from the repository". Wouldn't everything you do in an SCM necessarily be coupled to a repository?
- david-given 10y agoIf you have multiple repositories, you have to set up the UI and ticketing setup in each one individually. (Although you can share a login database.) I don't know if it's been fixed by now, but back when I was using Fossil regularly there were long-standing bugs where pushing the UI and ticket configuration from one repo to another didn't work properly, so synchronising look and feel across multiple repositories was hard.
- rkeene2 10y agoSome parts of the UI do use AJAX -- the tree-style file browser, for example.
- krylon 10y agoI switched from Mercurial to Fossil for my personal projects about two years ago and have been very happy with it so far. (Not that I think Mercurial is bad, not at all). The builtin Wiki was what really sold me on it, because it makes a great place to gather notes and such. This is one nice piece of software, at least for my needs.
- ftwynn 10y agoIf anyone is interested in some of the deeper rationale behind SQLite and such, the FLOSS Weekly episode on this was pretty good. https://twit.tv/shows/floss-weekly/episodes/320 https://twit.tv/shows/floss-weekly/episodes/320
- cygned 10y agoPodcast with the creator of SQLite who also created Fossil, they also talk about the latter. Definitely recommended. https://changelog.com/podcast/201 https://changelog.com/podcast/201
- crux 10y agoI use Fossil whenever I can. Unfortunately, this means I have only ever used it for projects where I'm the only contributor.
- e12e 10y agoI tried using Fossil as a DVCS/Project management tool for a class I'm currently teaching - but in the end I couldn't quite figure out self-registration combined with allowing authenticated push in a way that worked for ~25 students without needing much instruction/hand-holding. If I'd had some form of user-database already, I could probably have gotten it to work with a proxy in front - but for now I've ended up using gogs: https://gogs.io/ https://gogs.io/ I'm not certain I actually prefer gogs to fossil, but apart for working as I wanted/needed without much setup it had the dubious benefit of forcing me to teach my students to use git, along with a rather cumbersome pull-request system (gogs tend to hickup on commits that probably should've been possible to fast-forward, possibly due to not forcing git to ignore white-space). Dubious because as a bit of a mercurial fanboy, I think git has a frustrating and opaque command line interface, not helped by the fact that a standard workflow uses various "non standard" (as in: the most obvious) commands. Benefit because learning git is unquestionably a valuable skill, due to the popularity git enjoys, in no small part due to github's success. I'd like to go back and revisit Fossil at a later time, but right now I'll probably spend any time I can find on (investigating) migrating from gogs to gitlab -- as it's turned out that the limits on pull-requests in gogs make it complicated to use with large groups of people new to version control. That said, I'm a strong believer in combining wiki, version control and issues in a single repository supporting various DVCS workflows.
- sytse 10y agoGlad to hear you're considering using GitLab. We have an importer for Gitea but not for Gogs https://docs.gitlab.com/ee/workflow/importing/README.html https://docs.gitlab.com/ee/workflow/importing/README.html so I think you might consider a batch import https://docs.gitlab.com/ce/raketasks/import.html https://docs.gitlab.com/ce/raketasks/import.html
- pythonaut_16 10y agoI just started using this yesterday! I setup a personal Gitea instance on Linode, but wanted to make sure I could easily back up my repos in case I ever lose access or stop maintaining my personal Linode server. Gitlab made it easy to setup all of my repos to mirror and automatically update from my Gitea daily. (One slight bug, Gitlab does seem to always say the repos failed to import, even when they're successful) Thanks for the helpful feature!
- sureshn 10y agoI am huge fan of fossil and using it for my side projects , I also wrote a blog about it https://fulstacker.wordpress.com/2016/04/11/all-you-need-to-know-about-fossil-scm/ https://fulstacker.wordpress.com/2016/04/11/all-you-need-to-... . I am working on a React.JS Angular implementation of Fossil which is still in its primitive stage. I plan to open source it some day !
- rkeene2 10y agoI would also like to mention ChiselApp ( http://ChiselApp.com/ http://ChiselApp.com/ ) offers free Fossil hosting. I run this service, originally run and created by James Turner.
- jccooper 10y agoThank you super much!
- marcinkuzminski 10y agoIt would be great to add Fossil, as another backend to RhodeCode VCSServer that now supports git, Mercurial and SVN. It's also written in python so it should be not so hard.
- cuspycode 10y agoFor me, the ease of self-hosting my own source-code hub tipped the balance in favor of Fossil SCM, after I abandoned Subversion. Ironically, the difficulty of self-hosting Git was the raison d'être for why inherently centralized services such as Github/Gitlab/etc were created in the first place, despite all the nice talk about distributed systems. There is no a priori reason why hosting a source code repo should be any different from hosting any random blog page. And Fossil is the proof that it can work.
- gglitch 10y agoI use Fossil for all my personal projects, and I use its wiki, technotes, and tickets for almost all of my knowledge and task management. It has become the centerpiece of my workflow. Where else have I seen as great a combination of reliability, simplicity, and flexibility? Oh yeah, SQLite. Thanks drh.
- flopdrol 10y agoAls ik nu terug ga naar mijn kantoor ga dan wordt dat echt iets raar.
- ifduyue 10y agoToo slow, tried to convert linux git repo to fossil but failed.