Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Embed epoch timestamp to SHA256SUMS #85

Open
AkihiroSuda opened this issue Jul 25, 2023 · 0 comments
Open

Embed epoch timestamp to SHA256SUMS #85

AkihiroSuda opened this issue Jul 25, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@AkihiroSuda
Copy link
Member

epoch := st.ModTime().UTC()
if sourceDateEpoch != nil {
epoch = *sourceDateEpoch
}

ModTime() is not reliable on git repo, so it should be embedded in the hash file.

e.g.,

0000000000000000000000000000000000000000000000000000000000000000  /repro-get?epoch=1639958400
@AkihiroSuda AkihiroSuda added the enhancement New feature or request label Jul 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant