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

Re: Bug#973544: www.debian.org: LTS Security Advisories RSS links to wrong locations



Hi Sylvain

Thanks!
I have merged it, saw that one of the links produced in the dla-long RSS
feed didn't contain the prefix and committed

https://salsa.debian.org/webmaster-team/webwml/-/commit/499ed4920757c2057b614a49b816f500d9ea12a5

to add it.

I think this is fixed now, it will be online in the next hours.

Thanks a lot everybody!

Kind regards,

El 2/11/20 a las 16:22, Sylvain Beucler escribió:
> Hi Laura,
> 
> Here's a pull request for your consideration:
> https://salsa.debian.org/webmaster-team/webwml/-/merge_requests/566
> 
> I didn't switch to get_recent_security_list_rdf() because 'dsa.rdf.in'
> (non-LTS/DSA) doesn't use it either. Instead I handled the LTS case in
> get_recent_list()/grab_titles().
> 
> Cheers!
> Sylvain
> 
> On 01/11/2020 21:13, Laura Arjona Reina wrote:
>> Hi Nobuhiro Ban,
>>
>> Thanks for reporting this issue.
>>
>> The build of those RSS feeds is done via the get_recent_list() function
>> in the recent_list template:
>>
>> https://salsa.debian.org/webmaster-team/webwml/-/blob/master/english/template/debian/recent_list.wml
>>
>>
>> However, that function is not prepared for security advisories in other
>> path different than www.debian.org/security.
>>
>> In any case, I see that other security lists now call to a different
>> (improved) template:
>>
>> https://salsa.debian.org/webmaster-team/webwml/-/blob/master/english/template/debian/recent_list_security.wml
>>
>>
>> But I couldn't find the correct way to call the function
>> get_recent_security_list_rdf so it creates the RSS feed.
>>
>> CC'ing the debian-lts mailing list for the case they can have a look.
>>
>> Kind regards,
>>
>> El 1/11/20 a las 16:40, Nobuhiro Ban escribió:
>>> Package: www.debian.org
>>> Severity: normal
>>>
>>> Dear Maintainer,
>>>
>>> Debian LTS Security Advisories RSS
>>> (https://www.debian.org/lts/security/dla)
>>> links to wrong locations.
>>>
>>> For example:
>>>
>>>> <rdf:li resource="https://www.debian.org/security/2020/dla-2425"; />
>>>
>>> It should be https://www.debian.org/lts/security/2020/dla-2425 .
>>>
>>>
>>> Regards,
>>> Nobuhiro Ban
>>>
>>

-- 
Laura Arjona Reina
https://wiki.debian.org/LauraArjona


Reply to: