Bug#922246: www/lts: if DLA-1234-1 and DLA-1234-2 exist, only that last one shows up in indexes

Brian May <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Organization Debian
Message-ID <871rtn2p8z.fsf__423.905735236474$1575269853$gmane$org@silverfish.pri>
Brian May <[email protected]> writes:

> When I just tested it I found that the index contains entries for both
> files, however the DSA-nnnn-2 entry is incorrectly titled as DSA-nnnn instead
> of DSA-nnnn-2.

Actually it looks like this was deliberate.

The file template/debian/recent_list_security.wml has the function
get_dsa_data which contains the line:

$title =~ s/(D[LS]A-\d{2,})-\d{1}/$1/; # strip off the revision in the DSA number

I haven't tested it yet, but to me it looks like if I delete this line
it will do the right thing.

Is it OK if we simply delete this line?

Will double check this tomorrow.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.