SOURCE_DATE_EPOCH and when to clamp timestamps

Chris Lamb chris at
Mon Jun 13 17:40:57 UTC 2022

Hi John,

> OK, I see why you wouldn't want to clamp the Git commit date, but why
> shouldn't the current timestamp be replaced with SOURCE_DATE_EPOCH when
> it's set?

Ah, well, the current timestamp should definitely be replaced for the
reasons you mention. Sorry if I implied or mispoke and said that in my
rambling reply.

I was saying that it shouldn't be *clamped*. (Perhaps we are confusing
each other over what we mean by "clamped"? Clamping is not the same as
"replacing", it is where there is a conditional replacement depending on
whether the candidate date is greater than the value of SOURCE_DATE_EPOCH
or not.)

I should probably be arguing that there is no need to include the
current timestamp in the first place, but that's something for another
thread... :)

Best wishes,

    ⬋   ⬊      Chris Lamb
   o     o 💠
    ⬊   ⬋

More information about the rb-general mailing list