-
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
wishlistsomeday maybesomeday maybe
Description
needing to recompile to add keysets is pain.
- .ini file with name-value pairs ? mediocre
- any "noSQL" key-value store is not really a good fit. gdbm, tdb, berkeley db etc. fall in this category
- full relational db ? sqlite, etc... nice API for queries etc, but needs work to import/export human-readable dumps
- csv ? better probably, but needs some supporting code for queries
- some format that has at least some library support for "real" db queries, maybe https://github.com/PsychoCod3r/libcsv/ ? or https://github.com/rgamble/libcsv (low-level backend, callbacks per field and per record) ?
- storing as a "proper" db format ? cons = overhead, not easily (?) text-versionable... could be a challenge to automate.
Requirements :
- fields that nisrom can populate: romsize, cpuid (to determine correct kernel), keyset
- extra fields that may need manual entry : ECUID, eepr function addrs
- MD5 of stock ROM, to identify a dump (this would be used on the nissutils or RR side)
- must be text-versionable
Tasks :
- tweak nisrom to produce clean, CSV output ( improve output formatting nissutils#9 )
- extract ECUID from dump filename if possible, see nisrom: extract ECUID from filename nissutils#14
- move ECUID and keyset query code and internal db to separate file (could be a different repo eventually)
- prepare tools to generate csv (probably from a batch run of nisrom)
- populate db from external csv and query that instead
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
wishlistsomeday maybesomeday maybe