Mirrors for Stanza can come in two forms:
- Hosted websites
- Local filesystem mirrors
The only requirements for either are creating a directory layout that
mirrors that of the GitHub releases, such as in the visualization below.
It is suggested to use an automated synchronization process to manage
keeping ths up to date, including rewriting the symlink for the latest
to the highest version number.
➜ stanza_mirror tree . ├── download │ └── v1.2.12 │ ├── stanza-plugins.tar.gz │ ├── stanza-plugins.zip │ ├── stanza_darwin_amd64 │ ├── stanza_linux_amd64 │ ├── stanza_linux_arm64 │ ├── stanza_windows_amd64 │ ├── unix-install.sh │ ├── version.json │ └── windows-install.ps1 └── latest └── download ├── stanza-plugins.tar.gz ├── stanza-plugins.zip ├── stanza_darwin_amd64 ├── stanza_linux_amd64 ├── stanza_linux_arm64 ├── stanza_windows_amd64 ├── unix-install.sh ├── version.json └── windows-install.ps1
# Latest
./unix-install -l http://dl.example.com/some/path
# Specific Version 1.2.12
./unix-install -l http://dl.example.com/some/path -v 1.2.12
./unix-install -l file:///Users/username/Downloads/stanza_local
# Specific Version 1.2.12
./unix-install -l file:///Users/username/Downloads/stanza_local -v 1.2.12
For further usage information, and other supported flags, please see the Quick Start Guide