[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GitHub updater broken?
From: |
Ludovic Courtès |
Subject: |
Re: GitHub updater broken? |
Date: |
Fri, 13 Jan 2017 18:25:35 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hello,
Ben Woodcroft <address@hidden> skribis:
> On 11/01/17 00:37, Ludovic Courtès wrote:
>> Hi Ben,
>>
>> The GitHub updater always returns 403 (“Forbidden”) now. I tried
>> passing a token and that didn’t help, but maybe I did not check the
>> right boxes at <https://github.com/settings/tokens/new>.
>>
>> Any idea what can be done about it?
>
> It seems GitHub requires a User-Agent to be set, the response-body not
> reported by http-fetch says as much in agreement with the documention:
> https://developer.github.com/v3/#user-agent-required
>
> I'm afraid I'm afk for the next week and a bit, I can try to send a
> patch after that, or perhaps someone else can implement this probably
> small change.
Indeed. There was additionally a regression I had introduced a couple
of weeks ago. Both are fixed:
608a50b66 * http-client: Provide 'User-Agent' header by default.
4cd5ec801 * import: github: Fix regression on the /releases retrieval.
Thank you!
Ludo’.