[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#33801] import: github: Support source URIs that redirect to GitHub
From: |
Ludovic Courtès |
Subject: |
[bug#33801] import: github: Support source URIs that redirect to GitHub |
Date: |
Thu, 20 Dec 2018 11:55:36 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi,
Arun Isaac <address@hidden> skribis:
>> Do you know how many packages fall into that category?
>
> With this patch, we have a problem estimating the coverage using `guix
> refresh -L'. Now, to estimate coverage, we need to make HTTP requests
> for every single source tarball in Guix to determine if it redirects to
> GitHub. This is an enormous number of HTTP requests! When I ran `guix
> refresh -L', it took a very long time to finish coverage estimation. So,
> I cancelled the command. Any better way to handle this?
Ouch, that’s a problem indeed. We could maintain a cache of redirects,
although that wouldn’t be a real solution.
Hmm, now that I think about it, shouldn’t we store the github.com URL
directly for these packages? We could add a new lint check along the
lines of the ‘check-mirror-url’ procedure that would allow us to find
out which URLs need to be changed. If we took that route, the changes
you made to the importer would no longer be necessary. :-/
WDYT?
Thanks,
Ludo’.
- [bug#33801] import: github: Support source URIs that redirect to GitHub, Arun Isaac, 2018/12/19
- [bug#33801] import: github: Support source URIs that redirect to GitHub, Ludovic Courtès, 2018/12/19
- [bug#33801] import: github: Support source URIs that redirect to GitHub, Arun Isaac, 2018/12/20
- [bug#33801] import: github: Support source URIs that redirect to GitHub, Arun Isaac, 2018/12/20
- [bug#33801] import: github: Support source URIs that redirect to GitHub, Ludovic Courtès, 2018/12/20
- [bug#33801] import: github: Support source URIs that redirect to GitHub, Arun Isaac, 2018/12/20
- [bug#33801] import: github: Support source URIs that redirect to GitHub, Arun Isaac, 2018/12/21
- [bug#33801] import: github: Support source URIs that redirect to GitHub, Ludovic Courtès, 2018/12/21
- [bug#33801] import: github: Support source URIs that redirect to GitHub, Arun Isaac, 2018/12/22
- [bug#33801] import: github: Support source URIs that redirect to GitHub, Ludovic Courtès, 2018/12/23
- [bug#33801] import: github: Support source URIs that redirect to GitHub, Eric Bavier, 2018/12/20