Repository navigation
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.
feat(setup): fix cargo release blocker, close all 5 contract gaps, add composer + gem publishing #105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
feat(setup): fix cargo release blocker, close all 5 contract gaps, add composer + gem publishing #105
Changes from 1 commit
3a274ce435f411357238fbc1a27e5af0ebc01bee765c47e4d1068be31fcac7c2af4f2c365a841a618ab1d2894a3bfdf9f9File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
β¦n + lint jobs Two follow-ups to the RubyGems/Composer CLI launchers. 1. Version match. The launchers no longer trust a baked-in version constant for the download URL β they derive it from the package the user actually installed, so the downloaded binary always matches the installed package: - Ruby: `Gem.loaded_specs["socket-patch"].version` (then `Gem::Specification.find_by_name`), so `gem install socket-patch -v X` fetches the vX binary. - Composer: loads Composer's autoloader via `$_composer_autoload_path` and reads `Composer\InstalledVersions::getPrettyVersion('socketsecurity/socket-patch')` (only when it's a concrete X.Y.Z release). The `VERSION` / `SP_VERSION` constants remain solely as a fallback for not-installed contexts (raw checkout); version-sync keeps them current. 2. Lint jobs. New `lint-ecosystems` job in ci.yml covering the out-of-workspace packaging for the ecosystems we added: - Ruby: `ruby -c` the CLI launcher gem + Bundler plugin + the generated-plugin templates, and `gem build` both gemspecs. - PHP: `php -l` the Composer launcher + `composer validate`. - Go: gofmt-clean + `go vet` the setup-guard templates (rendered to a temp package). Verified: ci.yml valid YAML; both gems build; `ruby -c`/`gofmt`/`go vet` clean on the templates locally (php/composer lint runs in CI). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Uh oh!
There was an error while loading. Please reload this page.