gleam-lang/gleam

Unable to refetch a release when release is replaced on hex

Open

#3.268 aberto em 12 de jun. de 2024

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)Rust (960 forks)batch import
discussionhelp wanted

Métricas do repositório

Stars
 (21.417 stars)
Métricas de merge de PR
 (Mesclagem média 10d 19h) (69 fundiu PRs em 30d)

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

Guia do colaborador