Expand description
The console’s SQLite file (RFC-108 D6).
Structs§
- Event
Filter - Which events to list. Empty fields match everything.
- Event
Row - One change recorded between two consecutive reports of a project.
- Ingest
Outcome - What ingesting a report did.
- KeyGrant
- What a live key allows.
- KeyInfo
- Project
Row - Report
Summary - One stored report, without its body.
- Store
Constants§
- DATABASE_
FILE - File name of the database inside the data directory.
- KEY_
PREFIX - Prefix of every publish key, so a leaked one is recognisable.
Functions§
- default_
data_ dir - The data directory when
--datais not given:$XDG_DATA_HOME/tuff/console, or~/.local/share/tuff/console. - report_
digest - SHA-256 over the report’s canonical JSON without
generatedAtand the project’scommit,branch, anddirty(D6). Those describe when and where the report was taken; two reports that differ only there say the same thing about the project, so a CI job publishing on every push does not add a row per commit.