From ae423cfd104ad4fa47ae7aec526b913aa9b24ec7 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Wed, 7 May 2025 16:45:53 +0200 Subject: [PATCH] docs: must have the release tags in the local repo, fixes #8582 --- docs/development.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/development.rst b/docs/development.rst index 26af7c8be..2a7542ef6 100644 --- a/docs/development.rst +++ b/docs/development.rst @@ -119,6 +119,11 @@ to your local machine. The instructions for forking and cloning a repository can be found there: ``_ . +Make sure you also fetched the git tags, because without them, ``setuptools-scm`` +will run into issues determining the correct borg version. Check if ``git tag`` +shows a lot of release tags (version numbers). +If it does not, use ``git fetch --tags`` to fetch them. + To work on your contribution, you first need to decide which branch your pull request should be against. Often, this might be master branch (esp. for big / risky contributions), but it could be also a maintenance branch like e.g.