Re: Reproducible Builds
| From: | Matthew Weier O'Phinney | Date: | Wed, 29 Nov 2023 00:48:28 +0000 |
| Subject: | Re: Reproducible Builds | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-121842@lists.php.net to get a copy of this message | ||
On Tue, Nov 28, 2023, 5:28 PM Derick Rethans <derick@php.net> wrote:
> On 28 November 2023 17:28:18 GMT, Sebastian Bergmann <sebastian@php.net>
> wrote:
>
> >While we could probably replace __DATE__ and __TIME__ with
> SOURCE_DATE_EPOCH [3] [4], I cannot help but wonder whether having the date
> and time when the executable was built in the executable is actually
> useful. How attached are we to having the date and time of the build in the
> output of phpinfo(), "php -i", etc.?
>
> It is really useful for the development versions of PHP. Knowing whether
> your are running a PHP-dev from last week or last month is important.
Would Marco's suggestion of using a git hash solve that? You'd then get
both a reproducible build AND know when/what it was generated from.
>
>
>
>