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

Re: Build logs for Squeeze Release Notes?



On Sat, Feb 05, 2011 at 12:25:27PM +0100, Javier Fernández-Sanguino Peña wrote:
> Anyone can point me or, better yet, look into the build logs to see why the
> Spanish translation is not getting updated at the website?

I'm not sure what's going on but I get a lot of errors when building 'be'
locally so I'm moving it to the end of the languages' list in the Makefile
just in case it is breaking the build.

It is quite clear to me that we have to go back to debacle's proposal 2 years
ago [1]:

---------------------------------------------------------------------------
On 2009-01-29 00:13, Simon Paillard wrote:
> The question is less "how" than "is that a good idea, and how to detect
> hidden failures".

True. How about a script that tests the result (as last step of
make)? Sth. like:
- are all expected txt, html, and pdf files present?
- are all files > 0 bytes?
- do the pdf files have at least X pages? (I did sth. similar
  in the check target of the refcard Makefile, using pdfinfo.)
- do the txt file have at least Y lines and
- does file identify them as "UTF-8 Unicode ... text"?
- some check of the html files, maybe using tidy
Write PASS or FAIL at end of the log, so one would have only to
look at the last line and check only in case of FAIL.
Such test would even detect errors, if the build went well, but
produced broken output.
---------------------------------------------------------------------------

That would really help in finding languages that are the culprits of build
failures...

Best regards,

Javier


[1] http://lists.debian.org/debian-doc/2009/01/msg00283.html

From bounce-debian-doc=jfs=computer.org@lists.debian.org Mon Feb 02 16:53:48
2009
From: "W. Martin Borgert" <debacle@debian.org>
To: Simon Paillard <simon.paillard@resel.enst-bretagne.fr>
Cc: debian-doc@lists.debian.org
Subject: Re: Release Notes build logs?
User-Agent: Mutt/1.5.18 (2008-05-17)
List-Id: <debian-doc.lists.debian.org>



Attachment: signature.asc
Description: Digital signature


Reply to: