瀏覽代碼

Merge pull request #1722 from tsloughter/fix-update-loop

don't attempt retry of missing packages when updating index
pull/1723/head
Tristan Sloughter 7 年之前
committed by GitHub
父節點
當前提交
ade7fc698b
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 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…
取消
儲存