swh-lister/swh/lister
Antoine R. Dumont (@ardumont) 5ebc57912f
lister/nixguix: Make artifact nature check happen on all urls
Starting with the first url. As soon as one detection succeeds, this stops and yields
the result. Otherwise, continue with the detection on the next mirror url.

This should fix the current misbehavior [1] when multiple mirror urls are not ok but the
first one is.

[1] https://gitlab.softwareheritage.org/swh/infra/sysadm-environment/-/issues/4868#note_137483

Refs. swh/infra/sysadm-environment#4868
2023-04-27 18:16:20 +02:00
..
arch Hook up recently introduced options to all listers 2022-12-05 16:33:45 +01:00
aur Hook up recently introduced options to all listers 2022-12-05 16:33:45 +01:00
bitbucket Use http_retry decorator from swh.core.retry module 2023-04-13 14:19:57 +02:00
bower Hook up recently introduced options to all listers 2022-12-05 16:33:45 +01:00
cgit cgit/tasks: Allow passing extra parameters to task 2023-03-21 12:22:07 +01:00
conda Hook up recently introduced options to all listers 2022-12-05 16:33:45 +01:00
cpan Hook up recently introduced options to all listers 2022-12-05 16:33:45 +01:00
cran Hook up recently introduced options to all listers 2022-12-05 16:33:45 +01:00
crates Hook up recently introduced options to all listers 2022-12-05 16:33:45 +01:00
debian Hook up recently introduced options to all listers 2022-12-05 16:33:45 +01:00
fedora Hook up recently introduced options to all listers 2022-12-05 16:33:45 +01:00
gitea gogs, gitea: Fix task execution to pass along extra kwargs 2022-12-14 16:09:56 +01:00
github github: Fix fixtures use in tests 2023-01-02 18:06:26 +01:00
gitlab Use http_retry decorator from swh.core.retry module 2023-04-13 14:19:57 +02:00
gnu Hook up recently introduced options to all listers 2022-12-05 16:33:45 +01:00
gogs gogs, gitea: Fix task execution to pass along extra kwargs 2022-12-14 16:09:56 +01:00
golang Use http_retry decorator from swh.core.retry module 2023-04-13 14:19:57 +02:00
hackage Hook up recently introduced options to all listers 2022-12-05 16:33:45 +01:00
hex hex: Update loader arguments 2023-03-22 08:45:41 +00:00
launchpad Use http_retry decorator from swh.core.retry module 2023-04-13 14:19:57 +02:00
maven mypy: Bump to 1.0.1 and fix new typing errors 2023-02-17 17:56:07 +01:00
nixguix lister/nixguix: Make artifact nature check happen on all urls 2023-04-27 18:16:20 +02:00
npm Hook up recently introduced options to all listers 2022-12-05 16:33:45 +01:00
nuget Hook up recently introduced options to all listers 2022-12-05 16:33:45 +01:00
opam Hook up recently introduced options to all listers 2022-12-05 16:33:45 +01:00
packagist Hook up recently introduced options to all listers 2022-12-05 16:33:45 +01:00
phabricator Hook up recently introduced options to all listers 2022-12-05 16:33:45 +01:00
pubdev Hook up recently introduced options to all listers 2022-12-05 16:33:45 +01:00
puppet Hook up recently introduced options to all listers 2022-12-05 16:33:45 +01:00
pypi Use http_retry decorator from swh.core.retry module 2023-04-13 14:19:57 +02:00
rubygems Hook up recently introduced options to all listers 2022-12-05 16:33:45 +01:00
sourceforge Use http_retry decorator from swh.core.retry module 2023-04-13 14:19:57 +02:00
tests Use http_retry decorator from swh.core.retry module 2023-04-13 14:19:57 +02:00
tuleap Hook up recently introduced options to all listers 2022-12-05 16:33:45 +01:00
__init__.py Add support for more tarball recognition based on extensions 2022-10-25 09:50:31 +02:00
cli.py python: Reformat code with black 22.3.0 2022-04-08 15:15:09 +02:00
pattern.py Use http_retry decorator from swh.core.retry module 2023-04-13 14:19:57 +02:00
py.typed typing: minimal changes to make a no-op mypy run pass 2019-10-28 15:35:21 +01:00
utils.py Use http_retry decorator from swh.core.retry module 2023-04-13 14:19:57 +02:00