-
Notifications
You must be signed in to change notification settings - Fork 80
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
Proposal: Include compiler
version ranges in metadata
#526
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think a package's published versions metadata should contain a
compiler
field for each published version. When the package is uploaded this will be a range using thecompiler
field they sent in the API (like>=0.15.3 <0.15.4
). But then the build matrix kicks off, and then we adjust the range to be what we've discovered actually works (like>=0.15.0 <0.15.5
).Unfortunately, old packages that we never compiled (those via the legacy importer) may not have a range unless we try to build them too (which we could).
We can use this info for example to determine what compilers are suitable for Spago or the package sets to use given a set of package versions: use the compiler admitted by their intersection. We can also display this information on Pursuit and use it to add a filter that only displays packages that support a particular compiler version.
The text was updated successfully, but these errors were encountered: