fix(packaging): declare sleep diary schemas
This commit is contained in:
parent
1096b13939
commit
53f15e1354
2 changed files with 6 additions and 4 deletions
|
|
@ -66,11 +66,12 @@ class DeploymentToolsTest(unittest.TestCase):
|
||||||
self.assertEqual(result.returncode, 0, result.stderr)
|
self.assertEqual(result.returncode, 0, result.stderr)
|
||||||
inventory = json.loads((output / "candidate-inventory.json").read_text())
|
inventory = json.loads((output / "candidate-inventory.json").read_text())
|
||||||
self.assertEqual(inventory["product_version"], "0.1.4")
|
self.assertEqual(inventory["product_version"], "0.1.4")
|
||||||
self.assertEqual(inventory["desktop_schema"], 28)
|
self.assertEqual(inventory["desktop_schema"], 29)
|
||||||
self.assertEqual(inventory["android_schema"], 25)
|
self.assertEqual(inventory["android_schema"], 26)
|
||||||
self.assertIn("session-preparations-v2", inventory["protocols"])
|
self.assertIn("session-preparations-v2", inventory["protocols"])
|
||||||
self.assertIn("programs-v1", inventory["protocols"])
|
self.assertIn("programs-v1", inventory["protocols"])
|
||||||
self.assertIn("program-executions-v1", inventory["protocols"])
|
self.assertIn("program-executions-v1", inventory["protocols"])
|
||||||
|
self.assertIn("sleep-diary-v1", inventory["protocols"])
|
||||||
self.assertTrue((output / "bin/trainlog").is_file())
|
self.assertTrue((output / "bin/trainlog").is_file())
|
||||||
self.assertTrue((output / "bin/trainlog-sync-once").is_file())
|
self.assertTrue((output / "bin/trainlog-sync-once").is_file())
|
||||||
self.assertTrue((output / "bin/trainlog-syncd").is_file())
|
self.assertTrue((output / "bin/trainlog-syncd").is_file())
|
||||||
|
|
|
||||||
|
|
@ -105,8 +105,8 @@ def main() -> int:
|
||||||
["git", "rev-parse", "HEAD"], cwd=ROOT, text=True
|
["git", "rev-parse", "HEAD"], cwd=ROOT, text=True
|
||||||
).strip(),
|
).strip(),
|
||||||
"product_version": "0.1.4",
|
"product_version": "0.1.4",
|
||||||
"desktop_schema": 28,
|
"desktop_schema": 29,
|
||||||
"android_schema": 25,
|
"android_schema": 26,
|
||||||
"protocols": [
|
"protocols": [
|
||||||
"mobile-export-v3",
|
"mobile-export-v3",
|
||||||
"mobile-history-v4",
|
"mobile-history-v4",
|
||||||
|
|
@ -119,6 +119,7 @@ def main() -> int:
|
||||||
"ai-session-drafts-v2",
|
"ai-session-drafts-v2",
|
||||||
"programs-v1",
|
"programs-v1",
|
||||||
"program-executions-v1",
|
"program-executions-v1",
|
||||||
|
"sleep-diary-v1",
|
||||||
],
|
],
|
||||||
"entry_points": [
|
"entry_points": [
|
||||||
"bin/trainlog",
|
"bin/trainlog",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue