Commit Graph

110 Commits

Author SHA1 Message Date
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 2badac0d67 docs: minor update to GLOSSARY.md 2023-03-17 17:48:37 -05:00
Felix Angelov fe085530d6 refactor(updater): create PatchCheckRequest struct (#92) 2023-03-17 17:44:27 -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
Eric Seidel efd1746257 Update TRUSTED_TESTERS.md
Add more prose for Trusted Testers
2023-03-17 12:01:58 -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 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