[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding build status to the package list table
From: |
Ludovic Courtès |
Subject: |
Re: Adding build status to the package list table |
Date: |
Wed, 06 Jan 2016 23:20:54 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Roel Janssen <address@hidden> skribis:
> Ludovic Courtès writes:
>
>> Roel Janssen <address@hidden> skribis:
>>
>>> Ludovic Courtès writes:
>>>
>>>> Roel Janssen <address@hidden> skribis:
>>
>> [...]
>>
>>>>> We might need to add a HTTP header from the GNU server to allow
>>>>> loading data from external sources:
>>>>>
>>>>> https://en.wikipedia.org/wiki/Cross-origin_resource_sharing
>>>>
>>>> Indeed, because here the requests get blocked. Could you get in touch
>>>> with address@hidden and report back?
>>>
>>> At last! I received an e-mail today that the sysadmins made the change
>>> to allow fetching data from hydra.gnu.org. So now it should work once
>>> it is uploaded to gnu.org.
>>
>> Good! I applied the patch and deployed the new web page:
>>
>> https://www.gnu.org/software/guix/packages/
>>
>> However, it’s still failing:
>>
>> 17:00:49.802 Cross-Origin Request Blocked: The Same Origin Policy
>> disallows reading the remote resource at
>> http://hydra.gnu.org/api/latestbuilds?nr=1&project=gnu&jobset=master&job=aspell-dict-es-1.11-2.armhf-linux.
>> (Reason: CORS header 'Access-Control-Allow-Origin' missing).1 <unknown>
>>
>> Ideas?
>
> Yes, I think it only works when the origin is hydra.gnu.org. I
> contacted the sysadmins again to figure this out. Could you leave the
> page there for a couple of days? That way I can give them a live
> example.
Sure.
But indeed, there’s no ‘Access-Control-Allow-Origin’ HTTP header
returned for <https://www.gnu.org/software/guix/packages/>.
Ludo’.