@@ -0,0 +1,921 @@
+%22%22%22Compares statuses of packages across two JSON files%22%22%22%0A%0Aimport sys%0Aimport json%0A%0Aimport blessings%0A%0Aterm = blessings.Terminal()%0A%0A_, first_filename, second_filename = sys.argv%0A%0Awith open(first_filename) as f:%0A    first_data = json.load(f)%0A%0Awith open(second_filename) as f:%0A    second_data = json.load(f)%0A%0Aall_keys = set(first_data).union(second_data)%0A%0Astatus_changes = %7B%7D%0A%0Afor key in sorted(all_keys):%0A    first = first_data.get(key, %7B%7D)%0A    second = second_data.get(key, %7B%7D)%0A%0A    first_status = first.get('status', 'missing')%0A    second_status = second.get('status', 'missing')%0A%0A    if first.get('status') != second.get('status'):%0A        change = first_status, second_status%0A        status_changes.setdefault(change, %5B%5D).append(key)%0A%0Afor change, packages in sorted(status_changes.items()):%0A    print(term.blue('%7B%7D -%3E %7B%7D (%7B%7D)'.format(*change, len(packages))))%0A    for package in packages:%0A        print('   ', package)%0A%0A

Add scripts/jsondiff.py