Re: Reproducible Builds
| From: | Marco Pivetta | Date: | Wed, 29 Nov 2023 00:54:22 +0000 |
| Subject: | Re: Reproducible Builds | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-121843@lists.php.net to get a copy of this message | ||
On Wed, 29 Nov 2023 at 01:48, Matthew Weier O'Phinney <
mweierophinney@gmail.com> wrote:
> 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.
>
Also, refs have a timestamp :-)
Marco Pivetta
https://mastodon.social/@ocramius
https://ocramius.github.io/