标签: hex-pm

如何删除十六进制上的elixir包

我想在hex上删除已发布的elixir包.我已经知道我只能在创建后使用此命令删除它一小时.

mix hex.publish --revert VERSION
Run Code Online (Sandbox Code Playgroud)

但是,还有另一种方法可以删除在hex上创建一个多小时后的包吗?谢谢你的每一个建议.

elixir hex-pm

7
推荐指数
1
解决办法
1123
查看次数

当您的项目作为mix dep包含时,防止包含混合任务

我正在编写的Elixir库有两个自定义混合任务,一个用于使我的库成为项目依赖项的用户使用,一个用于仅在我的项目中使用.

这里的问题是,在将我的项目添加为dep之后,两个混合任务都可供其项目中的用户使用.

我该如何防止这种情况?我试图package: [ files: [ etc ] ]在我的Mix配置中避免任务,但它仍然在我的测试项目中可用,它通过git将我的库指定为dep.

elixir-mix elixir hex-pm

6
推荐指数
1
解决办法
77
查看次数

混合deps.get失败,{:failed_connect,[{:to_address,{'repo.hex.pm',443}},{:inet,[:inet],{:option,:server_only,:honor_cipher_order}}}}

我正在尝试获取我的elixir项目的依赖项。我无法确定Hex是否掉线(今天早上我可以很好地获取数据)。当我跑步

$ mix deps.get
Run Code Online (Sandbox Code Playgroud)

我看到了:

    Failed to fetch record for 'hexpm/phoenix_live_reload' from registry (using cache)
{:failed_connect, [{:to_address, {'repo.hex.pm', 443}}, {:inet, [:inet], {:option, :server_only, :honor_cipher_order}}]}
    Failed to fetch record for 'hexpm/phoenix_ecto' from registry (using cache)
{:failed_connect, [{:to_address, {'repo.hex.pm', 443}}, {:inet, [:inet], {:option, :server_only, :honor_cipher_order}}]}
    Failed to fetch record for 'hexpm/phoenix' from registry (using cache)
{:failed_connect, [{:to_address, {'repo.hex.pm', 443}}, {:inet, [:inet], {:option, :server_only, :honor_cipher_order}}]}
    Failed to fetch record for 'hexpm/phoenix_pubsub' from registry (using cache)
{:failed_connect, [{:to_address, {'repo.hex.pm', 443}}, {:inet, [:inet], {:option, :server_only, …
Run Code Online (Sandbox Code Playgroud)

elixir-mix elixir hex-pm

4
推荐指数
2
解决办法
364
查看次数

标签 统计

elixir ×3

hex-pm ×3

elixir-mix ×2