bevy-website icon indicating copy to clipboard operation
bevy-website copied to clipboard

Populate Assets Metadata on build (crates.io & github)

Open BlackPhlox opened this issue 4 years ago • 0 comments

(WIP)

Part of #159 - Enrich with crates.io data (license, Bevy version, ...)

Using alyti's cratesio-dbdump-lookup we are able to search for crates based on their crate name and get metadata about the crate. A basic version of this is currently working in https://github.com/BlackPhlox/bevy-website.

It's important to note we have to be mindful when downloading the experimental data-dump. Thus, when cratesio-dbdump-lookup downloads the dump it also does cache, though since this is done in CI from bevy-website/generate-assets, its generated cache is getting wiped on every action. Which can be prevented using https://github.com/actions/cache (Not Implemented here yet)

Related issues this can solve: #178 - Get licenses from crates.io and or GitHub API on CI build

BlackPhlox avatar Dec 30 '21 20:12 BlackPhlox