Download and include in dist CRuby's rdoc data#9052
Conversation
|
Note this obviously adds some size to the dist tarball (and a similar amount to the zip): vs So that's like 2.6MB or so. This PR also requires #9051 in order for the dumped RI data to be readable by JRuby. |
|
Updated version uses FTP to download the sole "doc" file from Debian's Ruby 3.4 artifact directory, since this filename may change over time. It would be nice to remove the dependency on the |
This change does the following: * Download the CRuby rdoc data published by Debian. * Unpack and include that data in the build of jruby-dist. This logic uses antrun and is hardcoded to the specific URL of the ruby3.4-doc package from Debian. It depends on the "ar" and "tar" commands being available on the host system. Fixes jruby#9049
This is more robust than hardcoding the filename, since it's possible for that filename to change with new releases.
|
|
|
Last change is pushed, to remove CRuby-specific bits of the ri data. |
This change does the following:
This logic uses antrun and is hardcoded to the specific URL of the ruby3.4-doc package from Debian. It depends on the "ar" and "tar" commands being available on the host system.
Fixes #9049