[Git][java-team/libhamcrest-java][master] 3 commits: Improved the reproducibility by generating the matchers methods in alphabetical order
Emmanuel Bourg
gitlab at salsa.debian.org
Sun Mar 31 23:31:27 BST 2019
Emmanuel Bourg pushed to branch master at Debian Java Maintainers / libhamcrest-java
Commits:
3ea63e2f by Emmanuel Bourg at 2019-03-31T22:27:02Z
Improved the reproducibility by generating the matchers methods in alphabetical order
- - - - -
41ea1979 by Emmanuel Bourg at 2019-03-31T22:27:26Z
Use salsa.debian.org Vcs-* URLs
- - - - -
65d65717 by Emmanuel Bourg at 2019-03-31T22:27:39Z
Upload to unstable
- - - - -
4 changed files:
- debian/changelog
- debian/control
- + debian/patches/003-reproducible-build.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+libhamcrest-java (1.3-8) unstable; urgency=medium
+
+ * Team upload.
+ * Improved the reproducibility by generating the matchers methods
+ in alphabetical order
+ * Use salsa.debian.org Vcs-* URLs
+
+ -- Emmanuel Bourg <ebourg at apache.org> Mon, 01 Apr 2019 00:27:31 +0200
+
libhamcrest-java (1.3-7) unstable; urgency=medium
* Team upload.
=====================================
debian/control
=====================================
@@ -23,8 +23,8 @@ Build-Depends:
libjmock-java,
libqdox-java
Standards-Version: 4.1.4
-Vcs-Git: https://anonscm.debian.org/git/pkg-java/libhamcrest-java.git
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/libhamcrest-java.git
+Vcs-Git: https://salsa.debian.org/java-team/libhamcrest-java.git
+Vcs-Browser: https://salsa.debian.org/java-team/libhamcrest-java
Homepage: http://hamcrest.org
Package: libhamcrest-java
=====================================
debian/patches/003-reproducible-build.patch
=====================================
@@ -0,0 +1,23 @@
+--- a/hamcrest-generator/src/main/java/org/hamcrest/generator/ReflectiveFactoryReader.java
++++ b/hamcrest-generator/src/main/java/org/hamcrest/generator/ReflectiveFactoryReader.java
+@@ -43,6 +43,13 @@
+
+ private int currentMethod = -1;
+ private Method[] allMethods = cls.getMethods();
++ {
++ java.util.Arrays.sort(allMethods, new java.util.Comparator<Method>() {
++ public int compare(Method m1, Method m2) {
++ return m1.getName().compareTo(m2.getName());
++ }
++ });
++ }
+
+ @Override
+ public boolean hasNext() {
+@@ -171,4 +178,4 @@
+ return name.replace('$', '.');
+ }
+
+-}
+\ No newline at end of file
++}
=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
001-build.patch
002-random-build-failure.patch
+003-reproducible-build.patch
View it on GitLab: https://salsa.debian.org/java-team/libhamcrest-java/compare/fdcf6c5ef2c8eb4c59b1530062a612d8d48bbe0e...65d657179e84df273732f261188cf179d4a79c1e
--
View it on GitLab: https://salsa.debian.org/java-team/libhamcrest-java/compare/fdcf6c5ef2c8eb4c59b1530062a612d8d48bbe0e...65d657179e84df273732f261188cf179d4a79c1e
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20190331/12bac661/attachment.html>
More information about the pkg-java-commits
mailing list