-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #291 from DavidT3/bug/versioneerBrokenLikeXGA
Bug/versioneer broken like xga
- Loading branch information
Showing
3 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
|
||
# This code is a part of the Democratising Archival X-ray Astronomy (DAXA) module. | ||
# Last modified by David J Turner ([email protected]) 09/08/2024, 15:37. Copyright (c) The Contributors | ||
# Last modified by David J Turner ([email protected]) 23/08/2024, 16:43. Copyright (c) The Contributors | ||
|
||
# This file helps to compute a version number in source trees obtained from | ||
# git-archive tarball (such as those provided by githubs download-from-tag | ||
|
@@ -287,7 +287,7 @@ def git_pieces_from_vcs( | |
# if there isn't one, this yields HEX[-dirty] (no NUM) | ||
describe_out, rc = runner(GITS, [ | ||
"describe", "--tags", "--dirty", "--always", "--long", | ||
"--match", f"{tag_prefix}[[:digit:]]*" | ||
"--match", f"v*" # TODO THIS IS WHERE I BODGED IT | ||
], cwd=root) | ||
# --long was added in git-1.5.5 | ||
if describe_out is None: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
|
||
# This code is a part of the Democratising Archival X-ray Astronomy (DAXA) module. | ||
# Last modified by David J Turner ([email protected]) 09/08/2024, 15:37. Copyright (c) The Contributors | ||
# Last modified by David J Turner ([email protected]) 23/08/2024, 16:43. Copyright (c) The Contributors | ||
|
||
# Version: 0.29 | ||
|
||
|
@@ -1325,7 +1325,7 @@ def git_pieces_from_vcs( | |
# if there isn't one, this yields HEX[-dirty] (no NUM) | ||
describe_out, rc = runner(GITS, [ | ||
"describe", "--tags", "--dirty", "--always", "--long", | ||
"--match", f"{tag_prefix}[[:digit:]]*" | ||
"--match", f"v*" # TODO THIS IS WHERE I BODGED IT - IDENTICAL TO _version.py | ||
], cwd=root) | ||
# --long was added in git-1.5.5 | ||
if describe_out is None: | ||
|