gleam-lang/gleam

Unable to refetch a release when release is replaced on hex

Open

#3,268 opened on Jun 12, 2024

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Rust (21,417 stars) (960 forks)batch import
discussionhelp wanted

Description

After replacing a version on hex, gleam is unable to find the new tarball for the version, and continues to serve the old one.

Steps to reproduce:

  • Download the tarball for a version of the package.
  • Put that tarball in the cache folder (~/Library/Caches/gleam/hex/hexpm/packages on macOS)
  • Rename it with the latest version (i.e. rename lustre-4.2.4.tar to lustre-4.2.5.tar)
  • Try to build, old code should be served

Environment:

  • Gleam 1.2.1
  • Erlang/OTP 26
  • Node v18.14.0

Contributor guide

Unable to refetch a release when release is replaced on hex · gleam-lang/gleam#3268 | Good First Issue