From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81196C433E0 for ; Sat, 13 Feb 2021 14:49:13 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B402664E3C for ; Sat, 13 Feb 2021 14:49:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B402664E3C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=daemonizer.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.84620.158698 (Exim 4.92) (envelope-from ) id 1lAwEA-0000l0-U2; Sat, 13 Feb 2021 14:48:54 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 84620.158698; Sat, 13 Feb 2021 14:48:54 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lAwEA-0000kt-Pk; Sat, 13 Feb 2021 14:48:54 +0000 Received: by outflank-mailman (input) for mailman id 84620; Sat, 13 Feb 2021 14:48:53 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lAwE9-0000ko-Kf for xen-devel@lists.xenproject.org; Sat, 13 Feb 2021 14:48:53 +0000 Received: from mx1.somlen.de (unknown [89.238.87.226]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 0be3515e-d966-4bb2-aa4a-a8bf189a4583; Sat, 13 Feb 2021 14:48:51 +0000 (UTC) Received: by mx1.somlen.de with ESMTPSA id F2934C36AAE; Sat, 13 Feb 2021 15:48:49 +0100 (CET) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 0be3515e-d966-4bb2-aa4a-a8bf189a4583 From: Maximilian Engelhardt To: xen-devel@lists.xenproject.org Cc: Maximilian Engelhardt , Ian Jackson , Wei Liu , Jan Beulich Subject: [RESEND] [XEN PATCH v1 0/1] Use reproducible date in docs Date: Sat, 13 Feb 2021 15:48:24 +0100 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This is a resend of my v1 patch from [1] which has not been accepted yet. The -d "@..." syntax was introduced in GNU date about 2005, so I assume a version supporting this syntax is available, if SOURCE_DATE_EPOCH is defined. If SOURCE_DATE_EPOCH is not defined nothing changes with respect to the current behavior. In response to my first submission Jan Beulich mentioned in [2] it would be good to probe for the availability of the -d "@..." syntax of GNU date, as Jan couldn't find it when looking at an older documentation of GNU date. I later found out and reported in [3] that while the syntax has been implemented in GNU date in about 2005, the documentation has only been updated in 2011. I also submitted a v2 version that implemented the suggested probing of the capabilities of the "date" command in [4]. However Wei Liu responded a shorter version of the patch would be preferred, so I'm resending v1 now. I'm fine with v1 or v2, both fix the issue of generating reproducible documentation. This patch is the last upstream patch needed for get xen built reproducibly in the next Debian release. If both patches are not seen as appropriate, please tell me what changes I should implement. Thanks, Maxi [1] https://lists.xenproject.org/archives/html/xen-devel/2020-12/msg01518.html [2] https://lists.xenproject.org/archives/html/xen-devel/2020-12/msg01564.html [3] https://lists.xenproject.org/archives/html/xen-devel/2020-12/msg01698.html [4] https://lists.xenproject.org/archives/html/xen-devel/2020-12/msg01715.html [5] https://lists.xenproject.org/archives/html/xen-devel/2021-01/msg00178.html Maximilian Engelhardt (1): docs: set date to SOURCE_DATE_EPOCH if available docs/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) -- 2.20.1