Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • R reproducible-website
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 20
    • Issues 20
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Reproducible BuildsReproducible Builds
  • reproducible-website
  • Issues
  • #31
Closed
Open
Issue created Jun 09, 2021 by Carl Dong@dongcarl-guestDeveloper

Document non-reproducibility arising out of abbreviated git hashes

Many build processes insert abbreviated git hashes into outputs, either through git describe or git rev-parse. This is a source of non-reproducibility as the number of hex characters to include in the abbreviated hash is dependent on the number of objects currently in the local view of the git repo.

Possible solutions:

  • git describe --abbrev=12
  • git rev-parse --short=12
  • Set core.abbrev config
Edited Jun 09, 2021 by Carl Dong
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking