ecosystem icon indicating copy to clipboard operation
ecosystem copied to clipboard

Single source of truth for repository model

Open frankharkins opened this issue 1 year ago • 1 comments

What is the expected enhancement?

We keep breaking the website builds by adding invalid information to the TOML files. New submissions also need manually editing to make them valid. It would be good to ensure the issue template matches the TOML files and valid labels etc.

A possible solution is generating the issue template from a JSON schema.

frankharkins avatar Jan 25 '24 13:01 frankharkins

It seems you can test the files using jq like cat file.toml | grep jq .

mickahell avatar Feb 01 '24 13:02 mickahell

This was mostly addressed in #701; there are now only two "sources of truth" (the template and the repository model), but we have a test to make sure they stay in sync. I think this solution is good enough for now.

frankharkins avatar Jun 17 '24 11:06 frankharkins