voc / schedule

http://c3voc.de/wiki/schedule
14 stars 18 forks source link

merged version numbers #5

Closed saerdnaer closed 6 years ago

saerdnaer commented 8 years ago

Was implemented for json schedule in https://github.com/voc/schedule/commit/01a10e21e4e435dd47df0cbba45f21deee9b5f34#diff-9949c26e4143c91907d68ee62619fa15R150

Still open issue: How to merge version numbers...

a-tze commented 8 years ago

Version Number 1 + "-" + Version Number 2

should at least be stable /wrt to sorting. prerequisite is that input schedules (version numbers) are always processed in same order.

saerdnaer commented 8 years ago

Currently there is no guarantee that the version number is increased with every small little change. We also have some unversioned content as input like the self-organized session from wiki at events.ccc.de.

I personally would prefer some hash over the content or an last change date...

a-tze commented 8 years ago

proposal:

I think this is the most transparent. Hashing inputs that have a version number are harder to track. If the resulting version is something like '0.9-ad8e39' a human can derive at least a little bit of information.

saerdnaer commented 8 years ago

so for the 32C3 use case, this would be 0.9-ad8e39_0.3-fefeba_abcde? (cccv frab release 0.9 + sendezentrum release 0.3 + wiki)

a-tze commented 8 years ago

since SZ has a version number, it should be more like '0.9-0.3-fefeba_abcde'. The idea is that sorting works, but of course it doesn't work for the hashed parts.

saerdnaer commented 6 years ago

was implemented this year