Talk:BlobStore

From GnuCash
Jump to: navigation, search

> What does this add beyond a ton of code and several levels of indirection? John Ralls (talk) 16:04, 4 May 2026 (UTC)

It will allow gnucash to "ingest" pdfs away from the user, providing convenient easily backed storage. IMV the url/filepath are fragile, liable for the user messing up datapaths. If the user sees BlobStore and a ton of opaque uuid pdfs they are less likely to interfere.

IMV the spec should be modified; the main .gnucash is unchanged.

All the metadata in a separate sqlite3 file, and all the blobs in a child folder.

~/accounting/
├── MyBook.gnucash                          # Book file - unchanged schema
├── MyBook.blobs/                           # Per-book blob directory (sibling)
│   ├── blobs.sqlite                        # Metadata database
│   ├── a1/
│   │   ├── a1b2c3d4e5f6...pdf
│   │   └── a1f7g8h9i0j1...jpg
│   ├── b2/
│   └── ff/
│       └── ffa1b2c3d4e5...png