This is still quite ugly and only meant to get things going for now, as
a proof of concept. It is usable though, and quite fast.
Signed-off-by: Yonah <contrib@gensokyo.uk>
The composite maps are no longer needed as the new Album variant makes
more sense than them. They are also unordered while the base variants of
both endpoints are ordered. Composite is therefore only used for
validation in the current implementation.
Signed-off-by: Yonah <contrib@gensokyo.uk>
This creates a content-addressed store for all media files. It is not
yet usable but an API and cdn backend will be implemented from it in a
later commit, as well as tooling for export and tagging.
Signed-off-by: Yonah <contrib@gensokyo.uk>
This implementation of cmd/msrfetch is only temporary, used to fetch the
testdata. At this point we have all metadata present in the repo and all
that is left is to fetch the media.
Signed-off-by: Yonah <contrib@gensokyo.uk>