Re: webwml failed (for Portuguese)

Holger Wansing <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Message-ID <[email protected]>
Hi,


I have just fixed a bunch of "webwml failed" for ./portuguese/vote:

Debian Webmaster <[email protected]> wrote (Thu, 03 Jun 2021 09:46:48 +0000):
> make -C 2008 install
> make[3]: Entering directory '/srv/www.debian.org/webwml/portuguese/vote/2008'
> make -C platforms install
> make[4]: Entering directory '/srv/www.debian.org/webwml/portuguese/vote/2008/platforms'
> make[4]: Leaving directory '/srv/www.debian.org/webwml/portuguese/vote/2008/platforms'
> make[3]: Leaving directory '/srv/www.debian.org/webwml/portuguese/vote/2008'
> make -C 2009 install
> make[3]: Entering directory '/srv/www.debian.org/webwml/portuguese/vote/2009'
> make -C platforms install
> make[4]: Entering directory '/srv/www.debian.org/webwml/portuguese/vote/2009/platforms'
> make[4]: Leaving directory '/srv/www.debian.org/webwml/portuguese/vote/2009/platforms'
> make[3]: Leaving directory '/srv/www.debian.org/webwml/portuguese/vote/2009'
> make -C 2010 install
> make[3]: Entering directory '/srv/www.debian.org/webwml/portuguese/vote/2010'
> wml -q -D CUR_YEAR=2021 -o UNDEFuPT:vote_001.pt.html@g+w   vote_001.wml
> ** WML:Error: file not found: vote_001_quorum.txt

webwml claimed about several files (for several year folders):
	vote_001_quorum.txt
	vote_001_quorum.src
	vote_001_majority.src
which could not be found, because they were indeed not existing in the 
Portuguese tree.

I have fixed that problem by pointing to the corresponding English variant
with lines like
	#include '$(ENGLISHDIR)/vote/2010/vote_001_quorum.txt'
	#include '$(ENGLISHDIR)/vote/2010/vote_001_quorum.src'
	#include '$(ENGLISHDIR)/vote/2010/vote_001_majority.src'


Please find the changes at
https://salsa.debian.org/webmaster-team/webwml/-/commit/0b66248ed3b71d507751ffd26e7df03b5bd518e6


FYI

Holger
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.