Skip to content

Add upgrade script for ryu #9733

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

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

garazdawi
Copy link
Contributor

This PR adds an splits out the to_chars function taken from STL into a separate file to make license handling easier and then adds an update script that checks if there are upgrades available and if there it tries to apply them.

The PR also updates ryu to the latest version.

This PR depends on the changes in #9732

@garazdawi garazdawi added team:VM Assigned to OTP team VM fix labels Apr 15, 2025
@garazdawi garazdawi added this to the OTP-28.0 milestone Apr 15, 2025
@garazdawi garazdawi requested a review from kikofernandez April 15, 2025 12:55
@garazdawi garazdawi self-assigned this Apr 15, 2025
Copy link
Contributor

CT Test Results

Tests are running... https://github.com/erlang/otp/actions/runs/14469948607

Results for commit 5171ac9

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

  • No CT logs found
  • No HTML docs found
  • No Windows Installer found

// Erlang/OTP Github Action Bot

#######################################################################

https://github.com/microsoft/STL/blob/master/stl/inc/xcharconv_ryu.h has been
updated. Check that no changes effect the __to_chars function and if they do
Copy link
Contributor

Choose a reason for hiding this comment

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

effect -> affect?

@@ -14,18 +14,22 @@
"homepage": "https://github.com/ulfjack/ryu",
"licenseDeclared": "Apache-2.0",
"name": "ryu",
"versionInfo": "844864ac213bdbf1fb57e6f51c653b3d90af0937",
"versionInfo": "1264a946ba66eab320e927bfd2362e0c8580c42f",
Copy link
Contributor

Choose a reason for hiding this comment

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

is there any version info? Just to see if we avoid this accidental duplication of sha in versionInfo and sha.
I think not, but just checking

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is a version 2.0, but that is the only version ever released and there don't seem to be any new ones even if there have been many fixes since.

Copy link
Contributor

@kikofernandez kikofernandez left a comment

Choose a reason for hiding this comment

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

Looks good, but I did not run and test. It has a good explanation for how to update ryu and has split up the to_chars function. Well done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix team:VM Assigned to OTP team VM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants