Przeglądaj źródła

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 lat temu
committed by GitHub
rodzic
commit
ade7fc698b
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 2 dodań i 1 usunięć
  1. +1
    -0
      src/rebar_packages.erl
  2. +1
    -1
      src/rebar_prv_update.erl

+ 1
- 0
src/rebar_packages.erl Wyświetl plik

@ -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 Wyświetl plik

@ -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 ->

Ładowanie…
Anuluj
Zapisz