fatal: No names found, cannot describe anything.
binarykitchen opened this issue · comments
When running MIAB on a fork, the git describe
command under setup/bootstrap.sh
produces this error every day and it also gets sent by email every day to the administrator:
fatal: No names found, cannot describe anything.
To silence this and to cope with forks properly, recommend amending the --always
option. Like that:
michael-heuberger@abc.com /home/michael-heuberger/mailinabox-v25 ❯❯❯ git describe --always
848392c
If you agree, I'll do a tiny PR for that.
Are you sure it's not the invocation at
mailinabox/management/status_checks.py
Line 919 in 8b19d15
?
Adding --always
there makes sense. As would normal Python error handling (or both).
Yeah @JoshData, that file too. Ok, I will create a PR to amend --always
for all git describe
commands we have in our code base.
Done, PR is here. See link above.