From c97623a364d0055922cdb08eb3a97b3ee08b022a Mon Sep 17 00:00:00 2001 From: Kate Goldenring Date: Thu, 27 Mar 2025 12:22:45 -0700 Subject: [PATCH 1/3] Update Homebrew installation to use spinframework tap Signed-off-by: Kate Goldenring --- content/v1/install.md | 8 ++++---- content/v1/upgrade.md | 2 +- content/v2/install.md | 8 ++++---- content/v2/upgrade.md | 2 +- content/v3/install.md | 8 ++++---- content/v3/upgrade.md | 2 +- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/content/v1/install.md b/content/v1/install.md index 73b718ed..a4782907 100644 --- a/content/v1/install.md +++ b/content/v1/install.md @@ -34,7 +34,7 @@ Install the Fermyon tap, which Homebrew tracks, updates, and installs Spin from: ```bash -$ brew tap fermyon/tap +$ brew tap spinframework/tap ``` Install Spin: @@ -42,7 +42,7 @@ Install Spin: ```bash -$ brew install fermyon/tap/spin +$ brew install spinframework/tap/spin ``` > Note: `brew install spin` will **not** install the Spin framework. Spin is accessed from the `fermyon` tap, as shown above. @@ -96,7 +96,7 @@ Install the Fermyon tap, which Homebrew tracks, updates, and installs Spin from: ```bash -$ brew tap fermyon/tap +$ brew tap spinframework/tap ``` Install Spin: @@ -104,7 +104,7 @@ Install Spin: ```bash -$ brew install fermyon/tap/spin +$ brew install spinframework/tap/spin ``` > Note: `brew install spin` will **not** install the Spin framework. Spin is accessed from the `fermyon` tap, as shown above. diff --git a/content/v1/upgrade.md b/content/v1/upgrade.md index 26a1abe9..4c87557e 100644 --- a/content/v1/upgrade.md +++ b/content/v1/upgrade.md @@ -109,7 +109,7 @@ If you installed Spin using [Homebrew](https://brew.sh/) please use the followin ```bash $ brew update -$ brew upgrade fermyon/tap/spin +$ brew upgrade spinframework/tap/spin ``` ## Troubleshooting diff --git a/content/v2/install.md b/content/v2/install.md index d2c77e2d..65e5b1c7 100644 --- a/content/v2/install.md +++ b/content/v2/install.md @@ -33,7 +33,7 @@ Install the Fermyon tap, which Homebrew tracks, updates, and installs Spin from: ```bash -$ brew tap fermyon/tap +$ brew tap spinframework/tap ``` Install Spin: @@ -41,7 +41,7 @@ Install Spin: ```bash -$ brew install fermyon/tap/spin +$ brew install spinframework/tap/spin ``` > Note: `brew install spin` will **not** install Spin framework. Spin is accessed from the `fermyon` tap, as shown above. @@ -95,7 +95,7 @@ Install the Fermyon tap, which Homebrew tracks, updates, and installs Spin from: ```bash -$ brew tap fermyon/tap +$ brew tap spinframework/tap ``` Install Spin: @@ -103,7 +103,7 @@ Install Spin: ```bash -$ brew install fermyon/tap/spin +$ brew install spinframework/tap/spin ``` > Note: `brew install spin` will **not** install Spin framework. Spin is accessed from the `fermyon` tap, as shown above. diff --git a/content/v2/upgrade.md b/content/v2/upgrade.md index 94c5198e..99188fce 100644 --- a/content/v2/upgrade.md +++ b/content/v2/upgrade.md @@ -87,7 +87,7 @@ If you installed Spin using [Homebrew](https://brew.sh/) please use the followin ```bash $ brew update -$ brew upgrade fermyon/tap/spin +$ brew upgrade spinframework/tap/spin ``` ### Cargo diff --git a/content/v3/install.md b/content/v3/install.md index 83ccf77c..3ceed1ca 100644 --- a/content/v3/install.md +++ b/content/v3/install.md @@ -33,7 +33,7 @@ Install the Fermyon tap, which Homebrew tracks, updates, and installs Spin from: ```bash -$ brew tap fermyon/tap +$ brew tap spinframework/tap ``` Install Spin: @@ -41,7 +41,7 @@ Install Spin: ```bash -$ brew install fermyon/tap/spin +$ brew install spinframework/tap/spin ``` > Note: `brew install spin` will **not** install Spin framework. Spin is accessed from the `fermyon` tap, as shown above. @@ -95,7 +95,7 @@ Install the Fermyon tap, which Homebrew tracks, updates, and installs Spin from: ```bash -$ brew tap fermyon/tap +$ brew tap spinframework/tap ``` Install Spin: @@ -103,7 +103,7 @@ Install Spin: ```bash -$ brew install fermyon/tap/spin +$ brew install spinframework/tap/spin ``` > Note: `brew install spin` will **not** install Spin framework. Spin is accessed from the `fermyon` tap, as shown above. diff --git a/content/v3/upgrade.md b/content/v3/upgrade.md index 2dc55be6..87f93065 100644 --- a/content/v3/upgrade.md +++ b/content/v3/upgrade.md @@ -87,7 +87,7 @@ If you installed Spin using [Homebrew](https://brew.sh/) please use the followin ```bash $ brew update -$ brew upgrade fermyon/tap/spin +$ brew upgrade spinframework/tap/spin ``` ### Cargo From 065ad1a1b6eaa0bc9aee5d12e7d2662212a7a80b Mon Sep 17 00:00:00 2001 From: Kate Goldenring Date: Thu, 27 Mar 2025 12:28:54 -0700 Subject: [PATCH 2/3] Update cache directory information for Homebrew Signed-off-by: Kate Goldenring --- content/v3/cache.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/v3/cache.md b/content/v3/cache.md index 18c7ff56..2d219e2d 100644 --- a/content/v3/cache.md +++ b/content/v3/cache.md @@ -25,7 +25,7 @@ Spin uses similar layouts across Linux, MacOS and Windows platforms, but the pat | Name | Linux | MacOS | Windows | |---------------------|------------------------------------------|--------------------------------------|-------------------| -| `DATA_DIR` | `$XDG_DATA_HOME` or `$HOME/.local/share` | `$HOME/Library/Application Support`, or `$HOMEBREW_PREFIX/etc/fermyon-spin` if installed using Homebrew | `%LOCALAPPDATA%` or `%USERPROFILE%\AppData\Local` | +| `DATA_DIR` | `$XDG_DATA_HOME` or `$HOME/.local/share` | `$HOME/Library/Application Support`, or `$HOMEBREW_PREFIX/etc/fermyon-spin` for Spin =v3.2 if installed using Homebrew | `%LOCALAPPDATA%` or `%USERPROFILE%\AppData\Local` | | `CACHE_DIR` | `$XDG_CACHE_HOME` or `$HOME/.cache` | `$HOME/Library/Caches` | `%LOCALAPPDATA%` or `%USERPROFILE%\AppData\Local` | These directories are based on the [XDG specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html), and specifically on the cross-platform implementation in the [Rust `dirs` crate](https://docs.rs/dirs/latest/dirs/). @@ -38,7 +38,7 @@ These directories are based on the [XDG specification](https://specifications.fr Installed plugins are stored in `(DATA_DIR)/spin/plugins`. A snapshot of the plugins registry is also stored under that directory at `(DATA_DIR)/spin/plugins/.spin-plugins`; this is structured as a Git repository. -> Note: If you [install Spin](./install) using Homebrew, the plugins are stored at `$HOMEBREW_PREFIX/fermyon-spin/plugins`. +> Note: If you [install Spin](./install) using Homebrew, the plugins are stored at `$HOMEBREW_PREFIX/spinframework-spin/plugins` (previously `$HOMEBREW_PREFIX/fermyon-spin/plugins`). If you delete the plugins directory, you will no longer be able to run your plugins (until you reinstall them), but other Spin operations will be unaffected. @@ -46,7 +46,7 @@ If you delete the plugins directory, you will no longer be able to run your plug Installed templates are stored in `(DATA_DIR)/spin/templates`. -> Note: If you [install Spin](install) using Homebrew, the templates are stored at `$HOMEBREW_PREFIX/fermyon-spin/templates`. +> Note: If you [install Spin](install) using Homebrew, the templates are stored at at `$HOMEBREW_PREFIX/spinframework-spin/templates` (previously `$HOMEBREW_PREFIX/fermyon-spin/templates`). If you delete the templates directory, you will lose access to your installed templates (until you reinstall them), but other Spin operations will be unaffected. From 080016ebd64e17d83e1f876342d1160b8039f854 Mon Sep 17 00:00:00 2001 From: Kate Goldenring Date: Fri, 28 Mar 2025 11:22:02 -0700 Subject: [PATCH 3/3] Update tap name to spinframework Signed-off-by: Kate Goldenring --- content/v1/install.md | 4 ++-- content/v2/install.md | 4 ++-- content/v3/install.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/content/v1/install.md b/content/v1/install.md index a4782907..47ea24d9 100644 --- a/content/v1/install.md +++ b/content/v1/install.md @@ -45,7 +45,7 @@ Install Spin: $ brew install spinframework/tap/spin ``` -> Note: `brew install spin` will **not** install the Spin framework. Spin is accessed from the `fermyon` tap, as shown above. +> Note: `brew install spin` will **not** install the Spin framework. Spin is accessed from the `spinframework` tap, as shown above. **Installer script** @@ -107,7 +107,7 @@ Install Spin: $ brew install spinframework/tap/spin ``` -> Note: `brew install spin` will **not** install the Spin framework. Spin is accessed from the `fermyon` tap, as shown above. +> Note: `brew install spin` will **not** install the Spin framework. Spin is accessed from the `spinframework` tap, as shown above. **Installer script** diff --git a/content/v2/install.md b/content/v2/install.md index 65e5b1c7..271edd1c 100644 --- a/content/v2/install.md +++ b/content/v2/install.md @@ -44,7 +44,7 @@ Install Spin: $ brew install spinframework/tap/spin ``` -> Note: `brew install spin` will **not** install Spin framework. Spin is accessed from the `fermyon` tap, as shown above. +> Note: `brew install spin` will **not** install Spin framework. Spin is accessed from the `spinframework` tap, as shown above. **Installer script** @@ -106,7 +106,7 @@ Install Spin: $ brew install spinframework/tap/spin ``` -> Note: `brew install spin` will **not** install Spin framework. Spin is accessed from the `fermyon` tap, as shown above. +> Note: `brew install spin` will **not** install Spin framework. Spin is accessed from the `spinframework` tap, as shown above. **Installer script** diff --git a/content/v3/install.md b/content/v3/install.md index 3ceed1ca..bcf09c97 100644 --- a/content/v3/install.md +++ b/content/v3/install.md @@ -44,7 +44,7 @@ Install Spin: $ brew install spinframework/tap/spin ``` -> Note: `brew install spin` will **not** install Spin framework. Spin is accessed from the `fermyon` tap, as shown above. +> Note: `brew install spin` will **not** install Spin framework. Spin is accessed from the `spinframework` tap, as shown above. **Installer script** @@ -106,7 +106,7 @@ Install Spin: $ brew install spinframework/tap/spin ``` -> Note: `brew install spin` will **not** install Spin framework. Spin is accessed from the `fermyon` tap, as shown above. +> Note: `brew install spin` will **not** install Spin framework. Spin is accessed from the `spinframework` tap, as shown above. **Installer script**