Bug#1057284: marked as done (migrate get-www-stats to python3)

2023-12-02 Thread Debian Bug Tracking System
Your message dated Sat, 02 Dec 2023 20:31:22 +
with message-id <656b941a280ac_52394c...@godard.mail>
and subject line Bug#1057284 fixed in www.debian.org
has caused the Debian Bug report #1057284,
regarding migrate get-www-stats to python3
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1057284: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057284
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---

Package: www.debian.org

The script get-www-stats is using python2. It does not work with
python3 because it uses counts.iteritems which must be migrated.

The script should also ignore log entries with produces 403 on the web
server. Currently this is half of them because of a lot of access to
the uncompressed oval...xml files.

We only have this python2 script in the webwml repo. Python scripts in
security/oval are already python3.

regards Thomas
--- End Message ---
--- Begin Message ---
Hello,

Bug #1057284 in www.debian.org reported by you has been fixed in the Git 
repository.
You can see the commit message below and you can check the diff of the fix at:

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


move to python3, Closes: #1057284


(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1057284--- End Message ---


Bug#1057288: www.debian.org: use of wml::debian::translation-check header breaks translation of "Galician"

2023-12-02 Thread Holger Wansing
Package: www.debian.org
X-Debbugs-CC: a...@debian.org

I just found (more or less by accident), that using the
wml::debian::translation-check header in wml files breaks the translation of
the word "Galician".
So this counts for all pages but English.
The result can be found on pages like

https://www.debian.org/releases/trixie/releasenotes.nl.html
https://www.debian.org/releases/trixie/releasenotes.zh-cn.html

or

https://www.debian.org/doc/user-manuals.fr.html#refcard
https://www.debian.org/doc/user-manuals.es.html#refcard

All those pages have a line with HTML | text | PDF links, where the
language entry at the beginning is blank.


Removing the translation-check header from the respective wml file will
make the "Galician" word appear.
(Interestingly, all other language names are correctly translated in either
way!)

My wild guess would be this being a wml issue (thus abe in CC), but I would be 
more comfortable, if I could get more debugging info, like the full wml 
commandline, or the like.
Don't know, how to get this though ...


Holger


-- 
Holger Wansing 
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076



Bug#1057284: migrate get-www-stats to python3

2023-12-02 Thread Thomas Lange


Package: www.debian.org

The script get-www-stats is using python2. It does not work with
python3 because it uses counts.iteritems which must be migrated.

The script should also ignore log entries with produces 403 on the web
server. Currently this is half of them because of a lot of access to
the uncompressed oval...xml files.

We only have this python2 script in the webwml repo. Python scripts in
security/oval are already python3.

regards Thomas