willbryant / kitchen_sync

Fast unidirectional synchronization - make or efficiently update a copy of a database, without slow dumping & reloading
MIT License
282 stars 35 forks source link

Add a --version command switch to print out the current version of ks #85

Closed proby closed 4 years ago

proby commented 4 years ago

fixes #84

It does introduce the the need to keep version.h upto date with the github tags. As further addition could include the versions of the hashing libraries.

My C++ is super rusty, totally open to improvements.

willbryant commented 4 years ago

I don't know why it's taking me so long to decide to merge this. Is it because I am still thinking that versioning is something that should be set at build time and tracked by the package management system, and I should set up a proper PPA so you don't even need to compile?

Or is it just because I know deep down that I am an idiot and I will forget to change the source file every second release?