Hi Mike,
some comments in line below.
On 09/07/2018 17:51, Black Michael via wsjt-devel wrote:
No...that number does not increment...it's basically random with git
(it's a hash value). It's just the first 6 digits of the "commit"
line which is a hexadecimal number
The git SHA-1 hash codes are not random, anything but in fact. They are
a unique representation of a commit and all it's history that is
reproducible with absolute certainty even if the commit is moved to a
different repository. This is key to how git can maintain integrity
across distributed and unconnected repositories.
There is a means to making an increment version # but it's not
frequently used -- basically one way is to count the # of log entries.
It is basically futile and pointless on anything but the most trivial
centralized work flow model with no branching, ever.
As long as your version matches the most recent log entry 6-digit
number you're current. And yes...it's not a very good system as one
can't say "ensure you are at least version X".
That was never true even with Subversion since svn revision numbers are
common to all branches. An svn revision number is no more than a label
for a change set on some branch. All it's magnitude tells you is when
the commit was made with respect to another, but since consecutive
commits could be to different branches, that tells you little or nothing
about the logical lineage of a revision.
Your definition of "not a very good system" is based on a very poor
system as a reference point, so not a very good argument ;)
de Mike W9MDB
73
Bill
G4WJS.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel