DSI spec proposal: edition numbers with zero are "unlisted" #4
Replies: 5 comments 1 reply
-
Hi @castedo! Could you please explain this in our next community call? |
Beta Was this translation helpful? Give feedback.
-
I should mention that this proposal is essentially already implemented in Hidos, perm.pub, and popgen.es. This discussion is mostly thinking through what guidance to give in the specification regarding interoperability between software reading and writing document successions. Here's some background info. Multilevel edition numbers are edition numbers like Documents are different that software, but traditional documents are also different than Baseprint document successions. My hunch is the same underlying fundamental reasons software developers find semantic versions useful will also apply to Baseprint document successions. Working assumptions: A) '0' is a confusing first edition number. Then it seems clear to me that: E) The last integer in the tuple should never be zero. This E) is a natural generalization of A) and it eliminates confusing '1.0' with '1', which are different tuples. Another restriction COULD be: F) None of the integers in the tuple can be zero. The tuples are of positive integers only. However, there are two software practices that are suggestive of utility of having a special integer like zero.
So this proposal is to NOT adopt F) as a requirement and instead make edition numbers "unlisted" if any zero appears in the tuple. This means by default such an edition is not displayed and it is optional when and whether software shows "unlisted" editions. Some software might completely ignore unlisted editions, and in some contexts that might be what users want. Other software might show them in special views or with special non-default settings. |
Beta Was this translation helpful? Give feedback.
-
DSI spec is here: https://perm.pub/1wFGhvmv8XZfPx0O5Hya2e9AyXo/ |
Beta Was this translation helpful? Give feedback.
-
Another approach for for this "unlisted editions" proposal is to document it in the spec as an experimental feature and upgrade Hidos to only support it when it is in experimental mode. This would simplify the main part of the spec that does not include experimental stuff. The non-experimental criterion for an edition number becomes a nice simple "tuple of positive integers" and no complexity about zeros and unlisted-ness needs to be introduced. |
Beta Was this translation helpful? Give feedback.
-
Edition 2.3 has been updated https://perm.pub/1wFGhvmv8XZfPx0O5Hya2e9AyXo/2.3 Hidos issue created: https://gitlab.com/perm.pub/hidos/-/issues/8 |
Beta Was this translation helpful? Give feedback.
-
perm.pub and popgen.es treat edition numbers with zeros in a special way. Snapshot edition numbers with zero are not listed in the sequence of editions that are finer than a coast edition number without a zero. This extends to the empty edition number in that a base DSI does not result in a listing of snapshots with edition numbers than have a zero.
This functionality was added to be analogous to pre-releases in software packages. With software releases there are scenarios where an author wants to go though most of the steps of a release, but just short of making a full official release. Likewise with editions an unlisted
1.0.1
edition is just short of a fully listed1.1
. Additionally, editions like0.1
etc...0.2
... do not get listed by default. This can serve a role analogous to beta releases. Still reference-able as a DSI, but treated as something less ready than an edition without a zero.If this functionality of perm.pub and popgen.es is integrated into the
baseprinterpress
package then it could become a reference implementation for DSI and the criteria could be added for the presentation of DSI with zeros as "unlisted".Beta Was this translation helpful? Give feedback.
All reactions