Commit Graph

140 Commits

Author SHA1 Message Date
Eric Seidel 1ed84ec089 Update bootstrap.sh
Add a comment about paths.
2023-03-22 09:52:39 -07:00
Alexandre Ardhuin 54f88387e6 chore: typos in TRUSTED_TESTERS.md (#137) 2023-03-22 08:54:22 -05:00
Felix Angelov 94c356c212 chore(build_engine): rename host_release_arm64 to host_release (#136) 2023-03-21 22:51:02 -05:00
Eric Seidel bb44c9a50b Update TRUSTED_TESTERS.md
Add note about arm64 mac requirement.
2023-03-21 20:23:41 -07:00
Eric Seidel 184205a18d Update TRUSTED_TESTERS.md
Add notes on `shorebird apps create`
2023-03-21 20:19:05 -07:00
Eric Seidel 2f9b58da10 Update TRUSTED_TESTERS.md
Add example `shorebird run` output.
2023-03-21 20:17:09 -07:00
Eric Seidel 092dd2084e Update TRUSTED_TESTERS.md
Document location of AndroidManifest.xml
2023-03-21 20:05:36 -07:00
Eric Seidel f36ccf017d Update TRUSTED_TESTERS.md
Update `shorebird init` output.
2023-03-21 19:55:29 -07:00
Felix Angelov 1f3c778aec fix(shorebird_cli): shorebird init always prompts for display name (#135) 2023-03-21 21:51:59 -05:00
Eric Seidel f6f2541ece Update TRUSTED_TESTERS.md
Fix typo.
2023-03-21 19:37:53 -07:00
Eric Seidel f30a4ff260 Update TRUSTED_TESTERS.md
Fix list nesting.
2023-03-21 19:32:52 -07:00
Eric Seidel ac32b6b2cd Update TRUSTED_TESTERS.md 2023-03-21 19:29:46 -07:00
Felix Angelov c40a227c2f feat(shorebird_cli): app creation enhancements (#134) 2023-03-21 21:14:10 -05:00
Eric Seidel 3aa72edeac Update TRUSTED_TESTERS.md
Add instructions to login first.
2023-03-21 19:04:58 -07:00
Eric Seidel d7be515729 Update TRUSTED_TESTERS.md
Add example output from shorebird init.
2023-03-21 18:42:51 -07:00
Eric Seidel 91ddf2f56e Update TRUSTED_TESTERS.md 2023-03-21 18:40:36 -07:00
Eric Seidel b42cc7eef0 Add uninstall instructions to TRUSTED_TESTERS.md 2023-03-21 18:38:02 -07:00
Eric Seidel 20ac588e2a Update TRUSTED_TESTERS.md
Link to issues.
2023-03-21 18:32:05 -07:00
Eric Seidel 43ffc98842 Update TRUSTED_TESTERS.md 2023-03-21 18:15:05 -07:00
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
Eric Seidel e36ae596a3 Update TRUSTED_TESTERS.md
Add more trusted tester docs.
2023-03-21 12:51:00 -07:00
Eric Seidel 337d8c4ceb fix: don't crash repeatedly on bad patches
Combined with the fix in the engine:
https://github.com/shorebirdtech/engine/commit/4288ae1125e38a772c6cc8a918ed020c276534a4
This makes it so the updater no longer crashes repeatedly with bad patches.  Previously
1. the engine was not successfully reporting a patch bad before crashing (now it does just before crashing).
2. With that fixed, the patch was getting marked bad, but because we were sending the "current" patch to the server, the server would tell us to download a new one every time (which we would not check against our bad patches) and we'd repeatedly boot of a "new" known-bad patch.  This is now fixed to both send the latest_installed_patch to the server (as patch_version) as well as refusing to install known bad patches.
3. Fixed the cache to destroy itself on version change (which I expect could hit us when an app upgrades its cache might not get cleared).
4. Also fixed tests being flakey because TempDir cleans up after itself when it goes out of scope (thus needs to be held at the test-lifetime scope rather than inside init_for_testing).
2023-03-21 10:46:07 -07:00
Felix Angelov d7622736af feat(shorebird_code_push_client): downloadEngine uses new endpoint (#101) 2023-03-21 12:38:02 -05:00
Felix Angelov 6afd80e905 chore: adjust build_engine script for stable (#100) 2023-03-21 11:18:53 -05:00
Felix Angelov 7200260f69 feat(shorebird_cli): add base_url to shorebird.yaml (#99) 2023-03-20 17:36:52 -05:00
Eric Seidel 645ee23ec6 Expose "report_launch_failure" so engine can call it. (#97) 2023-03-20 17:32:03 -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 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