elm / compiler

Compiler for Elm, a functional language for reliable webapps.
https://elm-lang.org/
BSD 3-Clause "New" or "Revised" License
7.51k stars 656 forks source link

Possible to publish packages with removed dependencies. #2203

Open rupertlssmith opened 3 years ago

rupertlssmith commented 3 years ago

If you have a long-lived ~/.elm folder, it may contain dependencies that have been removed or renamed on Github. The most frequent one being Skinney/murmur3.

Given that situation, it is possible to publish a new package that depends on it, even though the dependency is broken.

Example

I just published:

https://package.elm-lang.org/packages/the-sett/salix/4.0.1/

Solution?

If publish builds were always done against a clean temporary folder, like say /tmp/elm-publish-1d76as9d87asd, then at least all dependencies would be downloaded freshly.

Package server side build verification.

github-actions[bot] commented 3 years ago

Thanks for reporting this! To set expectations:

Finally, please be patient with the core team. They are trying their best with limited resources.