[QGIS-Developer] QGIS project maintainability, forms and styles, xml verbosity

Greg Troxel gdt at lexort.com
Tue Aug 20 04:28:20 PDT 2024


John Stevenson - BGS via QGIS-Developer <qgis-developer at lists.osgeo.org>
writes:

> The code below uses `canonicalize` to fix the ordering issue, and now
> we can see the actual changes between files in our GitLab repo.

I have run into similar issues with another project that outputs to
json.

I think it's a bug for the same semantic value to have a varying text
representation, and (not relevant here I think) that it's a bug for the
output not to have nice whitespace formatting.  It should be diffable
and nerd readable (even if not "human readable").

I would therefore be in favor of qgis itself sorting things into some
canonical order.



More information about the QGIS-Developer mailing list