One of the pain points of the current setup is the schema.patch mechanism, that applies changes to the generated schema.rs file. We store a history of diffs, instead of just a flat history of schemas. I suggest that we ditch the patching mechanism and checkin the most recent schema.rs into Git. We can add additional comments to it directly.
[ ] as discussed minimal solution is to improve docu for how to generate schema.rs (add missing step etc)
[ ] (optional) we could look into Quilt or stacked git but I don't think they will simplify the current workflow, they would only allow more easily to have a series of patch (and as such maybe have a better overview of what we patch and why)
Originally posted by @horenso in https://github.com/ElektraInitiative/PermaplanT/issues/1185#issuecomment-1940098422
schema.rs
(add missing step etc)