feat: apt repo and install script installation methods#232
Merged
Sam Gammon (sgammon) merged 1 commit intomainfrom Mar 27, 2026
Merged
feat: apt repo and install script installation methods#232Sam Gammon (sgammon) merged 1 commit intomainfrom
Sam Gammon (sgammon) merged 1 commit intomainfrom
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #232 +/- ##
===========================================
- Coverage 91.06% 76.86% -14.20%
===========================================
Files 7 10 +3
Lines 179 268 +89
Branches 21 38 +17
===========================================
+ Hits 163 206 +43
- Misses 11 54 +43
- Partials 5 8 +3
🚀 New features to boost your workflow:
|
Add platform-specific installation paths for Elide: - Debian/Ubuntu: install via the official apt repository (GPG key + source list), with version pinning support - macOS / non-Debian Linux: install via the dl.elide.dev install script - Windows: keep existing zip/tarball download from dist.elide.zip Also fixes several pre-existing issues: - Update download base URL to modern dist.elide.zip scheme - Strip channel prefix from version tags in download URLs - Account for bin/ subdirectory in release archives - Replace unsupported `elide run -c` prewarm with `elide info` - Add --batch --yes to gpg for non-interactive CI use Includes unit tests for all new modules (platform detection, apt installer, script installer, download URL construction) and expands the CI matrix to test on ubuntu, macos, and windows. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2dd23c4 to
7b7514a
Compare
Sam Gammon (sgammon)
approved these changes
Mar 27, 2026
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.
Summary
apt-get install), avoiding tarball downloads on runners that support itelide.shinstall script, downloaded to a temp file and executed with bashtest-actionjob now runs on anubuntu-latest,macos-latest,windows-latestmatrixNew files
src/platform.ts-- detects Debian-like systems via/etc/debian_versionsrc/install-apt.ts-- apt repo installer withset -o pipefailfor safe GPG key downloadsrc/install-script.ts-- install script path with~/.elide/binPATH fallback__tests__/platform.test.ts,__tests__/install-apt.test.ts,__tests__/install-script.test.ts-- 8 new unit testsTest plan
pnpm testpasses for new test suites (platform, install-apt, install-script)custom_urlinput still routes to tarball download (not apt/script)aarch64->arm64for Debian arch naming🤖 Generated with Claude Code