aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/make_version.py
Commit message (Collapse)AuthorAgeFilesLines
* util: report git version info as a dictEric Callahan2023-05-041-1/+1
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* klippy: Report repo version as "dirty" if there are untracked python filesKevin O'Connor2023-05-021-1/+1
| | | | | | | | Check for untracked files in the klippy/extras/ and klippy/kinematics/ directories and report those files in the log. This helps identify code modifications when inspecting a log. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* util: Fix versioning when gitdir is absent (#809)lf2018-10-271-0/+31
The gitdir previously could be absent and produce a version of "" in spite of checks for it. Fixed. Parent directories with shlex-interpreted characters in their names could be misinterpreted. Removed shlex parsing. Packagers may want to remove the git history to slim down the package size, so add an option for using a file 'version' in the klippy directory to set version without using git. Signed-Off-By: Lucas Fink <software@lfcode.ca>