banyan-cli
banyan-cli copied to clipboard
Manifest Output
NB: Feature requests will only be considered if they solve a pain or present a useful refactoring of the code.
Summary
The structure of Manifest files is hard to understand / contains redundant fields / should contain additional metadata
Problem + Impact
The problem is that the format is hard to understand and contains alot of seemingly redundant information
Impact
Fixing this will make representing manifests in Firestore eaiser, and make it easier to work with them for key sharing and layered services
Solution
- Talk through a suitable format. Some nice things would be:
- change long fields to shorter ones (i.e. original_data.original_root can just be named root)
- Origin_data is also kinda redundant, all fields in that can be top level.
- Get rid of permissions on files and all other ting currently set to null be default
- Add file size (rename len to size)
- remove file type (you can look at data_processing.File and see if it exists)
- Do it
- Maybe it makes our data structures nicer and easier to port to WNFS
one thought to put here: root should maybe include a hostname or other machine identifier. idk yet