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

Proposal: Include compiler version ranges in metadata #526

Closed
thomashoneyman opened this issue Sep 29, 2022 · 2 comments
Closed

Proposal: Include compiler version ranges in metadata #526

thomashoneyman opened this issue Sep 29, 2022 · 2 comments

Comments

@thomashoneyman
Copy link
Member

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 the compiler 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.

@f-f
Copy link
Member

f-f commented Sep 29, 2022

Is this a duplicate of #255?

@thomashoneyman
Copy link
Member Author

Oops, yes it is.

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

No branches or pull requests

2 participants