Skip to content
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

pull ruby build #909

Merged
merged 18 commits into from
Jun 2, 2024
Merged

pull ruby build #909

merged 18 commits into from
Jun 2, 2024

Conversation

jasonkarns
Copy link
Member

@jasonkarns jasonkarns commented Jun 2, 2024

Merges ruby-build 20220930.

The changes for openssl and GMP from that release have been removed. see #910

ruby-build commits
  • Add minimum GitHub token permissions for workflows
  • ci(lint): Add differential-shellcheck action
  • Add JRuby 9.3.8.0
  • Allow OPENSSL_VERSION_TEXT string match without last line for OpenSUSE
  • macOS: Use GMP from homebrew
  • Suggest rbenv global if there is no explicit global setting (#2052)
  • Touch up README for comprehension and clarity (#2051)
  • List output: only print stderr notice if printing to a terminal
  • Release with gh instead of with hub (#2056)
  • ruby-build 20220930

varunsh-coder and others added 14 commits September 11, 2022 12:35
It performs differential ShellCheck scans and report results directly in pull request.

documentation: https://github.com/redhat-plumbers-in-action/differential-shellcheck

Signed-off-by: Jan Macku <[email protected]>
ci(lint): add shell linter - Differential ShellCheck
MRI's BigInt use GMP under the hood if available, and if not
fallbacks to an homemade implementation with much worse performance.

Without GMP:
```
>> Benchmark.realtime { Integer('1' * (10 ** 7)) }
=> 13.80743500002427
```

With GMP
```
>> Benchmark.realtime { Integer('1' * (10 ** 7)) }
=> 0.4098639999865554
```

macOS not being a common production platform, it's not a huge deal
but it would still preferable to compile with `gmp.h` if present.

I'd also suggest to print a warning if compiling on macOS and gmp
isn't installed, but I don't know if it's desirable.

NB: `--with-gmp-dir` was only added recently, so this will only
apply to MRI >= 3.2, as well as rubies on which this flag was backported.
Allow OPENSSL_VERSION_TEXT string match without last line for OpenSUSE
Upon installing their first Ruby version on the system, the user may want to set it as their default; otherwise the default will remain "system" and any `gem install` attempts will fail with a permission error.

This suggestion is skipped if the user already has chosen an explicit default, even if it's "system".
This makes it easier to redirect `rbenv install -l` output without having to silence stderr to get rid of the extra notice.
List output: only print stderr notice if printing to a terminal
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

bin/node-build Fixed Show fixed Hide fixed
* commit 'refs/rbtags/v20220930':
  ruby-build 20220930
  Release with gh instead of with hub (#2056)
  List output: only print stderr notice if printing to a terminal
  Touch up README for comprehension and clarity (#2051)
  Suggest `rbenv global` if there is no explicit global setting (#2052)
  macOS: Use GMP from homebrew
  Allow OPENSSL_VERSION_TEXT string match without last line for OpenSUSE
  Add JRuby 9.3.8.0
  ci(lint): Add differential-shellcheck action
  Add minimum GitHub token permissions for workflows
@jasonkarns jasonkarns merged commit 79f23c6 into main Jun 2, 2024
9 checks passed
@jasonkarns jasonkarns deleted the pull-ruby-build branch June 2, 2024 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants