Discussion:
[Scons-users] (no subject)
Bill Deegan
2018-10-14 03:15:07 UTC
Permalink
Please take a moment to review this PR.

"Allow to override build date with SOURCE_DATE_EPOCH"
https://github.com/SCons/scons/pull/3221

Besides allowing the shell environment variable SOURCE_DATE_EPOCH to
override the datestamp embedded in the distribution package and the
documents, it's also altering the datestamp format from:

From:
%Y/%m/%d %H:%M:%S

To:
%Y-%m-%d %H:%M:%S

Thoughts?

-Bill
SCons Project Co-Manager
Russel Winder
2018-10-14 07:09:55 UTC
Permalink
Post by Bill Deegan
Please take a moment to review this PR.
"Allow to override build date with SOURCE_DATE_EPOCH"
https://github.com/SCons/scons/pull/3221
Besides allowing the shell environment variable SOURCE_DATE_EPOCH to
override the datestamp embedded in the distribution package and the
%Y/%m/%d %H:%M:%S
Non-standard format.
Post by Bill Deegan
%Y-%m-%d %H:%M:%S
ISO 8601 alternative, but not preferred.
Post by Bill Deegan
Thoughts?
Using ISO 8601 for dates is always a good idea.
Post by Bill Deegan
-Bill
SCons Project Co-Manager
_______________________________________________
Scons-users mailing list
https://pairlist4.pair.net/mailman/listinfo/scons-users
--
Russel.
===========================================
Dr Russel Winder t: +44 20 7585 2200
41 Buckmaster Road m: +44 7770 465 077
London SW11 1EN, UK w: www.russel.org.uk
Mats Wichmann
2018-10-14 18:06:17 UTC
Permalink
Post by Russel Winder
Post by Bill Deegan
Please take a moment to review this PR.
"Allow to override build date with SOURCE_DATE_EPOCH"
https://github.com/SCons/scons/pull/3221
Besides allowing the shell environment variable SOURCE_DATE_EPOCH to
override the datestamp embedded in the distribution package and the
%Y/%m/%d %H:%M:%S
Non-standard format.
Post by Bill Deegan
%Y-%m-%d %H:%M:%S
ISO 8601 alternative, but not preferred.
Post by Bill Deegan
Thoughts?
Using ISO 8601 for dates is always a good idea.
python even has isodate methods for producing such (one for dates, one
for datetimes, if I recall correctly)

Loading...