Bug#783938: openjdk-8: please remove timestamp embedding from javadoc
Le 8/01/2017 à 18:06, Samuel Thibault a écrit : > Perhaps javadoc could be made to use by default the SOURCE_DATE_EPOCH > environment variable when it is defined? Yes, this is better than forcing -notimestamp. Emmanuel Bourg
Bug#783938: openjdk-8: please remove timestamp embedding from javadoc
Hello, Emmanuel Bourg, on Wed 27 May 2015 13:51:13 +0200, wrote: > I'm not very fond of this suggestion, as it would change the behavior > our users may expect (the -notimestamp option also removes the version > of the JDK used, and this is sometime used by Greasemonkey scripts to > change the style of the pages [1]) Perhaps javadoc could be made to use by default the SOURCE_DATE_EPOCH environment variable when it is defined? Samuel
Bug#783938: openjdk-8: please remove timestamp embedding from javadoc
I'm not very fond of this suggestion, as it would change the behavior our users may expect (the -notimestamp option also removes the version of the JDK used, and this is sometime used by Greasemonkey scripts to change the style of the pages [1]). If this is implemented it would be preferable to disable the timestamps only when building a Debian package (through the detection of a specific environment variable). It's also worth mentioning that javahelper and maven-debian-helper have been changed to disable the timestamps in the javadoc, so this issue now only affects the packages that do not use these helpers (I haven't checked how many exactly, but I hope that's a minority). Emmanuel Bourg [1] http://userscripts-mirror.org/scripts/show/108797 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#783938: openjdk-8: please remove timestamp embedding from javadoc
Source: openjdk-8 Version: 8u45-b14-1 Severity: wishlist User: reproducible-bui...@lists.alioth.debian.org Usertags: toolchain X-Debbugs-CC: reproducible-bui...@lists.alioth.debian.org Hi! While working on Debian's “reproducible builds” effort [1], we have noticed that a lot of java packages are using javadoc, which includes a timestamp in the generated documentation by default. To make a lot of those packages reproducible, we currently have a workaround in strip-nondeterminism, which removes those timestamps again. But our long-term goal is to get rid of such workarounds and solve the problems at the root. javadoc has a -notimestamp option, which can already prevent the embedding of those timestamps, but not every package is making use of this (directly or indirectly by using a helper like javahelper). It would be awesome if the default behavior of javadoc could be changed to never embed timestamps unless explicitely requested. Regards, Reiner [1]: https://wiki.debian.org/ReproducibleBuilds signature.asc Description: OpenPGP digital signature