fontist / formulas

Fontist Font Formulas
6 stars 0 forks source link

(URGENT) "webcore" font location at opensuse.org now fails due to updated version and rename #99

Closed ronaldtse closed 2 years ago

ronaldtse commented 2 years ago
Downloading font "webcore" from https://download.opensuse.org/repositories/home:/alteratio:/Common/openSUSE_13.2/src/webcore-fonts-3.0-2.1.src.rpm
2444
/__ruby_packer_memfs__/local/vendor/bundle/ruby/2.6.0/gems/fontist-1.11.1/lib/fontist/utils/downloader.rb:84:in `rescue in download_file': Invalid URL: https://download.opensuse.org/repositories/home:/alteratio:/Common/openSUSE_13.2/src/webcore-fonts-3.0-2.1.src.rpm (Fontist::Errors::InvalidResourceError)
2445

We need to do something with these constant version updates.

ronaldtse commented 2 years ago

https://software.opensuse.org/download/package?package=webcore-fonts-vista&project=home%3Aalteratio%3ACommon

Screenshot 2021-08-30 at 5 45 05 PM

Maybe we should switch to a more stable mirror: http://rpm.pbone.net/results_srodzaj_3_search_webcore-fonts.html

alexeymorozov commented 2 years ago

Fontist still doesn't support retries for downloading and doesn't iterate over mirrors. Currently it only uses the first url one time, and if it fails, fontist stops. Let's add retries and iteration over mirrors?

Urls from the links above seems that don't contain fonts (should be the src version?), or I missed something. So temporarily I've changed it to another our mirror.

The current mirror download.opensuse.org fails occasionally, doesn't it?

alexeymorozov commented 2 years ago

@ronaldtse I can add retries and iterate over mirrors, what do you think?

ronaldtse commented 2 years ago

@alexeymorozov agree with this. Let's make the enhancement. Thanks!