After writing a few issues, its clear that crate_releases have some additional metadata that could be structured and displayed.
Its nice to be able to tell people what they're clicking on: a changelog, a written post, a video on a particular platform, a discord link, etc. This is mostly done through icons and wording on the frontend. While we could have a generic "urls" field and do detection by url domain, that is error prone and if it can be structured it should so that links show up in the same locations all the time.
schema
Most crate releases have
GitHub repo link
crates.io link
Some additionally have
Changelog link
Release post link
message link in discord
current schema
currently there's a main url which isn't particularly well-defined other than being the "main link", and a discord_url. This leaves crates.io, changelog, and release_post as potential additions.
After writing a few issues, its clear that crate_releases have some additional metadata that could be structured and displayed.
Its nice to be able to tell people what they're clicking on: a changelog, a written post, a video on a particular platform, a discord link, etc. This is mostly done through icons and wording on the frontend. While we could have a generic "urls" field and do detection by url domain, that is error prone and if it can be structured it should so that links show up in the same locations all the time.
schema
Most crate releases have
Some additionally have
current schema
currently there's a main
url
which isn't particularly well-defined other than being the "main link", and adiscord_url
. This leavescrates.io
,changelog
, andrelease_post
as potential additions.