The am-config-upgrader tool writes JSON arrays to a single line without any formatting. Formatting large JSON arrays in this way makes it difficult to see what has changed when reviewing changes.
This issue affects FRaaS as we have consciously formatted large JSON arrays so that each entry is placed on its own line with correct indentation.
- Obtain a directory of am config which at least one JSON array with lots of values
- Format the large JSON array so that each entry appears on its own line
- Run the am-config-upgrader against this directory of config
- Observe that JSON array formatting has been lost
Manually fix formatting before merging - Not much fun.