Hello all, In our weekly YANG versioning calls we discussed the 'm' and 'M' modifiers in the yang-semver draft.
While we still believe that the extra char modifier is a useful addition, we are now leaning towards a different location for the letter and different characters as the indicator. The current draft uses 'm' or 'M' at the end, e.g. 2.1.1m or 3.3.3M. Here are the latest thoughts from the weekly call. As a high level summary -> we're basically down to options p1, p2 or p3 below. Looking for other opinions to debate amongst those. We should avoid having any semantic meaning that depends on the case of the letter. Hence having 'm' and 'M' mean different things isn't a good idea. So in our latest proposal the case of the letter is not significant. As before, two different letters/symbols should be used: 1) one to signify a major (NBC) change 2) one to signify a minor (BC) change Our current 'favorites' are: p = major (NBC) c = minor (BC) Other letters considered but rejected were: X, Y, Z: have connotations of wildcard (1.2.3x implies "any 1.2.3*") N: has connotations of wildcard A, B: alpha, beta i, j, k: common iterators - better to avoid? nc = non-compatible. Better to stick to 1 letter? We also feel that it may actually be a useful property to "break" tools (i.e. have them error, halt, etc) when they don't know how to handle the letter - in particular for major changes (so they don't accidently assume 2 versions are compatible). So perhaps placing the "p" should be up adjacent to the major version: p1.1.1 or 1p.1.1 We're undecided on where the "c" should go. We're down to a few favorites. Here are combinations of p & c that we're considering most strongly (examples below show a Major Change / Minor Change): p1) p1.1.1 / 1.1.1c nice bookends p2) 1p.1.1 / 1.1c.1 letter goes with the part of the version it is associated with p3) 1p.1.1 / 1.1.1c We debated a number of other locations & formats. Pasting them here so you can get a quick visual of what they look like: NBC Changes: n1) 1.1.0 --- p1.1.1 not quite as likely to "break" tools as 1p.1.1? n2) 1.1.0 --- 1.1.1M n3) 1.1.0 --- 1p.1.1 more likely to "break" tools, more likely to trigger people to lookup what it means n5) 1.1.0 --- 1nc.1.1 n6) 1.1.0 --- 1.1.1(p) n7) 1.1.0 --- 1(p).1.1 n8) 1.1.0 --- X.1.1.1 BC Changes: b1) 1.1.0 --- 1.1c.1 b2) 1.1.0 --- 1c.1.1 b3) 1.1.0 --- C1.1.1 Rgds, Jason
_______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
