-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spin core refactor #763
Spin core refactor #763
Commits on Sep 29, 2022
-
Replace log with tracing in spin-redis
Signed-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0de1d49 - Browse repository at this point
Copy the full SHA 0de1d49View commit details -
Copy spin-core and spin-app crates from prototype
Signed-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 216a5f7 - Browse repository at this point
Copy the full SHA 216a5f7View commit details -
This will replace spin-trigger in a future commit. Signed-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fa434a9 - Browse repository at this point
Copy the full SHA fa434a9View commit details -
Migrate spin-config to new core
Signed-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2be489f - Browse repository at this point
Copy the full SHA 2be489fView commit details -
Migrate outbound-http to new core
Signed-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ad71a33 - Browse repository at this point
Copy the full SHA ad71a33View commit details -
Migrate outbound-pg to new core
Signed-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 81a3629 - Browse repository at this point
Copy the full SHA 81a3629View commit details -
Migrate outbound-redis to new core
Signed-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a9de5f2 - Browse repository at this point
Copy the full SHA a9de5f2View commit details -
Signed-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 548efa3 - Browse repository at this point
Copy the full SHA 548efa3View commit details -
Migrate spin-redis to new core
Signed-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 24eebf4 - Browse repository at this point
Copy the full SHA 24eebf4View commit details -
Migrate spin-timer example to new core
Signed-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d3e48dd - Browse repository at this point
Copy the full SHA d3e48ddView commit details -
Rename spin-trigger-new crate to spin-trigger
Signed-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6f4e0e6 - Browse repository at this point
Copy the full SHA 6f4e0e6View commit details -
Remove 'allow_transient_write' from spin-loader
This functionality is now handled in spin-core by mounting files with write capabilites disabled. Various tidying in the vicinity of removals. Signed-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a41c40c - Browse repository at this point
Copy the full SHA a41c40cView commit details -
Update
spin up
to use new spin-trigger semanticsSigned-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eea88f9 - Browse repository at this point
Copy the full SHA eea88f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for db22636 - Browse repository at this point
Copy the full SHA db22636View commit details -
Canonicalize file paths in spin-trigger
File URIs are supposed to be absolute. Signed-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for be8d94d - Browse repository at this point
Copy the full SHA be8d94dView commit details -
Print failed response body in integration tests
Signed-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b0edd46 - Browse repository at this point
Copy the full SHA b0edd46View commit details -
Improve error reporting in spin_app::Error
The `:#` formatting modifier causes anyhow::Error to print the full list of causes / contexts. Signed-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f9a8219 - Browse repository at this point
Copy the full SHA f9a8219View commit details -
Improve TriggerLoader::load_module error
Signed-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b1873d4 - Browse repository at this point
Copy the full SHA b1873d4View commit details -
Use 'url' crate to manage file URLs
Treating them as strings works fine for *nix OSes, but breaks for Windows. Also, standardize on "URL" vs "URI" in spin-trigger crate. Signed-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a9f7f5f - Browse repository at this point
Copy the full SHA a9f7f5fView commit details -
Replace OwnedApp Deref with explicit 'borrowed' method
The Deref impl used a scary unsafe lifetype cast which was hard to reason about and unsound for use within the spin-app crate. Signed-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ce6f0ef - Browse repository at this point
Copy the full SHA ce6f0efView commit details -
ValuesMapBuilder::build is updated to have the more idiomatic behavior of consuming the builder, while 'take' adopts 'build's old behavor of resetting the builder to empty. Also add doc comments to all ValuesMapBuilder methods. Signed-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 85bab18 - Browse repository at this point
Copy the full SHA 85bab18View commit details -
Add documentation to spin-core crate
Signed-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b21f185 - Browse repository at this point
Copy the full SHA b21f185View commit details -
Signed-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ddd85b7 - Browse repository at this point
Copy the full SHA ddd85b7View commit details -
Remove '--include-ignored' from Makefile
It isn't clear why this was included in the first place and it doesn't appear to be used now. Signed-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c1f831d - Browse repository at this point
Copy the full SHA c1f831dView commit details -
Deduplicate App::get_metadata, AppComponent::get_metadata
Also add AppComponent::require_metadata for interface consistency. Signed-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6934177 - Browse repository at this point
Copy the full SHA 6934177View commit details -
Deduplicate App::get_metadata, AppComponent::get_metadata
Also add AppComponent::require_metadata for interface consistency. Signed-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 47a89c7 - Browse repository at this point
Copy the full SHA 47a89c7View commit details -
Signed-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4ee7dc7 - Browse repository at this point
Copy the full SHA 4ee7dc7View commit details -
The new trigger code expects the working directory to be absolute, which is the case for tempdirs but not necessarily `--temp`. Fix by `.canonicalize()`ing the work dir. Signed-off-by: Lann Martin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c12caa5 - Browse repository at this point
Copy the full SHA c12caa5View commit details