Bug#821096: (no subject)
Lev Lamberov <[email protected]>
| Newsgroups | gmane.linux.debian.devel.www |
|---|---|
| Message-ID | <5711EAFB.3020902__31694.8460219011$1460792204$gmane$org@riseup.net> |
> the if clauses prevent re-generation of the files,
> so you can just remove the lines to always generate the file
> regardless of their existence
>
> first some lines of "make_data" subroutine
> if (-f $data){
> print "$data already exists!\n";
> return;
> }
>
> first some lines of "make_wml" subroutine
> if (-f $wml){
> print "$wml already exists!\n";
> return;
> }
I believe that it is not good, we should keep all revisions.
>
> additionally, if you really need the dsa's revision in the file name,
> you can modify these lines to make what you want
> $wml = "$curyear/dsa-$dsa_number.wml";
> $data = "$curyear/dsa-$dsa_number.data";
>
> the line next to this will tell you what can be used
> $pagetitle = "DSA-$dsa_number-$dsa_revision $package";
Yes, but that solves only a part of the problem. That is, we also need
to make changes to make_makefile subroutine. Then we need to fix
existing Makefiles (at least for 2016) and fix filenames of existing
DSAs (again, at least for 2016).
By the way, the same problem holds for parse-dla.pl and DLAs. Look, we
have (1)
https://lists.debian.org/debian-lts-announce/2016/02/msg00037.html and
(2) https://lists.debian.org/debian-lts-announce/2016/03/msg00001.html,
but on the website we have only the latter:
https://www.debian.org/security/2016/dla-445.
Cheers!
Lev Lamberov
signature.asc
(application/pgp-signature, 801 B)
-----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJXEer7AAoJEF7nbuICFtKlCeIP/RN1x+WgbhmtCnwZgj8nG2aS W5TXOuYGoIizc2jSi8lqhwAlQVADimbwyi4zaeULH6mtOdsf+tBdZFDqzTMgZLsH MvbG7yZN+ZIKRe54Wt9FYZUci42Wlq/9+LnZJgq9++MbDZvX+FVOIAbMwgPtETXu ptUbj29fxg3XWjrcR4R6eJM3fer8hhLnmsCmVrt+hxFEksrJoiCnL4kbCNoMrsSV ZqHW6gTxyN4hom3fF9FX8xoHXCdpmtVGJNVgd2K/+Mm4NzAjYXPueUKfPooYM3Fa MC2dkJdVjlpWpmGEUXgjBSpoUbPKqe/I70ZPjrJ7CDp5Z8frwkJdPTOP/G9PBoHh CSgI9zEYfZroH+/h94pPtio773gJjt5RU3PIm4paFjNzEhUck0fFoJAoF4MdN692 t0naiRKiuC8U2Y4uP9qG0VbdJiiakEi1wOOLMOisXm4J3WgZV6TAGLc/mxs+lrDs eaMnejT8xNZAcpirvqEFBWKD3PsyPaxGFD6mKQZafGGj8WpLoKPKE3kDzhkwAX9B qPxKxWPwJG2C0W1jGVgG/7v4I0ujRrovxIeg3LxgYlni2biZnAYFkW8Nv3s+QuEj KWOXqF79VdTkhQRaweX/M4l94k8w9t0jZ3cv5IIcYS/xFC59+G4m6GNYFd0zwGTv pri+GHLmwFXJYkx72JRt =hvzu -----END PGP SIGNATURE-----