Feature #16170
closed
Remove the unmaintained libraries from Ruby 2.7
Added by hsbt (Hiroshi SHIBATA) about 5 years ago.
Updated almost 5 years ago.
Description
I'm working to extract standard libraries to rubygems in recent years. So, the standard libraries will be promoted the default gems or bundled gems.
But I suggest removing some of the unmaintained libraries without default/bundled gems.
These are here:
- cmath
- mutex_m
- scanf
- shell
- sync
- thwait
- tracer
We should reduce the maintenance cost for them.
Agreed. Might also be simpler to get full support in gem-spec format
for those libraries that are maintained. :)
Some of them I have not even read before at all, such as mutex_m.
- Description updated (diff)
I'll maintain debug
. Can we remain it as bundled gem?
Can we remain it as bundled gem?
sounds good.
We are going to remove them at Ruby 2.7.0-preview2
- cmath
- scanf
- shell
- sync
- thwait
We need to investigate the following stdlibs with irb. After resolve dependencies, We will remove them.
debug
will be promoted the bundled gems, mutex_m
and getoptlong
remains in stdlibs at Ruby 2.7.
FYI: How many times the gems is required from all latest public gems by using gem-codesearch.
$ csearch "require .mutex_m.$" | wc -l
199
$ csearch "require .scanf.$" | wc -l
119
$ csearch "require .thwait.$" | wc -l
84
$ csearch "require .sync.$" | wc -l
83
$ csearch "require .tracer.$" | wc -l
77
$ csearch "require .shell.$" | wc -l
72
$ csearch "require .cmath.$" | wc -l
22
Just FTR, I am using tracer from time to time, typically just from command line as -rtracer
. I'll be sad to see it go away ...
- Tags set to lib
- Status changed from Assigned to Closed
I removed them at Ruby 2.7.
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0