From 7570f067a82dbff86c646f7d2da601779bf8d8c4 Mon Sep 17 00:00:00 2001 From: Christian Lohmaier Date: Mon, 20 Jun 2022 21:36:02 +0200 Subject: make generated help files deterministic/reproducible MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit generate-id() is only stable within a single invocation, the results vary from run to run, causing two builds of the same codebase result in different output. Due to help including snippets from different files, a simple count won't be unique enough, but combining it with the sourcefile's topic-ID does the trick. Change-Id: I2ab8988bc34c9136fcd99d074cf0b189a8f40eb7 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136197 Tested-by: Jenkins Reviewed-by: Olivier Hallot (cherry picked from commit b48ace599e8c109c4090c178823c6718f78103da) Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136171 Reviewed-by: Caolán McNamara --- help3xsl/online_transform.xsl | 73 ++++++++++++++++++++++++------------------- 1 file changed, 41 insertions(+), 32 deletions(-) diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl index bc60367e38..90460251b5 100644 --- a/help3xsl/online_transform.xsl +++ b/help3xsl/online_transform.xsl @@ -656,16 +656,17 @@ + + + - - + - - + @@ -675,16 +676,17 @@ + + + - - + - - + @@ -696,16 +698,17 @@ + + + - - + - - + @@ -715,16 +718,17 @@ + + + - - + - - + @@ -1091,13 +1095,15 @@ - + + + - + - + @@ -1105,26 +1111,27 @@ + + + - - + - + - - + - + @@ -1260,6 +1267,9 @@ + + + @@ -1272,7 +1282,6 @@ -
@@ -1295,7 +1304,7 @@ -
+

@@ -1306,7 +1315,7 @@ -
+

@@ -1317,7 +1326,7 @@ -
+

@@ -1328,7 +1337,7 @@ -
+

@@ -1339,7 +1348,7 @@ -
+

@@ -1350,7 +1359,7 @@ -
+

-- cgit