瀏覽代碼

don't attempt retry of missing packages when updating index

pull/1722/head
Tristan Sloughter 7 年之前
父節點
當前提交
d839a0be8d
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: AAB97DDECCEB8150
共有 2 個檔案被更改,包括 2 行新增1 行删除
  1. +1
    -0
      src/rebar_packages.erl
  2. +1
    -1
      src/rebar_prv_update.erl

+ 1
- 0
src/rebar_packages.erl 查看文件

@ -9,6 +9,7 @@
,registry_checksum/2
,find_highest_matching/6
,find_highest_matching/4
,find_highest_matching_/6
,find_all/3
,verify_table/1
,format_error/1]).

+ 1
- 1
src/rebar_prv_update.erl 查看文件

@ -206,7 +206,7 @@ valid_vsn(Vsn) ->
re:run(Vsn, SupportedVersions, [unicode]) =/= nomatch.
highest_matching({Pkg, PkgVsn, Dep, App}, Vsn, HexRegistry, State, DepsListAcc) ->
case rebar_packages:find_highest_matching(Pkg, PkgVsn, Dep, Vsn, HexRegistry, State) of
case rebar_packages:find_highest_matching_(Pkg, PkgVsn, Dep, Vsn, HexRegistry, State) of
{ok, HighestDepVsn} ->
[{App, {pkg, Dep, HighestDepVsn, undefined}} | DepsListAcc];
none ->

Loading…
取消
儲存