threefoldtech / 0-hub

Threefold Images Hub
https://hub.grid.tf
Apache License 2.0
1 stars 1 forks source link

README support #40

Closed maxux closed 4 years ago

maxux commented 4 years ago

When uploading an archive, support detection of /.README.md or /.README file and use them as readme metadata inside the flist.

There is also an extra /api/flist/<username>/<flist>/metadata which returns all (known) metadata available. Only the readme is handled on the frontend, but later, more can be supported, API provide them.

This give the advantage to support home-made flist readme, since it's generic 0-flist metadata implementaiton.