[eigenbase-resgen] 03/04: Removed the timestamps generated by MetaGenerator

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue May 3 11:36:06 UTC 2016


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository eigenbase-resgen.

commit c4304e528259a63e46c7ba9d53a898e0cea4112d
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue May 3 13:33:35 2016 +0200

    Removed the timestamps generated by MetaGenerator
---
 debian/changelog                       |  2 ++
 debian/patches/remove-timestamps.patch | 24 ++++++++++++++++++++++++
 debian/patches/series                  |  1 +
 3 files changed, 27 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index ed08853..78c2791 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 eigenbase-resgen (1.3.0.13768-3) UNRELEASED; urgency=medium
 
   * Team upload.
+  * Improved the reproducibility:
+    - Removed the timestamps generated by MetaGenerator
   * Standards-Version updated to 3.9.8 (no changes)
   * Use secure Vcs-* URLs
 
diff --git a/debian/patches/remove-timestamps.patch b/debian/patches/remove-timestamps.patch
new file mode 100644
index 0000000..048aa69
--- /dev/null
+++ b/debian/patches/remove-timestamps.patch
@@ -0,0 +1,24 @@
+Description: Removes the timestamps added by MetaGenerator to improve the reproducibility
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: no
+--- a/src/org/eigenbase/xom/MetaGenerator.java
++++ b/src/org/eigenbase/xom/MetaGenerator.java
+@@ -1171,9 +1171,6 @@
+         out.println("/" + "*");
+         out.println("/" + "/ This java file was automatically generated");
+         out.println("/" + "/ from XOM model '" + model.name + "'");
+-        if (!testMode) {
+-            out.println("/" + "/ on " + new Date().toString());
+-        }
+         out.println("/" + "/ Do not edit this file by hand.");
+         out.println("*" + "/");
+         out.println();
+@@ -1199,7 +1196,7 @@
+         // the toplevel documentation for the class and is also placed at
+         // the top of the Dtd.
+         String extraDoc = newLine + "<p>This class was generated from XOM model '"
+-            + model.name + "' on " + new Date().toString();
++            + model.name + "'";
+         if (testMode) {
+             extraDoc = "";
+         }
diff --git a/debian/patches/series b/debian/patches/series
index 0185645..00b9fb7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 javadoc.diff
 default-comment-style.diff
+remove-timestamps.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/eigenbase-resgen.git



More information about the pkg-java-commits mailing list