Skip to content

rewritemeta: respect key-word sort order for YAML files

Using ruamel.yaml for writing yaml metadata. This lib seems to be a well maintained fork of pyyaml. It has two features we need, which are not supported (or maybe just not trivial) with pyyaml:

  • custom sort ordering of keys
  • comments (in our case used for blank lines)

Closes #290 (closed)

Edited by username-removed-972314

Merge request reports