[前][次][番号順一覧][スレッド一覧]

ruby-changes:74068

From: Takashi <ko1@a...>
Date: Tue, 18 Oct 2022 07:38:13 +0900 (JST)
Subject: [ruby-changes:74068] 995bdd69de (master): Try --x-use-aria2 for better retries (#6574)

https://git.ruby-lang.org/ruby.git/commit/?id=995bdd69de

From 995bdd69de0ce0ab5cec93c5818cc28912657458 Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Mon, 17 Oct 2022 15:37:56 -0700
Subject: Try --x-use-aria2 for better retries (#6574)

to possibly deal with failures like https://ci.appveyor.com/project/ruby/ruby/builds/45097615.

I'm not sure how vcpkg retries things, but at least aria2c seems to attempt downloads 5 times by default.
https://aria2.github.io/manual/en/html/aria2c.html

Looking at the CI log, vcpkg might be already trying it 5 times, but let me give it a try too.
---
 .appveyor.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.appveyor.yml b/.appveyor.yml
index a2cdb09ac7..4eca17a210 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -46,7 +46,7 @@ for: https://github.com/ruby/ruby/blob/trunk/.appveyor.yml#L46
     - git pull -q
     - .\bootstrap-vcpkg.bat
     - cd %APPVEYOR_BUILD_FOLDER%
-    - vcpkg --triplet %Platform%-windows install libffi libyaml readline zlib
+    - vcpkg --triplet %Platform%-windows install --x-use-aria2 libffi libyaml readline zlib
     - CALL SET vcvars=%%^VS%VS%COMNTOOLS^%%..\..\VC\vcvarsall.bat
     - SET vcvars
     - '"%vcvars%" %Platform:x64=amd64%'
-- 
cgit v1.2.3


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]