compiler icon indicating copy to clipboard operation
compiler copied to clipboard

Possible to publish packages with removed dependencies.

Open rupertlssmith opened this issue 4 years ago • 1 comments

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.

rupertlssmith avatar May 09 '21 12:05 rupertlssmith

Thanks for reporting this! To set expectations:

  • Issues are reviewed in batches, so it can take some time to get a response.
  • Ask questions in a community forum. You will get an answer quicker that way!
  • If you experience something similar, open a new issue. We like duplicates.

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

github-actions[bot] avatar May 09 '21 12:05 github-actions[bot]