Mathieu OTHACEHE <m.othac...@gmail.com> skribis:

> * guix/import/github.scm (json-fetch*): Catch 403 HTTP error that may be
>   raised if a github token has not been set.
>
> Signed-off-by: Mathieu OTHACEHE <m.othac...@gmail.com>
> ---
>
> Hi,
>
> If too many github requests are made during a guix refresh (> 60/h),
> github will reject all further requests with a 403 error.
>
> The 403 error is not catch in json-fetch* guard, so guix refresh
> will exit at that point. The user never gets to error message
> informing that setting a GUIX_GITHUB_TOKEN may fix the problem.

Looks like the right to do indeed.  Applied, thanks!

Ludo’.

Reply via email to