actions icon indicating copy to clipboard operation
actions copied to clipboard

Fallback from RSPM download failures

Open gaborcsardi opened this issue 2 years ago • 3 comments

RSPM Linux binaries are treated as source package currently, that might actually help.

macOS and Windows are trickier, because there you cannot currently fall back from a binary package to a source package.

gaborcsardi avatar Dec 13 '21 12:12 gaborcsardi

Is there an option to install only binary packages, even if sources are newer? I remember a similar issue but can't find it.

Installing igraph (and many other packages) from source is a frustrating and futile exercise if a slightly older binary is readily available... https://github.com/cynkra/dm/runs/4536359277?check_suite_focus=true

krlmlr avatar Dec 15 '21 15:12 krlmlr

(I might be using v1 there still.)

krlmlr avatar Dec 15 '21 16:12 krlmlr

v2 automatically installs binaries, if they are available, unless source packages are explicitly required by some dependency.

gaborcsardi avatar Dec 15 '21 18:12 gaborcsardi

RSPM is much more stable now, so I am going to close this. FWIW pkgcache/async supports backoff now (https://github.com/gaborcsardi/async/commit/ba9b3821a48c49b178d874ad6bb82e8b9af61067), but it is not yet used when downloading the package files.

Should package downloads be unreliable again, we can revisit this.

gaborcsardi avatar Oct 19 '22 12:10 gaborcsardi

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue and include a link to this issue

github-actions[bot] avatar Nov 04 '22 13:11 github-actions[bot]