Deliverable 2: Spec document for golang implementation of format #2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:
Desired features for 1.0:
mf generate
(recurses into current directory and writesindex.mf
).mf generate /path/to/other
(same)mf generate -k 5539AD00DE4C42F3AFE11575052443F4DF2A55C2
(generates./index.mf
and signs it with keyid5539AD00DE4C42F3AFE11575052443F4DF2A55C2
by shelling out to gpg binary)mf verify
(checks./index.mf
)mf verify /path/to/other
(same)mf verify -k 5539AD00DE4C42F3AFE11575052443F4DF2A55C2
(checks that signature is from keyid5539AD00DE4C42F3AFE11575052443F4DF2A55C2
and signature is valid)mf fetch https://example.com/directory/
(fetcheshttps://example.com/directory/index.mf
and all referenced files, and ensures they are downloaded correctly)mf fetch -k 5539AD00DE4C42F3AFE11575052443F4DF2A55C2 https://example.com/directory/
The spec for the golang implementation should also be committed into this repo, and can be removed once the go code is done.