Explore fossil SQLite database with Datasette¶
Since Fossil is backed by an SQLite database, we can use tools like Datasette to explore and interact with the fossil data.
- Input:
SELECT user,comment FROM event - Output: A CSV of users and commit messages
user,comment
brie,initial empty check-in
brie,๐ฆ Initial commit -- rawr
brie,๐งช Let us make some changes
brie,๐ Add README
brie,๐ Add test database
brie,๐ป Add picture of Plop
How I did it¶
Use datasette serve ./whatever.fossil in order to get a Datasette instance. This instance provides an alternate way to explore the data that is available to fossil.
In the Datasette Web UI, click the name of the database and then you can enter queries in Custom SQL query.