[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: r3473 - /trunk/pts/www/bin/update_incoming.sh



Christoph Berg:
> Re: Raphael Hertzog 2016-02-11 <[🔎] 20160211100942.GC25206@home.ouaza.com>
>> On Thu, 11 Feb 2016, myon@users.alioth.debian.org wrote:
>>>  # download watch file information
>>> -get https://qa.debian.org/cgi-bin/udd-dehs dehs.yaml
>>> -get https://qa.debian.org/watch/watch-avail.txt watch-avail.txt
>>> -get https://qa.debian.org/watch/watch-broken.txt watch-broken.txt
>>> +get https://udd.debian.org/cgi-bin/upstream.json.cgi dehs.yaml
>>> +# needs UDD replacement:
>>> +#get https://qa.debian.org/watch/watch-avail.txt watch-avail.txt
>>> +#get https://qa.debian.org/watch/watch-broken.txt watch-broken.txt
>>
>> Can a YAML parser really parse JSON?
> 
> JSON is officially a YAML subset, and I think I've successfully tested
> the change in the live PTS. (The manual do_all.sh run is still
> ongoing, but the fence-agents page doesn't show the "new upstream
> version" warning anymore it had before.)
> 

FTR: http://search.cpan.org/~mlehmann/JSON-XS/XS.pm#JSON_and_YAML

>> I think you might need a change of parsing code as well...
>>
>> /me would like to suggest to get rid of the old PTS at this point
> 
> I don't want to be the one who broke it ;)
> 
> Christoph
> 


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: