feat(install): add curl install script with docs and tests - #1246
Merged
Merged
Conversation
Signed-off-by: Samuel K <skevetter@pm.me>
Signed-off-by: Samuel K <skevetter@pm.me>
Signed-off-by: Samuel K <skevetter@pm.me>
Signed-off-by: Samuel K <skevetter@pm.me>
Signed-off-by: Samuel K <skevetter@pm.me>
|
Warning Review limit reachedNext included review available in 35 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (5)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
✅ Deploy Preview for images-devsy-sh canceled.
|
✅ Deploy Preview for devsydev canceled.
|
Signed-off-by: Samuel K <skevetter@pm.me>
Signed-off-by: Samuel K <skevetter@pm.me>
Signed-off-by: Samuel K <skevetter@pm.me>
skevetter
marked this pull request as ready for review
September 19, 2026 23:12
|
Tick the box to add this pull request to the merge queue (same as
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a POSIX
shinstall script so the Devsy CLI installs with one command:curl -L https://devsy.sh/install.sh | shThe script lives at
sites/docs-devsy-sh/public/install.sh, so the docs site's Netlify static export serves it athttps://devsy.sh/install.shonce deployed.Behavior
linux/darwin) and architecture (amd64/arm64) fromuname; fails clearly on anything else, pointing Windows users at the PowerShell instructions in the docs.devsy-<os>-<arch>binary from the latest GitHub release, or a pinned release withDEVSY_VERSION=v1.19.0.checksums.txtwhen one is published; skips with a note when it is not (current releases publish no checksums, matching the existing manual install commands)./usr/local/bin(viasudowhen needed), falling back to~/.local/binwith a PATH warning when neither works;DEVSY_INSTALL_DIRoverrides the location.DEVSY_RELEASE_BASE_URLoverrides the download base for mirrors and tests.main "$@"at the end, so a truncatedcurl | shdownload cannot execute a partial script.Docs
getting-started/install.mdx: the install script is now the first CLI option, with theDEVSY_VERSION/DEVSY_INSTALL_DIRknobs documented; Homebrew and per-platform manual commands kept.getting-started/update.mdx: re-running the install script is the update path for script installs.Testing
New
hack/install_scriptGo test package runs the real script end to end against a fake release server:devsy-<os>-<arch>asset and install it0755uname)sh -nsyntax checkLocal verification:
go test ./hack/install_script/passes;shellcheckandshfmt -i 4 -ci(the repo's pre-commit settings) are clean;npm run buildinsites/docs-devsy-shsucceeds and emitsout/install.sh.Notes