Skip to content

Set SOURCE_DATE_EPOCH relative to git commit time to create reproducible timestamps/checksum values in the OT tables #401

Open
@chrissimpkins

Description

@chrissimpkins

This will permit us to create reproducible OT table build structure at a given git commit. At the moment, build time is used to define the timestamp in the compiled font and by definition creates a time-dependent difference in the binary that is not associated with the source used for the compile process. This opens up the possibility to more easily use text diffs for comparison across build tooling versions, Python interpreter versions, different platforms, etc. as well as comparison of hashes of the font binary for differences.

Discussion with @anthrotype who suggested this approach begins at this post:

#398 (comment)

A comparison of current builds across Py2 and Py3 interpreters (and venv isolated pip installed Python dependencies) yielded only these timestamps and checksum values calculated based upon them as differences in the compiled fonts:

#398 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions