Simplify Remote setup and prepare experimental 0.1.1 release
This commit is contained in:
1 parent
346ec77c75
commit
6d043ee01f
14 files changed
+684
-640
No files matched your search
+4
-3
@@ -38,7 +38,7 @@ def check_metadata(repoRoot):
|
||||
require(item["manifest"] == f"{name}/tentacle.toml", "Manifest path must match ID")
|
||||
manifest = read_toml(repoRoot / item["manifest"])
|
||||
require(manifest["format-version"] == 1 and manifest["id"] == name
|
||||
and manifest["name"] and manifest["version"] == ("0.1.2" if name == "wormhole" else "0.1.0"), "Invalid Tentacle metadata")
|
||||
and manifest["name"] and manifest["version"] == ({"wormhole":"0.1.2", "remote":"0.1.1"}.get(name, "0.1.0")), "Invalid Tentacle metadata")
|
||||
expectedGrants = ["presentation"] + (["interaction"] if name in ("wormhole", "battery-status") else [])
|
||||
if name == "remote":
|
||||
expectedGrants = ["presentation", "interaction", "output-observe", "remote-present", "keyboard-capture",
|
||||
@@ -193,8 +193,9 @@ def check_remote(repoRoot):
|
||||
timeout=60, check=True)
|
||||
value = json.loads(result.stdout)
|
||||
require(value.get("next") == "remote-select"
|
||||
and "Experimental speech, keyboard, clipboard and Braille; live verification is pending" in value["form"]["title"],
|
||||
"Remote did not disclose its experimental scope")
|
||||
and value["form"]["title"] == "Remote"
|
||||
and any(item.get("id") == "channel-key" and item.get("secret") for item in value["form"]["elements"]),
|
||||
"Remote did not present its compact connection form with a masked key")
|
||||
subprocess.run([
|
||||
"go", "test", "./internal/app", "-run", "^(TestRemoteConnectionCommand|TestRemoteSpeech|TestRemoteDocument|TestRemoteReadAll|TestRemoteCurrentLine|TestRemoteNative|TestRemoteReview|TestRemoteFlatReview|TestRemoteWhereAmI|TestRemoteKeyboard)",
|
||||
"-count=1", "-timeout=90s",
|
||||
|
||||
Reference in new issue
Block a user