[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v1 2/2] Define SOURCE_DATE_EPOCH based on git log
- To: Jan Beulich <jbeulich@xxxxxxxx>
- From: Frédéric Pierret <frederic.pierret@xxxxxxxxxxxx>
- Date: Tue, 3 Nov 2020 10:21:07 +0100
- Arc-authentication-results: i=1; mx.zohomail.com; dkim=pass header.i=qubes-os.org; spf=pass smtp.mailfrom=frederic.pierret@xxxxxxxxxxxx; dmarc=pass header.from=<frederic.pierret@xxxxxxxxxxxx> header.from=<frederic.pierret@xxxxxxxxxxxx>
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1604395273; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=PONRj/GF8R+7Q+1kKZid9bzvtTksyiJqHw0juDmgOks=; b=Mo8hGUMt+DwotarDnHVKupWYGB1p+Z39/3ey3Xg3+hyeqNwCQtZh+Y4+cVfAMsdHD5MZl4peZ582d9KS5MV9YMsrzS5Bvbv6ecP4RUGeeDcwgtk4LjpSJPoS3A0us9Lr3alqWKoJzZetqhrMvJAQETuc8bx2tNayziCkVXN/I6k=
- Arc-seal: i=1; a=rsa-sha256; t=1604395273; cv=none; d=zohomail.com; s=zohoarc; b=KrHTiuNYwRjlG87inCb9R8Dero7mByvHFhtGlRjpvgtvXMj7kSjB4iRbPoGa4+4fVs93/jyyahAlDK9GGOx3lvk6+aa65Bn7H552EmWv1IFYcTzb0eXnyVCAZthsEQWxZRoTvWhlENS9ourpI3itkMGnFLjbCgcFrswvWEvENQE=
- Autocrypt: addr=frederic.pierret@xxxxxxxxxxxx; keydata= xsFNBFwkq3EBEADcfyaOkeuf+g96S1ieq05tJ8vTGsQrNXQ5RDE7ffagL0+EpfIP3x73x5Q0 Dy2rUVQ+oN1DHcueNL70RtNs9BFnoW0KZnskbT4nEJ9wQCQa22lQaIk9kCNVddh2HJKljtd8 vtovi97sWIjtzxx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p4HNqSQfFJ3+chzxfOOdNtdWE+RFetyx9R8DBGrPX8hjITWD9ZA2bbZZ+J+a39v yY7bNZkCGbWzPGK//O1cInL4Ecmj7Xm8DXjk3E2Xzv1YrZk/GBz9xK8mWXwhn90SHNadEf28 ghMXcmUJSqT+KTxQQjUVaEtQDdzQnYQKh/dHxs760QSAnXkWr0YVYxk8q8aa+G8iAkNJcb+W x5gWEw4ft3HpKMRq74OQvWayy0fXpTlusdnvZs0VVMeRpCW6iCt9UmsbfG6Nyf2MKKbWRJnt jy8mjJiFjiJ2j9s4yNIookRv8IfocULuhnx5FWsvIzX2Vwcd7G5objnY1DlCNQrhJUs/geoC UBjBJp7sfbHakWfTKxZjFsuCXT1dCEN7JXX6ABOshzDTwB0kq7Bq/EkOzPDQGfOPoX2h1KjH uvGWw5cBe8WLnEuhIyf/DWfMS1LbjFB4JlMUEcood5xvE4owpfZog+0a9gpBS6cg9bMgRUex 1C+w3fudJdPQwIRAjJgac0jTT6uDY8re9RhBDv83PRSM7AzxqEFvDj8K46dg1XvJcKs7K5PX pm5Pw4stVEAxIks5uR62wxygImkdvgjQRzJe4JWwAniBWsZG+cNYj6xcItqkupIb4PeOWgNQ QMhGv8DnbAdOOOnumAXWq0+wl5uP
- Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Tue, 03 Nov 2020 09:21:22 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Le 11/3/20 à 10:15 AM, Jan Beulich a écrit :
On 31.10.2020 16:14, Frédéric Pierret (fepitre) wrote:
--- a/xen/Makefile
+++ b/xen/Makefile
@@ -6,6 +6,8 @@ export XEN_EXTRAVERSION ?= -unstable$(XEN_VENDORVERSION)
export XEN_FULLVERSION = $(XEN_VERSION).$(XEN_SUBVERSION)$(XEN_EXTRAVERSION)
-include xen-version
+export SOURCE_DATE_EPOCH ?= $(shell git log -1 --format=%ct 2>/dev/null)
In patch 1 you also use the variable under tools/. Why do you
place this here rather than in the top level Makefile?
This said I'm not convinced anyway that we want this to be the
default. I'd rather see this as something to get set by the
package build process of distros, outside of any of the source
files.
Jan
In fact this was intended to provide a default/example value. Indeed, each
package manager should
handle this with changelog or such.
This is not mandatory and if not wanted by default, maybe add this example
value into the INSTALL documentation?
Frédéric
Attachment:
OpenPGP_0x484010B5CDC576E2.asc
Description: application/pgp-keys
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature
|