Skip to content

GITALY_SERVER_VERSION references an untagged commit

The issue

The GITALY_SERVER_VERSION file points to an unreleased/untagged version of Gitaly; this file currently contains a commit id, whereas it normally contains a version number.

This is problematic for us in the NixOS project, since we rely on these *_VERSION files to find the version of auxiliary projects to package with each GitLab release. It looks a bit odd to package a commit rather than a tagged version of a package, and our update script relies on being able to prefix the contents of these files with v to find the corresponding tag.

Some possible fixes

  • Reference a tagged release instead
  • Tag the currently referenced commit and update the GITALY_SERVER_VERSION file
  • Make sure all these files always reference a git ref (preferably) or commit id