Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121849 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 84661 invoked from network); 29 Nov 2023 07:13:04 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 29 Nov 2023 07:13:04 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 00AB518003D for ; Tue, 28 Nov 2023 23:13:10 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DMARC_MISSING, SPF_HELO_PASS,SPF_NEUTRAL autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from xdebug.org (xdebug.org [82.113.146.227]) by php-smtp4.php.net (Postfix) with ESMTP for ; Tue, 28 Nov 2023 23:13:10 -0800 (PST) Received: from [127.0.0.1] (unknown [85.255.237.169]) by xdebug.org (Postfix) with ESMTPSA id 425B710C237; Wed, 29 Nov 2023 07:13:01 +0000 (GMT) Date: Wed, 29 Nov 2023 07:12:59 +0000 To: internals@lists.php.net User-Agent: K-9 Mail for Android In-Reply-To: References: <62C2C517-B14F-445E-AD3B-7915544B17B2@php.net> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Reproducible Builds From: derick@php.net (Derick Rethans) On 29 November 2023 00:48:28 GMT, Matthew Weier O'Phinney wrote: >On Tue, Nov 28, 2023, 5:28=E2=80=AFPM Derick Rethans w= rote: > >> On 28 November 2023 17:28:18 GMT, Sebastian Bergmann >> 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=2E How attached are we to having the date and time of the build = in the >> output of phpinfo(), "php -i", etc=2E? >> >> It is really useful for the development versions of PHP=2E Knowing whet= her >> your are running a PHP-dev from last week or last month is important=2E > > >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=2E > >> >> >> >> Not really, as a hash doesn't directly tell me the date/time, and neither = would it help in dev branches / checkouts where the latest changes haven't = been comiited yet=2E cheers Derick