Re: [PATCH 1/3] Documentation: allow overriding timestamps of generated asciidoc

2017-11-21 Thread Jonathan Nieder
Anders Kaseorg wrote: > On Tue, 21 Nov 2017, Jonathan Nieder wrote: >> http://asciidoc.org/CHANGELOG.html is stale but asciidoc still seems >> to be getting changes at https://github.com/asciidoc/asciidoc. I >> wonder how difficult it would be to add any required SOURCE_DATE_EPOCH >> support ther

Re: [PATCH 1/3] Documentation: allow overriding timestamps of generated asciidoc

2017-11-21 Thread Junio C Hamano
Anders Kaseorg writes: > That should make this Git patch unnecessary. (You’re of course still > welcome to take it if you think build reproducibility with old AsciiDoc > versions is worthwhile.) Thanks. I've queued these three only so that I won't lose track, but will not hastily merge the

Re: [PATCH 1/3] Documentation: allow overriding timestamps of generated asciidoc

2017-11-21 Thread Anders Kaseorg
On Tue, 21 Nov 2017, Jonathan Nieder wrote: > http://asciidoc.org/CHANGELOG.html is stale but asciidoc still seems > to be getting changes at https://github.com/asciidoc/asciidoc. I > wonder how difficult it would be to add any required SOURCE_DATE_EPOCH > support there. In fact I already did (ht

Re: [PATCH 1/3] Documentation: allow overriding timestamps of generated asciidoc

2017-11-21 Thread Junio C Hamano
Jonathan Nieder writes: >> touch -d @SECONDS isn't POSIX compliant, and non-Linux systems don't >> provide it. POSIX only allows certain fixed format, and I assume that >> non-Linux parties (maybe OpenBSD) will want to have reproducible builds >> as well. > > Interesting. My knee-jerk preferenc

Re: [PATCH 1/3] Documentation: allow overriding timestamps of generated asciidoc

2017-11-21 Thread Jonathan Nieder
Hi, brian m. carlson wrote: > On Tue, Nov 21, 2017 at 03:34:32PM -0800, Jonathan Nieder wrote: >> --- a/Documentation/Makefile >> +++ b/Documentation/Makefile >> @@ -410,6 +410,7 @@ $(patsubst %.txt,%.texi,$(MAN_TXT)): %.texi : %.xml >> howto-index.txt: howto-index.sh $(wildcard howto/*.txt) >>

Re: [PATCH 1/3] Documentation: allow overriding timestamps of generated asciidoc

2017-11-21 Thread brian m. carlson
On Tue, Nov 21, 2017 at 03:34:32PM -0800, Jonathan Nieder wrote: > From: Anders Kaseorg > Date: Wed, 30 Nov 2016 22:21:15 -0500 > > Allow overriding the timestamp in generated documentation by setting > SOURCE_DATE_EPOCH to the number of seconds since 1970-01-01 00:00:00 > UTC to use. > > This m

[PATCH 1/3] Documentation: allow overriding timestamps of generated asciidoc

2017-11-21 Thread Jonathan Nieder
From: Anders Kaseorg Date: Wed, 30 Nov 2016 22:21:15 -0500 Allow overriding the timestamp in generated documentation by setting SOURCE_DATE_EPOCH to the number of seconds since 1970-01-01 00:00:00 UTC to use. This makes the generated documentation reproducible from the source code as long as tha