gleam-lang/gleam

Unable to refetch a release when release is replaced on hex

Open

#3,268 创建于 2024年6月12日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Rust (960 fork)batch import
discussionhelp wanted

仓库指标

Star
 (21,417 star)
PR 合并指标
 (平均合并 10天 19小时) (30 天内合并 69 个 PR)

描述

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

贡献者指南