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 <[email protected]>  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 <[email protected]>
+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


_______________________________________________
pkg-java-commits mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to