Versioning documents #380
Labels
backend
Backend, including web server and database
enhancement
New feature or request
frontend
TypeScript frontend and Rust-wasm integrations
strategic
Design/architecture work and prior discussion required
It should be possible to version a document by (1) making a new snapshot of the document and (2) assigning it a version number/string.
Thus, a first step in this issue is to add an optional
version
column to thesnapshots
table. The key design questions are what should a version be and how opinionated should we be about what counts as a valid version. For example, a very restrictive scheme would make versions be numbers and require that they are consecutive integers starting at one. That seems too limiting to me. At the other end of the spectrum, a version could be an arbitrary string, with informal conventions/guidelines about how to choose them. That's how tags work in Git. In between might be some notion of "SemVer for models," though what that's supposed to mean isn't too clear.Once that's decided, the task is to:
Maintain
or higher permissions on the documentThe text was updated successfully, but these errors were encountered: