[Pkg-erlang-devel] Bug#1107454: unblock: erlang-hex/2.0.6-2

John Lines john at paladyn.org
Sat Jun 7 21:17:18 BST 2025


Package: release.debian.org
Severity: normal
X-Debbugs-Cc: erlang-hex at packages.debian.org, john at paladyn.org
Control: affects -1 + src:erlang-hex
User: release.debian.org at packages.debian.org
Usertags: unblock

Please unblock package erlang-hex


[ Reason ]

mix in elixir complains about outdated hex #1105125


[ Impact ]

The issue above causes mix (a key elixir project management tool) to
prompt for an updated version of hex, as it is checking for a version
with has a bugfix release - from upstream changelog

## v2.0.6 (2023-02-06)
 
### Bug fixes
 
* Fix application startup when there are configured organizations
 
## v2.0.5 (2023-02-06)

The upstream change is small

 diff erlang-hex-2.0.5/lib/hex/repo.ex erlang-hex/lib/hex/repo.ex 
116c116,124
<           source = get_repo(source)
---
>           state_pid = Process.whereis(Hex.State)
> 
>           source =
>             if state_pid && state_pid != self() do
>               get_repo(source)
>             else
>               Map.fetch!(repos, source)
>             end
> 

diff erlang-hex-2.0.5/mix.exs erlang-hex/mix.exs 
4c4
<   @version "2.0.5"
---
>   @version "2.0.6"


[ Tests ]
I have manually tested using the updated hex to verify it works for building
erlang-hex

[ Risks ]
The upstream change is very small, and I deliberately selected 2.0.6 rather
than the latest 2.2.1 to minimise impact, while allowing mix to run

[ Checklist ]
  [x] all changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in testing

[ Other info ]
The upstream change is minimal but as mix tests for at least this version
it is better to package this upstream than, for example to patch elixir-lang
to avoid the version test, or to patch 2.0.5, otherwise unchanged, to pretend
to be 2.0.6

unblock erlang-hex/2.0.6-2
-------------- next part --------------
File lists identical (after any substitutions)

Control files: lines which differ (wdiff format)
------------------------------------------------
Installed-Size: [-1209-] {+1082+}
Maintainer: [-Debian Erlang Packagers <pkg-erlang-devel at lists.alioth.debian.org>-] {+John Lines <john at paladyn.org>+}
Version: [-2.0.6-2-] {+2.0.5-2+}


More information about the Pkg-erlang-devel mailing list