Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📦 Make Git archives reproducible #1338

Commits on Aug 23, 2024

  1. 📦 Make Git archives reproducible

    Some time ago, it was discovered that Git archives having
    `ref-names: $Format:%D$` in `.git_archival.txt` may change when
    references existing in the repository change over time [[1]]. This
    means that downloading an archive for a commit from an immutable URL
    may start yielding slightly different results. This hurts the ability
    of downstreams to source projects from Git archive URLs.
    
    With that in mind, modern `setuptools-scm` advises against having this
    entry in the `.git_archival.txt` template [[2]]. And this patch
    implements said recommendation.
    
    [1]: pypa/setuptools-scm#806
    [2]: https://setuptools-scm.readthedocs.io/en/latest/usage/#git-archives
    webknjaz committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    83440fe View commit details
    Browse the repository at this point in the history