Commit Graph

59 Commits

Author SHA1 Message Date
Felix Angelov bc4b824e3d fix(shorebird_cli): add missing executables to list (#105) 2023-03-21 15:40:30 -05:00
Felix Angelov c8b6ae3a99 fix(shorebird_cli): use flutter engine revision (#104) 2023-03-21 15:32:37 -05:00
Felix Angelov d40732869c chore(code_push_client): remove unused extension (#103) 2023-03-21 20:18:26 +00:00
Felix Angelov 795d3a74ec feat(shorebird_cli): improve error reporting (#102) 2023-03-21 15:08:18 -05:00
Felix Angelov d7622736af feat(shorebird_code_push_client): downloadEngine uses new endpoint (#101) 2023-03-21 12:38:02 -05:00
Felix Angelov 7200260f69 feat(shorebird_cli): add base_url to shorebird.yaml (#99) 2023-03-20 17:36:52 -05:00
Felix Angelov 201678320f feat(shorebird_cli): verify flutter engine revision (#96) 2023-03-20 14:08:44 -07:00
Felix Angelov f97076e784 docs(shorebird_cli): minor README enhancements 2023-03-20 15:08:25 -05:00
Felix Angelov 3cbdf51ed1 refactor(shorebird_cli): use project name as default app_id (#94) 2023-03-20 15:06:49 -05:00
Felix Angelov 43ba6903b4 chore: update base url to api.shorebird.dev (#93) 2023-03-20 14:33:54 -05:00
Felix Angelov 3eff8bac9f fix(shorebird_cli): create patch request (#91) 2023-03-17 17:12:44 -05:00
Eric Seidel a18d37b186 Separate patch download/install
This separates patch download from install, which makes it possible for us to later asynchronously download patches into the downloads spot and then install them on completion.

This also makes marking patches good/bad actually do something and tests that it does something.

We're still quite aways away from actually validating patches and having good/bad be meaningful (for example good/bad are never called by the engine code yet) but this is a step in that direction.

activate_latest_bootable_patch is also only used the "set bad" codepath, and isn't even used when installing patches (those still manually set the current slot).

This also makes it so the slot index is now optional, which makes slightly more sense?  And would be needed in the case where you have a single bad patch installed in slot 1, with slot 0 empty/invalid and you resolve to a "None" selected.

Lots more to do here, but this is a start.
2023-03-17 13:53:04 -07:00
Felix Angelov e91f2dbaac refactor(updater): conform to new backend interfaces (#90) 2023-03-17 13:00:35 -05:00
Felix Angelov 1cf8aa9662 refactor(code_push_protocol): add PatchArtifact (#89) 2023-03-17 12:13:14 -05:00
Felix Angelov 7314b953d4 refactor(shorebird_cli): adjust to support latest protocol (#87) 2023-03-17 10:31:09 -05:00
Felix Angelov b1d4eef15e refactor(code_push_protocol): adjust protocol to support backend schema (#86) 2023-03-17 10:21:10 -05:00
Felix Angelov 62bed70bf5 chore: rename product_id to app_id (#77) 2023-03-15 14:11:13 -05:00
Felix Angelov 5425f09d46 feat(shorebird_cli): shorebird apps delete (#76) 2023-03-15 12:58:59 -05:00
Felix Angelov ab3a7a8976 feat(shorebird_cli): shorebird apps create (#75) 2023-03-15 12:42:03 -05:00
Felix Angelov d9a4ce2ecd feat(shorebird_cli): shorebird init (#72) 2023-03-15 11:32:59 -05:00
Felix Angelov 74d56d0130 feat(shorebird_cli): various improvements (#71) 2023-03-14 17:10:21 -05:00
Eric Seidel b8aedb5cb3 docs: Add ability to mark patches good/bad (not used yet) (#70) 2023-03-14 14:41:28 -07:00
Felix Angelov a4bec065b9 fix(shorebird_cli): update shorebird apps list copy (#69) 2023-03-14 14:49:19 -05:00
Felix Angelov 0ccec63852 feat(shorebird_cli): shorebird apps list (#68) 2023-03-14 14:38:53 -05:00
Felix Angelov c20190600c refactor(shorebird_code_push_client): rename package and support getApps (#64) 2023-03-14 12:07:29 -05:00
Felix Angelov 25231b36c7 feat(shorebird_code_push_protocol): create package (#62) 2023-03-14 10:37:10 -05:00
Felix Angelov 498fc1b491 feat(shorebird_code_push_api_client): createApp, deleteApp, and close (#58) 2023-03-13 15:23:00 -05:00
Felix Angelov 1e825555f7 chore: update deploy stdout 2023-03-13 14:25:50 -05:00
Felix Angelov f9f9897b53 feat: upgrade shorebird tools to new API (#52) 2023-03-09 17:38:01 -06:00
Felix Angelov 95b1e69da8 chore: remove shorebird_code_push_api (#51) 2023-03-09 14:50:31 -06:00
Felix Angelov d90315edd7 refactor: upgrade to latest shorebird engine (#49) 2023-03-08 14:03:30 -06:00
Moksh Mahajan cfa89fa70d test(shorebird_code_push_api): add missing VersionStore test case (#46) 2023-03-08 11:15:44 -06:00
Felix Angelov 3b9a0583f0 feat(shorebird_cli): shorebird build pulls engine (#41) 2023-03-07 16:30:56 -06:00
Felix Angelov 29523a2b11 refactor(shorebird_code_push_api): use public shorebird engine (#38) 2023-03-07 13:52:51 -06:00
Felix Angelov 32a567d4be fix(shorebird_cli): adjust engine file permissions (#36) 2023-03-07 13:21:53 -06:00
Felix Angelov 42339aafb1 chore: update pubspec metadata (#33) 2023-03-07 10:39:57 -06:00
Felix Angelov ede5f51fa2 refactor(shorebird_cli): use Isolate.run (#32) 2023-03-07 10:36:10 -06:00
Felix Angelov 7e7e7ab7bd docs(shorebird_cli): README updates (#31) 2023-03-07 10:15:59 -06:00
Felix Angelov b928bea4e2 fix(shorebird_code_push_api): only require an api key to release (#30) 2023-03-07 09:52:57 -06:00
Felix Angelov 2fc2af6428 feat(shorebird_cli): add run command (#29) 2023-03-06 17:46:21 -06:00
Eric Seidel c13091b721 chore: Fix the rust build (#27) 2023-03-06 15:06:31 -08:00
Felix Angelov debc601066 feat(shorebird_cli): add build command (#26) 2023-03-06 16:41:23 -06:00
Felix Angelov 2bf8850fd5 feat(shorebird_cli): add logout command (#25) 2023-03-06 16:12:10 -06:00
Felix Angelov 806b891059 feat(shorebird_cli): add login command (#24) 2023-03-06 16:05:07 -06:00
Felix Angelov f113d9f025 feat: add shorebird_code_push_updater (#22) 2023-03-06 15:42:30 -06:00
Felix Angelov a8fcda875c feat(shorebird_code_push_api_client): downloadEngine + apiKey 2023-03-06 15:23:20 -06:00
Felix Angelov a06992f493 feat(shorebird_cli): add auth and session management 2023-03-06 15:23:20 -06:00
Felix Angelov f7501ce1f3 refactor(shorebird_code_push_api): stream engine bytes (#19) 2023-03-06 13:45:04 -06:00
Felix Angelov 196e4704ac fix(shorebird_code_push_api): secrets access (#18) 2023-03-06 12:01:06 -06:00
Felix Angelov d2a5cccd3a feat(shorebird_code_push_api): engine download endpoint and api key verification (#17) 2023-03-06 11:23:27 -06:00