Before and after each SQ upgrade, you export your Quality Profiles and you want to compare their content to see what changed by doing this upgrade.
Today the content of a Quality Profile backup file is not formatted (for this we can arrange) and its content is not sorted at all.
By sorting the content of this file, it will become very easy to compare 2 versions of the file and detect case like : rule duplications (not possible but sometimes this happen), deletion of rules after an upgrade, ...
Currently there is a message displayed during the loading of a QP file but once it's done this kind of information is lost. You have no choice than relying on the content of the files.
Sort the backup file by the following fields:
- <repositoryKey> ASC
- <key> ASC