canonical / chisel

GNU Affero General Public License v3.0
270 stars 42 forks source link

feat: create chisel.db #133

Closed letFunny closed 4 months ago

letFunny commented 5 months ago

This PR depends on https://github.com/canonical/chisel/pull/131


This commit adds support for the creation of the Chisel DB. The DB file(s) are generated at the specified paths, marked with the "generate: manifest" keyword. The files are ZSTD compressed and have the basename "chisel.db". The format of the Chisel DB follows the RK009 spec.

Additionally, as part of this PR, a bug was solved where only the first slice of a package was being correctly reported for the DB.

cjdcordeiro commented 5 months ago

reminder: we may need to reconsider the .db extension for this file. TBD

letFunny commented 4 months ago

We have a couple of PRs that need to be merged before this one and, per the latest conversations, we will need to change the testing strategy and the code layout significantly so it is better to close this one and start fresh with smaller changes.