summaryrefslogtreecommitdiff
path: root/bug/Makefile
diff options
context:
space:
mode:
authorLoic Dachary <loic@dachary.org>2011-10-07 12:21:56 +0200
committerLoic Dachary <loic@dachary.org>2011-10-07 12:21:56 +0200
commit92f485d622ae0d0d454f3b3d6e0dd00f4363f73b (patch)
treeb0ad13d3b729ca4e8955027b43b49d9ac009eb08 /bug/Makefile
parent87b189e6715a0b1dd2f8b0ba3cf7097e9b211a59 (diff)
The sanity.pl script is added to detect inconsistencies in the data extracted from the wiki and the data extracted from bugzilla. It is run each time the Bug Submission Assistant is created and will exit on error if an inconsistency is found. It checks if a) a component is found in the wiki and not in bugzilla and vice versa, b) if a component shows multiple times in the wiki.
Diffstat (limited to 'bug/Makefile')
-rw-r--r--bug/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/bug/Makefile b/bug/Makefile
index 60359d8..56665d7 100644
--- a/bug/Makefile
+++ b/bug/Makefile
@@ -23,9 +23,13 @@ extract:
xsltproc --encoding UTF-8 --novalid subcomponents.xsl BugReport_Details.xhtml > subcomponents.xhtml
xsltproc --encoding UTF-8 --novalid components.xsl BugReport_Details.xhtml > components.xhtml
curl --silent 'https://bugs.freedesktop.org/query.cgi?product=LibreOffice&query_format=advanced' > query.xhtml
- perl query.pl versions < query.xhtml > versions.xhtml
+ perl query.pl < query.xhtml > versions.xhtml
+ perl sanity.pl query.xhtml components.xhtml
compose:
xsltproc --encoding UTF-8 --novalid \
--stringparam serial `date +%s` \
bug.xsl bug.xhtml > bug/bug.html
+
+check:
+ perl sanity.pl TEST