Skip to content

Commit beac43f

Browse files
committed
Updates from review
Signed-off-by: itowlson <[email protected]>
1 parent 3d06a63 commit beac43f

File tree

4 files changed

+16
-5
lines changed

4 files changed

+16
-5
lines changed

content/cloud/faq.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,11 @@ Fermyon Cloud supports Spin CLI v0.6.0 or newer. That being said, there are cert
8484
| [Serverless AI](/spin/serverless-ai-api-guide) | Supported |
8585
| [Service Chaining](/spin/http-outbound#local-service-chaining) | Not supported |
8686
| [MySQL](/spin/rdbms-storage#using-mysql-and-postgresql-from-applications) | Supported |
87-
| [PostgreSQL](/spin/rdbms-storage#using-mysql-and-postgresql-from-applications) | Supported |
87+
| [PostgreSQL](/spin/rdbms-storage#using-mysql-and-postgresql-from-applications) | Spin 2 interface is supported; Spin 3 interface is not |
8888
| [Outbound Redis](/spin/rust-components.md#storing-data-in-redis-from-rust-components) | Supported |
89+
| [`wasi-cloud-core`](https://github.com/WebAssembly/wasi-cloud-core) | Not supported |
90+
| **Features** |
91+
| [Component dependencies](/spin/v3/writing-apps.md#using-component-dependencies) | Not supported |
8992
| **Extensibility** |
9093
| [Custom Triggers](/spin/extending-and-embedding) | Not supported |
9194

content/spin/v3/contributing-spin.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ date = "2023-11-04T00:00:01Z"
55
url = "https://github.com/fermyon/developer/blob/main/content/spin/v3/contributing-spin.md"
66

77
---
8+
- [Developer Community Calls](#developer-community-calls)
9+
- [Code of Conduct](#code-of-conduct)
810
- [Making Code Contributions to Spin](#making-code-contributions-to-spin)
911
- [Before You Commit](#before-you-commit)
1012
- [Committing and Pushing Your Changes](#committing-and-pushing-your-changes)
@@ -31,8 +33,8 @@ The [Spin Project Meeting Agenda is a public document](https://docs.google.com/d
3133

3234
## Code of Conduct
3335

34-
First, any contribution and interaction on any Fermyon project MUST follow our
35-
[code of conduct](https://www.fermyon.com/code-of-conduct). Thank you for being
36+
First, any contribution and interaction on the Spin project MUST follow our
37+
[code of conduct](https://github.com/fermyon/spin/blob/main/CODE_OF_CONDUCT.md). Thank you for being
3638
part of an inclusive and open community!
3739

3840
If you plan on contributing anything complex, please go through the issue and PR

content/spin/v3/migration-v2-v3.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,5 @@ The following change will not affect most application authors, but may affect yo
3434
* If an outbound HTTP request is denied, the `HTTP-request-denied` error previously occurred immediately on the
3535
initial `wasi:http/outgoing-handler#handle` call. It now occurs when calling `get` on the `future-incoming-response`
3636
returned from the `handle` call.
37+
38+
If you're affected by these or other changes and you're looking for help, please reach out on the [Fermyon Discord](https://discord.gg/AAFNfS7NGf) for support.

content/spin/v3/writing-apps.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,8 @@ Few of us write applications without relying on libraries. Traditionally, those
439439
440440
To use composition through Spin, your component must import a [WIT (Wasm Interface Type) interface](https://component-model.bytecodealliance.org/design/wit.html), and the dependency must export the same WIT interface. The details of working with WIT interfaces is language-specific, and is beyond the scope of the Spin documentation. You can learn more from the [language guides in the Component Model book](https://component-model.bytecodealliance.org/language-support.html). This section focuses on describing the dependency composition support in Spin.
441441

442+
> Component dependencies are not currently supported on Fermyon Cloud.
443+
442444
### Declaring Component Dependencies
443445

444446
To declare a component dependency, create a `[component.(name).dependencies]` table in your Spin manifest, and list all the WIT interfaces you import (other than the ones that Spin itself satisfies), together with the packages that you would like to use to satisfy those imports.
@@ -510,14 +512,16 @@ and Spin will map all of your `security:http` imports to the matching exports fr
510512

511513
By default, dependencies do not have access to Spin resources that require permission to be given in the manifest - network hosts, key-value stores, SQLite databases, variables, etc.
512514

513-
If you depend on a component which requires such access, and you trust all the components that you depend on, you can grant them access to the same resources that the 'main' component has by setting the `dependencies_inherit_configuration` flag on the main component:
515+
If a component has a dependency which requires resource access, you can grant it by setting the `dependencies_inherit_configuration` flag in the Spin component manifest:
514516

515517
```toml
516518
[component.my-app]
517519
dependencies_inherit_configuration = true
518520
```
519521

520-
> Spin does not currently support inheritance on a component-by-component basis. If the flag is set, _all_ the dependencies will act with the permissions of the main component.
522+
This grants _all_ dependencies access to _all_ resources listed in the Spin component manifest. You should therefore set this only if you trust _all_ dependencies.
523+
524+
> Spin does not currently support inheritance on a dependency-by-dependency or feature-by-feature basis.
521525
522526
## Next Steps
523527

0 commit comments

Comments
 (0)