-
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
Remove legacy packages that do not solve #531
Comments
Here's the full list of package versions which fail to solve: https://gist.github.com/MonoidMusician/0f0c4ed70edf7c000a1da012bdca5134 Definitely too many to fix 😄 I'm fairly sure this list is accurate, pending more verification of the latest iteration of the solver. That said, I don't think I made substantial changes to the core logic of the solver so I'm fairly confident in it. In fact, all but 2 of these failures were found with merely the transitive dependencies check in the solver, not the full logic for picking versions. Interestingly, all of the integration test packages failures I listed above are included in this new list, which I was not expecting since (afaik) that was running on mixed registry/bower data, although it was filtering out packages that just failed to solve on bower. |
How could these be published under Bower? If they don't solve they should not go through their publishing process, right? |
I don't think bower checks for solvability on publish, does it? I think it kind of just tags it on GitHub and calls it good. Also it's easy to get into a weird state with bower, where deleting the |
I don't know if Bower did check automatically, but What I'm trying to get at here is that this amount of unsolved packages is definitely suspicious and worth some investigation. |
It's not clear to me that any of these versions are available on pursuit, so |
I should organize them by date, as I suspect most of them are pretty old and not relevant to current development, but I don't have that information at hand yet. Obviously some are unstable versions It does appear that most of the failures I looked at are not on pursuit, either due to neglect or because they predated pursuit or common publishing to pursuit. About the only ones I could find on pursuit at first glance were the versions of
I don't know why we don't have A recent failure: |
I would be curious to see if, with these removed, we can try to make registry-dev/lib/src/Registry/ManifestIndex.purs Lines 110 to 122 in a2f872e
Also, we could disable the |
As per the registry call, we are going to:
|
To expand on the comment above, here's a recap of the discussion in yesterday's call:
|
* Adjust bounds for packages, see purescript/registry-dev#567 (comment) * Remove package versions with manifests that do not solve, see purescript/registry-dev#531 * Reinstate [email protected],0.9.1, [email protected],0.3.1, [email protected],0.2.2 Co-authored-by: pacchettibotti <[email protected]>
* Adjust bounds for packages, see purescript/registry-dev#567 (comment) * Remove package versions with manifests that do not solve, see purescript/registry-dev#531 * Reinstate [email protected],0.9.1, [email protected],0.3.1, [email protected],0.2.2 Co-authored-by: pacchettibotti <[email protected]>
And prevent reupload.
I think our integration test isn't doing the exact thing we need (for two reasons: I think part of it is still mixed with Bower data, and it only checks for the most recent version), but it gives an idea of which packages are problematic:
Related:
The text was updated successfully, but these errors were encountered: