sort the list of bugs in order to preserve the position of the entries in the JSON file

Summary: public
The main objective here is to reduce the list of changes as much as possible to that the change set in the JSON base case only relates to the changes in Infer

Reviewed By: sblackshear

Differential Revision: D2661085

fb-gh-sync-id: 113a695
master
jrm 9 years ago committed by facebook-github-bot-1
parent 631f2a9882
commit 12e37c97fc

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -64,7 +64,7 @@ def load_report(filename):
def save_report(reports, filename): def save_report(reports, filename):
with open(filename, 'w') as file_out: with open(filename, 'w') as file_out:
filtered = [] filtered = []
for report in reports: for report in sorted(reports):
r = {} r = {}
for key in REPORT_FIELDS: for key in REPORT_FIELDS:
if key in report: if key in report:

Loading…
Cancel
Save