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

Test old metadata versions #164

Open
hasufell opened this issue Jan 4, 2024 · 1 comment
Open

Test old metadata versions #164

hasufell opened this issue Jan 4, 2024 · 1 comment

Comments

@hasufell
Copy link
Member

hasufell commented Jan 4, 2024

The metadata is not properly versioned, except for the filenames that correspond to the hardcoded URL in the ghcup binary: https://github.com/haskell/ghcup-hs/blob/55030d83da6d59196df28c0eb115cdf19ff20393/lib/GHCup/Version.hs#L37

To test compatibility you currently would have to download an older ghcup binary and test it with e.g. ghcup-0.0.7.yaml to truly know.

That lead to e.g. #163

Prior work: haskell/ghcup-hs#865

So: we probably want proper yaml schemas.

@fendor
Copy link
Contributor

fendor commented Jan 4, 2024

That's a good idea, I was thinking of adding yaml schemas for the hie.yaml file format as well, as it is a little bit too ad-hoc and would benefit from a schema definition. Additionally, it can help IDEs to provide auto completions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants