opsgenie / opsgenie-configuration-backup

Backup your OpsGenie account's configuration and restore it later
https://opsgenie.com
Apache License 2.0
28 stars 26 forks source link

Schedule time restrictions have unstable list order #43

Closed iainelder closed 4 years ago

iainelder commented 4 years ago

This appears related to another ordering bug that was discussed in #41.

The list of time restrictions in the user notification policies still appears to be changing the order of its elements when in reality nothing in the configuration has changed.

This makes the git diffs less useful for real changes because each run of the backup tool generates this noise even when there are no changes.

In this example, the days of the week of the two rotations appear to change order even though nothing in the configuration actually changed:

fake-diff

iainelder commented 4 years ago

Discussed with Opsgenie support. It has been raised with the development team.

The internal reference number is OGS-1509.

abhisgup-atl commented 4 years ago

Hi,

We have updated our backup tool to make the restrictions order stable across runs. It should be fixed right now. I'm closing this issue but feel free to open it if there is a problem.

https://github.com/opsgenie/opsgenie-configuration-backup/releases/tag/backup-v0.23.4 has the fix.