Nr |
|
|
|
1 |
take the first 7 chars from sha1 of the last commit
and convert string as hex digit |
1. hard link to last build commit
2. robust to random change history |
1. it is not easy get info about which zabbix_agetd.exe is newer
2. win installer take this number into account during upgrade process |
2 |
UTC date of last commit |
1. relatively direct link to the commit
2. newer agent will get bigger revision
3. robust to random change history |
1. relatively wide number: 1556632265
2. MS revision field 2 bytes, but utc should be 8 bytes (till 2038) |
3 |
Number of last commit. We should take into account
that history of master and release branches do not rewrite. |
1. newer agent will get bigger revision
2. short number (fits in 2 bytes) |
1. not present direct link to the commit
2. the history can be changed in the future. |
4 |
Number of Jenkins build |
1. newer agent will get bigger revision
2. short number (fits in 2 bytes) |
Impossible connect 'build' number with 'commit' without Jenkins logs. |
5 |
delta between UTC date of the last build commit and commit tagged as minor release |
1. newer agent will get bigger revision
2. number fits in 4 bytes
3. robust to random change history |
1. for first build of new release the revision will be equal to 0
2. not easy to find the last build commit |
6 |
delta between commit count of build point and commit tagged as minor release |
1. newer agent will get bigger revision
2. short number (fits in 2 bytes) |
1. not present direct link to the commit
2. the history can be changed in the future. |