Skip to content

Make release archives reproducible #50

@fingolfin

Description

@fingolfin

I had to re-release anupq due to resolve gap-actions/update-gh-pages#12 -- annoyingly this changed the tarball checksums.

It would be nice if we could avoid this, or at least minimize the chance for it happening.

Right now,

  • the PDF may change -- can be solved by setting the SOURCE_DATE_EPOCH environment variable suitable
  • the tarball can have variance, e.g. due to different a/c/mtimes on files, ownership etc.
  • one has to be careful with gzip etc. (I think we are fine due to using -c, but it might be necessary to also specify -n, --no-name ?)
  • possibly more, to be tested.

For timestamps and SOURCE_DATE_EPOCH one could extract the timestamp from the commit from which the release is made.

Hints to deal with those can be found on https://reproducible-builds.org.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions