[Git][java-team/groovy][master] Generate the Groovydoc inherited members in a reproducible order
Emmanuel Bourg (@ebourg)
gitlab at salsa.debian.org
Mon Oct 26 10:54:33 GMT 2026
Emmanuel Bourg pushed to branch master at Debian Java Maintainers / groovy
Commits:
4bd10da5 by Emmanuel Bourg at 2026-10-26T11:12:24+01:00
Generate the Groovydoc inherited members in a reproducible order
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/22_reproducible_groovydoc_inherited.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+groovy (2.4.21-13) unstable; urgency=medium
+
+ * Team upload.
+ * Generate the Groovydoc inherited members in a reproducible order
+
+ -- Emmanuel Bourg <ebourg at apache.org> Mon, 26 Oct 2026 11:12:12 +0100
+
groovy (2.4.21-12) unstable; urgency=medium
* Team upload.
=====================================
debian/patches/22_reproducible_groovydoc_inherited.patch
=====================================
@@ -0,0 +1,25 @@
+Description: Generate the Groovydoc inherited members in a reproducible order
+ The members inherited from a class outside the documented set come from
+ Class.getMethods() and Class.getFields(), whose order varies between JVM runs.
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: no
+--- a/subprojects/groovy-groovydoc/src/main/resources/org/codehaus/groovy/tools/groovydoc/gstringTemplates/classLevel/classDocName.html
++++ b/subprojects/groovy-groovydoc/src/main/resources/org/codehaus/groovy/tools/groovydoc/gstringTemplates/classLevel/classDocName.html
+@@ -322,7 +322,7 @@
+ list = c.externalClass().fields.findAll{ isVisibleExt(it) }.collect { field ->
+ // "<a href='${classDoc.relativeRootPath}${c.fullPathName}.html#${field.name()}'>${field.name()}</a>"
+ field.name
+- }
++ }.sort()
+ }
+ if (list) {
+ buffer << """ <tr class="${i%2==0?'altColor':'rowColor'}">
+@@ -479,7 +479,7 @@
+ } else {
+ list = c.externalClass().methods.findAll{ isVisibleExt(it) }.collect { method ->
+ linkable(c.externalClass().name + "#" + nameFromJavaParams(method) + " " + method.name)
+- }
++ }.sort()
+ }
+ if (list) {
+ buffer << """
=====================================
debian/patches/series
=====================================
@@ -22,3 +22,4 @@ update-to-JLine2-2.13.patch
19_reproducible_delegate.patch
20_reproducible_traits.patch
21_reproducible_reflection.patch
+22_reproducible_groovydoc_inherited.patch
View it on GitLab: https://salsa.debian.org/java-team/groovy/-/commit/4bd10da56e6e442dbb65878533e3479d57933bca
--
View it on GitLab: https://salsa.debian.org/java-team/groovy/-/commit/4bd10da56e6e442dbb65878533e3479d57933bca
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20261026/3220c9e8/attachment.htm>
More information about the pkg-java-commits
mailing list