Skip to content

hardhat: make --ref-time default to $SOURCE_DATE_EPOCH - #98

Open
cyphar wants to merge 2 commits into
amutable:mainfrom
cyphar:hardhat-source-date-epoch
Open

cyphar wants to merge 2 commits into
amutable:mainfrom
cyphar:hardhat-source-date-epoch

Conversation

@cyphar

@cyphar cyphar commented Nov 3, 2026

Copy link
Copy Markdown
Member

tine and other build tools will want to generate TUF metadata in a
reproducible way so we should obey $SOURCE_DATE_EPOCH if it is set to
make things easier for them.

Closes #97
Signed-off-by: Aleksa Sarai aleksa@amutable.com

This was missed when we unified the --ref-time handling and so new
repositories always used the real wallclock rather than --ref-time.

Fixes: ef7ac17 ("ctxext: unify --ref-time handling")
Signed-off-by: Aleksa Sarai <aleksa@amutable.com>
tine and other build tools will want to generate TUF metadata in a
reproducible way so we should obey $SOURCE_DATE_EPOCH if it is set to
make things easier for them.

Signed-off-by: Aleksa Sarai <aleksa@amutable.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant