DLAs in the website: some updates and issues
Dear Debian LTS team
Thanks for your work adding the DLA advisories to the website.
I have created an usertag to group the bugs related to the "lts" section of the
website:
https://udd.debian.org/cgi-bin/bts-usertags.cgi?user=www.debian.org%40packages.debian.org&tag=lts
It seems that the parse-dla.pl script sometimes does not put the closing </li>,
</p> or </ul> tags in the correct place, or introduces weird HTML tags (look for
"HTML fix" in the commit logs from last days for some examples).
I don't know if this is a bug or just some corner cases that would require much
effort to catch in the script, so I didn't open a bug for now.
My proposal would be that the people parsing the advisory checks the generated
wml file(s) prior to commit. I see that the proposed workflow in
https://wiki.debian.org/LTS/Development#Publishing_updates_on_the_website
includes the line
$EDITOR 2019/dla-123-1* # make sure everything looks good
Other option is, instead of looking at the html code, doing
make dla-123-1.en.html
and open the resulting html file with a web browser.
If after reviewing several files you feel there is certain pattern producing the
bad HTML, maybe we can improve the Perl script or the current format of the
advisories to avoid the issues in the future.
Kind regards,
--
Laura Arjona Reina
https://wiki.debian.org/LauraArjona
Reply to: