Deliverable 2: Spec document for golang implementation of format
This is also to be written in markdown.
The implementation should be comprised of a reusable library, and a small wrapper CLI utility that consumes the library.
This document should:
- identify the usage examples of the golang CLI tool
- list the features it will have in 1.0
- list the features it will not have in 1.0 (planned features)
- describe the broad structure of the repository/code
Desired features for 1.0:
mf generate (recurses into current directory and writes
mf generate /path/to/other (same)
mf generate -k 5539AD00DE4C42F3AFE11575052443F4DF2A55C2 (generates
./index.mf and signs it with keyid
5539AD00DE4C42F3AFE11575052443F4DF2A55C2 by shelling out to gpg binary)
mf verify (checks
mf verify /path/to/other (same)
mf verify -k 5539AD00DE4C42F3AFE11575052443F4DF2A55C2 (checks that signature is from keyid
5539AD00DE4C42F3AFE11575052443F4DF2A55C2 and signature is valid)
mf fetch https://example.com/directory/ (fetches
https://example.com/directory/index.mf and all referenced files, and ensures they are downloaded correctly)
mf fetch -k 5539AD00DE4C42F3AFE11575052443F4DF2A55C2 https://example.com/directory/
Deleting a branch is permanent. It CANNOT be undone. Continue?