Commit Graph

102 Commits

Author SHA1 Message Date
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 894559d8b5 docs: add GLOSSARY.md (#88) 2023-03-17 12:07:47 -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 eb3c52360c chore(updater): dart format (#85) 2023-03-17 10:08:34 -05:00
Alexandre Ardhuin 8a414e9936 chore: fix typo in TRUSTED_TESTERS.md (#84) 2023-03-17 02:56:14 -07:00
Eric Seidel 534f2b6376 feat: Add two more rust tests (#82) 2023-03-16 11:18:30 -07:00
Eric Seidel 7746964817 feat: Start adding rust tests. (#81) 2023-03-16 12:01:44 -05:00
Eric Seidel db1e52d729 Update FAQ.md
Add an answer to "how do I use shorebird"
2023-03-16 08:04:26 -07:00
Eric Seidel fba3ee2b27 Make a start on Trusted Tester documentation
Lots more to write.
2023-03-15 15:09:45 -07:00
Eric Seidel 6575d524b5 Update NOTES_ON_CODEPUSH.md
Jotted down some (incomplete) notes on code push for Felix.
2023-03-15 14:34:31 -07:00
Felix Angelov cb3d54cb6c build: build_engine script improvements (#79) 2023-03-15 15:20:10 -05:00
Felix Angelov 180e959ec1 refactor(updater): remove client_id (#78) 2023-03-15 14:18:29 -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
Eric Seidel ea132796f5 Remove duplicate imports 2023-03-15 09:49:07 -07:00
Eric Seidel d880898b85 refactor: Use methods instead of free functions with UpdateState (#74) 2023-03-15 09:45:18 -07:00
Felix Angelov d9a4ce2ecd feat(shorebird_cli): shorebird init (#72) 2023-03-15 11:32:59 -05:00
Eric Seidel f2d70032e6 chore: fix TODO about libapp.txt (#73) 2023-03-15 11:29:24 -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
Eric Seidel b87f83f4c5 docs: Document intended updater arch (#63) 2023-03-14 12:43:38 -07:00
Felix Angelov 0ccec63852 feat(shorebird_cli): shorebird apps list (#68) 2023-03-14 14:38:53 -05:00
Eric Seidel b6842bc88c Update FAQ.md
Update with latest demos.
2023-03-14 11:20:48 -07: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 3310aa1161 ci: fix change detection 2023-03-14 09:55:23 -05:00
Felix Angelov 6f2919f972 chore: add .shorebird to .gitignore 2023-03-13 15:28:07 -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
Eric Seidel e13e4cc6ea Move current_platform and current_arch to config.rs 2023-03-13 09:50:53 -07:00
Eric Seidel 40a08885c8 Log the outbound json 2023-03-13 09:38:31 -07:00
Eric Seidel 5ce81e3580 Remove +1 from version name 2023-03-13 09:36:08 -07:00
Eric Seidel 07ea9b21c6 Remove +1 from version name 2023-03-13 09:34:54 -07:00
Eric Seidel f6a27229c6 Log network responses in rust 2023-03-13 09:24:04 -07:00
Felix Angelov 6eba1b18d0 chore(example): update product id 2023-03-13 11:04:23 -05:00
Eric Seidel d1c3a1a24f Add network permissions to example/counter 2023-03-13 08:59:20 -07:00
Eric Seidel 10f9e4ff6f feature: Teach the rust updater library about shorebird.yaml (#54) 2023-03-10 23:49:19 -06:00
Eric Seidel f547078517 Update FAQ.md 2023-03-10 14:35:05 -08:00
Felix Angelov e4aa6dc033 chore: resolve analysis warnings (#53) 2023-03-09 15:51:27 -08: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
Eric Seidel c59205d079 Make updater library thread safe
This was needed so that it could be called from Dart as well as flutter_main/C++.

It turns out flutter_main does not run on the "ui thread", so when Dart was calling
into the updater it would panic due to thinking the updater (which was using a thread local) was not yet initialized.

Also added the log-panics crate on Android so that panics appear in adb logcat.
2023-03-08 13:03:13 -08:00
Felix Angelov d90315edd7 refactor: upgrade to latest shorebird engine (#49) 2023-03-08 14:03:30 -06:00
Felix Angelov 92e471cf4a chore(scripts): add build_engine script (#48) 2023-03-08 11:38:30 -08:00
Moksh Mahajan cfa89fa70d test(shorebird_code_push_api): add missing VersionStore test case (#46) 2023-03-08 11:15:44 -06:00
Eric Seidel dcf5f080ad refactor: split updater library into layers (#47) 2023-03-08 11:11:10 -06:00