Comment 2 for bug 1842358

Revision history for this message
Andrea Ieri (aieri) wrote :

I do agree that many cases can already be handled by doing simple text comparisons, but I still think this would be worthwhile because whereas a diff tool can only compare the syntax of two yaml files, only juju can compare semantics.

Some useful benefits of diff-bundle, off the top of my head:
* ordering doesn't matter
* yaml anchors
* file includes

Besides, if we determined that running vimdiff or meld on bundle files is already enough, why have `juju diff-bundle` in the first place? After all, any model can be exported to a yaml file... ;)