-
Notifications
You must be signed in to change notification settings - Fork 3
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
Fix CI failures because of unused names or importing transitive dependencies #43
Comments
Seems like there were a few people interested in working on this, not sure what the plan is to coordinate, but FWIW, I'll try my hand at fixing |
|
I'll try to get to |
I'd love to grab the |
Coordination essentially comes down to checking if there is already a PR or if the library is already checked off 😬 I'm open to ideas for coordination! I'll review and merge things as quickly as I can. |
Ah whoops, I didn't think to update the |
Is there a good way to check that |
On second thought -- don't worry about the If you want to be included in the CHANGELOG then you can add this change under the "Other improvements" section, but you don't need to do this if you don't feel like it. |
I'll try |
All done! Thanks everyone! |
A number of our libraries are failing in CI for one of two reasons:
spago.dhall
fileThey need to be fixed by taking actions depending on whether they're failing due to the unused names or the transitive dependencies. If you would like to be included in the CHANGELOG you are free to add an entry under the "Other improvements" section (for example:
Ensure all imported packages are in the spago.dhall file (#000 by @___)
).Don't bother updating the bower.json files -- I can take care of this later on!
To fix a library that imports from a transitive dependency:
spago install
. For example, if Spago reports that a library imports fromprelude
but doesn't list it as a dependency, then you can fix the issue withspago install prelude
.spago.dhall
file. This has to be done manually -- there is nouninstall
command.To fix a library that has an
UnusedName
error from the compiler:{ a, b }
but one or more of the names is unused), then remove the unused names.When you fix one of these libraries, please include a link to this issue in the pull request so that it automatically shows up on this issue. These libraries need to be fixed:
The text was updated successfully, but these errors were encountered: