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

Re: Chinese homepage not updated properly?



Hello

I've had a look at this and made some tests, I didn't arrive to any
conclusions but I'll write here what I've found, for the case it rings a
bell for somebody:

* The chinese/security/dsa-zh-*.rdf files are generated automatically
when a new security file is published, but the
chinese/security/index.zh-*.html are not re-generated (nor the general
homepage)

* The chinese/security/index.zh-*.html files were generated on Nov 13th,
same date as the chinese/templates.zh.po were updated. I guess that the
dependency triggered the rebuild of these, the homepage, and many other
files.

* I have removed the html files and ran "make" to generate them
manually. Then ran "make install", I guess that with the next website
rebuild the files will be copied through mirrors and the Chinese
webpages (index and security/index) will show the updated list of
security advisories.

I've had a look at /english/Makefile and /english/security/Makefile and
I see that specific code to generate zh variants is written for the
generation of some files (sitemap, search, the rdf files in security...)
but not for the corresponding "index" files. Maybe specific code should
be written in order to get those files generated properly, but frankly I
don't know why are they generated well, if I just remove the html files,
and run "make"...

That's all that I could do, for now.

Best regards

Laura Arjona

El 18/11/17 a las 05:09, Paul Wise escribió:
> On Sat, 2017-11-18 at 09:48 +0800, Boyuan Yang wrote:
>
>> Okay, https://www.debian.org/index.zh-cn.html is not updating again.
> I've checked on www-master.debian.org and the problem occurs there too,
> even before the `make install` phase, so this is a build system issue.
>
> I've checked all other languages, only the zh-* ones are affected.
>
> I've check the /security page, it is affected in the same way.
>
> I'm not sure where to go from here, any thoughts?
>
> pabs@wolkenstein:/srv/www.debian.org/webwml$ grep -i '<p>.*DSA' */index.*html | grep -v DSA-4039
> chinese/index.zh-cn.html:<p><tt>[2017/11/12]</tt> <strong><a href="security/2017/dsa-4032">DSA-4032 imagemagick</a></strong> - security update <br>
> chinese/index.zh-hk.html:<p><tt>[2017/11/12]</tt> <strong><a href="security/2017/dsa-4032">DSA-4032 imagemagick</a></strong> - security update <br>
> chinese/index.zh-tw.html:<p><tt>[2017/11/12]</tt> <strong><a href="security/2017/dsa-4032">DSA-4032 imagemagick</a></strong> - security update <br>
> pabs@wolkenstein:/srv/www.debian.org/webwml$ ls -l english/index.en.html chinese/index.zh*.html
> -rw-r--r-- 1 debwww debwww 16388 Nov 13 15:39 chinese/index.zh-cn.html
> -rw-r--r-- 1 debwww debwww 16382 Nov 13 15:39 chinese/index.zh-hk.html
> -rw-r--r-- 1 debwww debwww 16394 Nov 13 15:39 chinese/index.zh-tw.html
> -rw-rw-r-- 1 debwww debwww 16471 Nov 17 15:34 english/index.en.html
> pabs@wolkenstein:/srv/www.debian.org/webwml$ grep -A1 '<p>' */security/index.*html | grep DSA-  | grep -v DSA-4039
> chinese/security/index.zh-cn.html-<tt>[2017/11/12]</tt> <strong><a href="2017/dsa-4032">DSA-4032 imagemagick</a></strong> security update<br>
> chinese/security/index.zh-hk.html-<tt>[2017/11/12]</tt> <strong><a href="2017/dsa-4032">DSA-4032 imagemagick</a></strong> security update<br>
> chinese/security/index.zh-tw.html-<tt>[2017/11/12]</tt> <strong><a href="2017/dsa-4032">DSA-4032 imagemagick</a></strong> security update<br>
> pabs@wolkenstein:/srv/www.debian.org/webwml$ ls -l english/security/index.en.html chinese/security/index.zh*.html
> -rw-r--r-- 1 debwww debwww 15929 Nov 13 15:45 chinese/security/index.zh-cn.html
> -rw-rw-r-- 1 debwww debwww 15920 Nov 13 15:45 chinese/security/index.zh-hk.html
> -rw-rw-r-- 1 debwww debwww 15920 Nov 13 15:45 chinese/security/index.zh-tw.html
> -rw-rw-r-- 1 debwww debwww 17019 Nov 17 15:40 english/security/index.en.html
>


Reply to: