Project

General

Profile

Actions

Feature #7708

open

support for patches list

Added by mpapis (Michal Papis) about 11 years ago. Updated about 6 years ago.

Status:
Open
Assignee:
-
Target version:
-
[ruby-core:51477]

Description

Often as maintainer of RVM I have to work with multiple ruby patches, but it's hard to tell what patches were used for compiling ruby. As a temporary solution I have started using a file patches.list in the root of source and installation directory. It would be nice if Ruby would include this list also in RbConfig::CONFIG.

Here is example content of the file I have for ruby-1.9.3-p362:

ruby-multilib
segfault_fix_7629

If that would be implemented I could understand if it would be required the files to be URLs to online patches which can be easily downloaded and analyzed.

Updated by vo.x (Vit Ondruch) about 11 years ago

Out of curiosity, how would you populate such list?

Updated by mpapis (Michal Papis) about 11 years ago

this is code used in RVM to populate (and use) the list https://github.com/wayneeseguin/rvm/blob/825aa97e7ea440b4cd3b8e5c3a6888b09498e0fd/scripts/functions/manage/base#L113-L125

it's all done before configuring ruby so the configure script could read the list and then make it available in RbConfig, of course this could be also easier done with environment variable like:

RUBY_PATCHES="ruby-multilib:segfault_fix_7629"

It does not give any real functionality improvement but helps to identify if there were any patches to the ruby that is ran, it is useful with RVM binary rubies or with distribution provided rubies.

Updated by drbrain (Eric Hodel) about 11 years ago

  • Target version set to 2.6
Actions #4

Updated by naruse (Yui NARUSE) about 6 years ago

  • Target version deleted (2.6)
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0