Skip to content

Commit

Permalink
Change describe_version to use git-fleximod instead of manage_externals
Browse files Browse the repository at this point in the history
  • Loading branch information
billsacks committed Aug 9, 2024
1 parent 4e755db commit b60a54e
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions describe_version
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,11 @@ def main():
universal_newlines=True)
print(separator + 'git status:\n' + git_status + separator)

manic = os.path.join('manage_externals', 'checkout_externals')
# Give '--verbose' twice to give very verbose output, showing all modified files in
# each external.
manage_externals_status = subprocess.check_output([manic, '--status', '--verbose', '--verbose'],
cwd=cesmroot,
universal_newlines=True)
print(separator + 'manage_externals status:\n' + manage_externals_status + separator)
fleximod = os.path.join('bin', 'git-fleximod')
fleximod_status = subprocess.check_output([fleximod, 'status'],
cwd=cesmroot,
universal_newlines=True)
print(separator + 'git-fleximod status:\n' + fleximod_status + separator)

if __name__ == "__main__":
main()

0 comments on commit b60a54e

Please sign in to comment.