-
Notifications
You must be signed in to change notification settings - Fork 7
update from fork #10
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
base: master
Are you sure you want to change the base?
update from fork #10
Conversation
… 2.7.0 to 2.7.1 (#310) * Upgrade Ruby version 2.4.9 to 2.4.10, 2.5.7 to 2.5.8, 2.6.5 to 2.6.6, 2.7.0 to 2.7.1 * correct SHA256 hash values for the .tar.xz files * updating Ruby version/hashes in a few missed files
Remove 2.4 (EOL)
Add initial GitHub Actions CI
Add Alpine 3.12
Ruby docker images officially provided by ruby-lang.org set `LANG` as `C.UTF-8` by default. https://hub.docker.com/r/rubylang/ruby/ https://github.com/ruby/ruby-docker-images/blob/36c5d8b68eb91e34825500e50ca677f5574401f7/Dockerfile#L3 #45 (comment) > I'd rather see something more official from either Ruby or Rails upstreams > recommending a UTF-8 locale by default than just the anecdote that it's > "more common" or "more convenient". I think it's the one so we should set it by default.
Set LANG by default
Add ruby 3.0.0-preview1
Ruby 3.0.0 is released
Update generate-stackbrew-library.sh for Ruby 3.0
Only two versions of alpine are supported at a time
Add alpine:3.13 images
[security] Update to 3.0.1, 2.7.3, 2.6.7, 2.5.9
https://www.ruby-lang.org/en/downloads/branches/ https://www.ruby-lang.org/en/news/2021/04/05/ruby-2-5-9-released/ > After this release, Ruby 2.5 reaches EOL. In other words, this is the last release of Ruby 2.5 series. We will not release Ruby 2.5.10 even if a security vulnerability is found. We recommend all Ruby 2.5 users to upgrade to Ruby 3.0, 2.7 or 2.6 immediately.
Also add "g++" during compilation (the upstream configure script looks for it, even though it doesn't appear to be used).
Add initial jq-based templating engine
None of these specific versions are build anymroe
Ruby 3.1.7 was released, which will be the last version. https://www.ruby-lang.org/en/news/2025/03/26/ruby-3-1-7-released/
Remove slim/alpine temporary code
Drop Ruby 3.1
Add 3.5 pre-release
All versions are build with rust, so it is always present
Remove `.rust.version` check
Add Alpine 3.22 (remove Alpine 3.20)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Script Fails on Non-x86_64 Architectures
The versions.sh script hard-codes the download of the yq_linux_amd64 binary without detecting the host architecture. This causes an "Exec format error" and script failure when run on non-x86_64 machines (e.g., ARM64 CI runners), breaking multi-architecture support that previously worked.
versions.sh#L12-L22
Lines 12 to 22 in 3c44d7e
| fi | |
| versions=( "${versions[@]%/}" ) | |
| yq='./.yq' | |
| # https://github.com/mikefarah/yq/releases | |
| # TODO detect host architecture | |
| yqUrl='https://github.com/mikefarah/yq/releases/download/v4.40.5/yq_linux_amd64' | |
| yqSha256='0d6aaf1cf44a8d18fbc7ed0ef14f735a8df8d2e314c4cc0f0242d35c0a440c95' | |
| if command -v yq &> /dev/null; then | |
| # TODO verify that the "yq" in PATH is https://github.com/mikefarah/yq, not the python-based version you'd get from "apt-get install yq" somehow? maybe they're compatible enough for our needs that it doesn't matter? | |
| yq='yq' |
Comment bugbot run to trigger another review on this PR
Was this report helpful? Give feedback by reacting with 👍 or 👎
For Ruby 3.2 `libreadline-dev` is being installed which causes unwanted output during `dpkg-query --search`: ```sh dpkg-query --search *lib/x86_64-linux-gnu/libreadline.so.8 diversion by libreadline8t64 from: /lib/x86_64-linux-gnu/libreadline.so.8 diversion by libreadline8t64 to: /lib/x86_64-linux-gnu/libreadline.so.8.usr-is-merged diversion by libreadline8t64 from: /lib/x86_64-linux-gnu/libreadline.so.8.2 diversion by libreadline8t64 to: /lib/x86_64-linux-gnu/libreadline.so.8.2.usr-is-merged libreadline8t64:amd64: /usr/lib/x86_64-linux-gnu/libreadline.so.8.2 libreadline8t64:amd64: /usr/lib/x86_64-linux-gnu/libreadline.so.8 diversion by libreadline8t64 from: /lib/x86_64-linux-gnu/libreadline.so.8 diversion by libreadline8t64 to: /lib/x86_64-linux-gnu/libreadline.so.8.usr-is-merged diversion by libreadline8t64 from: /lib/x86_64-linux-gnu/libreadline.so.8.2 diversion by libreadline8t64 to: /lib/x86_64-linux-gnu/libreadline.so.8.2.usr-is-merged ``` I don't believe there is any way to control this output, so ignore those lines. Doesn't hurt to have this run on other versions, even though there aren't any other relevant packages that are affected.
Add debian trixie/Drop debian bullseye
3.5 is now 4.0: ruby/ruby@6d81969
Update to 4.0.0-preview2
Drop Alpine 3.21 accordingly
Update to Alpine 3.23
More details at https://bugs.ruby-lang.org/issues/21221 ZJIT requires rust 1.85, so bump the version.
Build Ruby 4.0 with ZJIT
No description provided.