News for hackers. Stuff that matters.
Re:Figure out who's leaving the company: dump, diff, repeat by ElectricalUnion on Friday February 09, 2024 @02:39AM (#39312425)
Would fossil fit this bill?

Somewhat git-compatible, based on sqlite3.

Re:Figure out who's leaving the company: dump, diff, repeat by JonChesterfield on Friday February 09, 2024 @08:03AM (#39314402)
Specifically the fossil repo is a sqlite database.

I have a cron script stashing whatever is currently in an obsidian vault into a fossil repo. There's a fossil addremove command that makes that very easy. Thus distributed backups of said vault.

Re:Figure out who's leaving the company: dump, diff, repeat by Zambyte on Friday February 09, 2024 @12:10PM (#39317287)
What does "somewhat git-compatible" mean? Can it sometimes use existing git repos, or is the mental model close enough to pick up without learning much?
Re:Figure out who's leaving the company: dump, diff, repeat by ElectricalUnion on Friday February 09, 2024 @12:39PM (#39317764)
> is the mental model close enough to pick up without learning much?

I would say git core concepts are pretty similar to fossil concepts, but actual plumbing implementation details are pretty distinct.

The major difference that I remember from a day-to-day "git porcelain" perspective is that rebases and other types of history rewriting are very discouraged.

For a Rosetta stone of somewhat comparable commands: https://fossil-scm.org/home/doc/trunk/www/gitusers.md

> Can it sometimes use existing git repos

You can, but it's kinda a lot of really slow busywork. And you lose some of the not-file-dvcs features of Fossil, but it is possible.

This page explains how: https://www.fossil-scm.org/home/doc/trunk/www/mirrortogithub...