diff options
author | Kegsay <kegan@matrix.org> | 2020-08-14 11:26:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-14 11:26:06 +0100 |
commit | 6820b3e024474e2c44f7a0632261d2dc86257d77 (patch) | |
tree | 857188d5e90b8eec9ba6b5bcb52a1fe6205a8c2c /are-we-synapse-yet.py | |
parent | c1f4faf308169d4008259772d04ce25444996f1e (diff) |
AWSY: new groups and add AS API section (#1270)
Really we should never have put the AS API bits under CS API to
begin with, as it is a completely different versioned spec: split
it out (which bumps the CS API % slightly).
Also, split out Device Keys into 2 extra sections: Device Key Backup
and Cross-signing Keys. The point of AWSY is for it to be easy for
anyone to see which features are implemented in Dendrite, and bundling
three distinct features under the umbrella of Device Keys was just
unclear.
Diffstat (limited to 'are-we-synapse-yet.py')
-rwxr-xr-x | are-we-synapse-yet.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/are-we-synapse-yet.py b/are-we-synapse-yet.py index 8cd7ec9f..3d21fa41 100755 --- a/are-we-synapse-yet.py +++ b/are-we-synapse-yet.py @@ -34,6 +34,7 @@ import sys test_mappings = { "nsp": "Non-Spec API", "unk": "Unknown API (no group specified)", + "app": "Application Services API", "f": "Federation", # flag to mark test involves federation "federation_apis": { @@ -63,6 +64,8 @@ test_mappings = { "pro": "Profile", "dev": "Devices", "dvk": "Device Keys", + "dkb": "Device Key Backup", + "xsk": "Cross-signing Keys", "pre": "Presence", "crm": "Create Room", "syn": "Sync API", @@ -100,7 +103,6 @@ test_mappings = { "adm": "Server Admin API", "ign": "Ignore Users", "udr": "User Directory APIs", - "app": "Application Services API", "jso": "Enforced canonical JSON", }, } @@ -216,6 +218,9 @@ def main(results_tap_path, verbose): # test_name: OK # } }, + "appservice": { + "app": {}, + }, "nonspec": { "nsp": {}, "unk": {} @@ -232,6 +237,8 @@ def main(results_tap_path, verbose): summary["nonspec"]["unk"][name] = test_result["ok"] if group_id == "nsp": summary["nonspec"]["nsp"][name] = test_result["ok"] + elif group_id == "app": + summary["appservice"]["app"][name] = test_result["ok"] elif group_id in test_mappings["federation_apis"]: group = summary["federation"].get(group_id, {}) group[name] = test_result["ok"] @@ -247,6 +254,7 @@ def main(results_tap_path, verbose): print_stats("Non-Spec APIs", summary["nonspec"], test_mappings, verbose) print_stats("Client-Server APIs", summary["client"], test_mappings["client_apis"], verbose) print_stats("Federation APIs", summary["federation"], test_mappings["federation_apis"], verbose) + print_stats("Application Services APIs", summary["appservice"], test_mappings, verbose) |