소스 검색

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
No known key found for this signature in database GPG 키 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 ->

불러오는 중...
취소
저장