Browse Source

don't attempt retry of missing packages when updating index

pull/1722/head
Tristan Sloughter 7 years ago
parent
commit
d839a0be8d
No known key found for this signature in database GPG Key ID: AAB97DDECCEB8150
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      src/rebar_packages.erl
  2. +1
    -1
      src/rebar_prv_update.erl

+ 1
- 0
src/rebar_packages.erl View File

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

@ -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…
Cancel
Save