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

Bug#922526: remove_stale.pl not removing old html files

Package: www.debian.org
User: www.debian.org@packages.debian.org
Usertag: scripts
Severity: normal

Hello all
The files related to DLA that were in subfolders under /english/security
were recently moved to /english/lts/security. However, in
www-master.debian.org, the previous generated html files are still present.

I believe those html files should have been removed by remove_stale.pl
script which is run in the 8maintenance task in every often cron job:


However, the logs of that job say:

Initialising VCS cache
Recursing into `english'
0 stale translations found.

I have removed these old DLA html files except this one to serve as example:

I've checked if this issue is happening in other folders too and at
least found another example:


(the wml files were removed in

I have briefly looked at the code and couldn't spot the issue.
I don't know since when it is failing or if it's related to the CVS ->
git migration. I have checked old commits removing files and the html
files are not present, but cannot say if it was the script removing
them, or any of us removing them manually, as I just did now with most
of the DLA-related files.

I found this old commit removing a gif file:

and the file is still present, but I guess the code of remove_stale.pl
currently only tries to handle html files, images.
(I have not manually removed this file, either).

Kind regards,
Laura Arjona Reina

Reply to: