Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: create script for updating lists of ecosystems #303

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

G-Rath
Copy link
Contributor

@G-Rath G-Rath commented Oct 21, 2024

This introduces a new script to make it easier to ensure all "lists of ecosystems" within this codebase remain up to date, including:

To make it a bit easier, I've introduced a top-level ecosystems.json which is a map of defined ecosystems and a markdown description, sorted alphabetically (which the script also ensures) - I felt this was easier than trying to extract the list from markdown or another source, though it does mean double quotes need to be manually escaped.

I went with JSON as it can be read without requiring an external dependency, though if we use Python 3.11 we could switch to toml instead as that ships with tomllib

Signed-off-by: Gareth Jones <jones258@gmail.com>
Signed-off-by: Gareth Jones <jones258@gmail.com>
Signed-off-by: Gareth Jones <jones258@gmail.com>
Signed-off-by: Gareth Jones <jones258@gmail.com>
Signed-off-by: Gareth Jones <jones258@gmail.com>
…ce in their descriptions

Signed-off-by: Gareth Jones <jones258@gmail.com>
Signed-off-by: Gareth Jones <jones258@gmail.com>
Signed-off-by: Gareth Jones <jones258@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant