Skip to content

Conversation

@bheni
Copy link
Contributor

@bheni bheni commented Apr 10, 2024

The Version command is currently used by doltgres, but there are some issues. You can't add extra args to it, and it prints out the wrong binary name. This refactor makes the binary name printed by the Version command configurable, and it also refactors the Exec so that its functionality can be extended by doltgres without having to duplicate things like checkAndPrintVersionOutOfDateWarning, and the printing of the feature version.

@coffeegoddd
Copy link
Contributor

@bheni DOLT

comparing_percentages
100.000000 to 100.000000
version result total
f9e10ab ok 5937457
version total_tests
f9e10ab 5937457
correctness_percentage
100.0

Copy link
Contributor

@reltuk reltuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@bheni bheni merged commit 77691dd into main Apr 10, 2024
@bheni bheni deleted the bh/version-refactor branch April 10, 2024 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants