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

Finally parse upstream releases data properly #435

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

tianon
Copy link
Member

@tianon tianon commented Dec 21, 2023

This ports our versions.sh script to finally actually parse https://github.com/ruby/www.ruby-lang.org/raw/master/_data/releases.yml directly instead of scraping the data from the webpages generated from it.

Additionally, this should allow us to automatically pick up GA releases after the pre-release (we can find out whether it worked next week!)

@@ -50,9 +50,17 @@ RUN set -eux; \
} >> /usr/local/etc/gemrc

ENV LANG C.UTF-8
{{ if .version | . == "3.0.6" or . == "3.1.4" or . == "3.2.2" then ( -}}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was intentionally conservative to avoid churn in all the Dockerfiles for what amounts to entirely superficial changes.

This ports our `versions.sh` script to finally actually parse https://github.com/ruby/www.ruby-lang.org/raw/master/_data/releases.yml directly instead of scraping the data from the webpages generated from it.

Additionally, this *should* allow us to automatically pick up GA releases after the pre-release (we can find out whether it worked next week!)
@yosifkit yosifkit merged commit 2b3b80b into docker-library:master Dec 22, 2023
25 checks passed
@yosifkit yosifkit deleted the upstream-data branch December 22, 2023 00:58
docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Dec 22, 2023
Changes:

- docker-library/ruby@2b3b80b: Merge pull request docker-library/ruby#435 from infosiftr/upstream-data
- docker-library/ruby@25e8353: Finally parse upstream releases data properly
docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Dec 22, 2023
Changes:

- docker-library/ruby@088718f: Automate "latest" and "3" aliases
- docker-library/ruby@2b3b80b: Merge pull request docker-library/ruby#435 from infosiftr/upstream-data
- docker-library/ruby@25e8353: Finally parse upstream releases data properly
This was referenced Dec 22, 2023
@tianon
Copy link
Member Author

tianon commented Dec 26, 2023

This had a little glitch that resulted in commits like c12745d which is hopefully fixed via 04ee24d (update is in progress now)

docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Dec 26, 2023
Changes:

- docker-library/ruby@8af6f23: Update 3.3-rc
- docker-library/ruby@52e176c: Update 3.3 to 3.3.0, rust 1.74.1, rustup 1.26.0
- docker-library/ruby@04ee24d: Fix bug with 3.3.0 deleting 3.3 instead of 3.3-rc
- docker-library/ruby@088718f: Automate "latest" and "3" aliases
- docker-library/ruby@2b3b80b: Merge pull request docker-library/ruby#435 from infosiftr/upstream-data
- docker-library/ruby@25e8353: Finally parse upstream releases data properly
@tianon
Copy link
Member Author

tianon commented Dec 26, 2023

It worked, and it's stable! 🥳

52e176c + 8af6f23 -> docker-library-bot/official-images@674e3b2 (in docker-library/official-images#15959)

@flavorjones
Copy link

Thank you, @tianon!

martin-g pushed a commit to martin-g/docker-official-images that referenced this pull request Apr 3, 2024
Changes:

- docker-library/ruby@8af6f23: Update 3.3-rc
- docker-library/ruby@52e176c: Update 3.3 to 3.3.0, rust 1.74.1, rustup 1.26.0
- docker-library/ruby@04ee24d: Fix bug with 3.3.0 deleting 3.3 instead of 3.3-rc
- docker-library/ruby@088718f: Automate "latest" and "3" aliases
- docker-library/ruby@2b3b80b: Merge pull request docker-library/ruby#435 from infosiftr/upstream-data
- docker-library/ruby@25e8353: Finally parse upstream releases data properly
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.

3 participants