As a branch manager I think I cannot maintain YAML lib any longer. No
one had touched lib/yaml for more than 20 months, while bugs are
reported continuously during that. At this point I cannot but say YAML
has already been abandoned. And I cannot maintain this large library by
myself. It’s a real sadness, but it’s time for us to drop it from
stdlib, unless someone put in for the maintenance.
As a branch manager I think I cannot maintain YAML lib any longer.
The whole point of a maintenance branch is “something that should not
have breaking changes”, isn’t it? If you remove YAML from 1.8 at this
point, you will create a lot of grief for a lot of people, because
most production Ruby apps have dependency on YAML (Rails uses it).
If nobody steps up as a maintainer, please, please, please just leave
it alone, with bugs and all.
As a branch manager I think I cannot maintain YAML lib any longer.
The whole point of a maintenance branch is “something that should not
have breaking changes”, isn’t it? If you remove YAML from 1.8 at this
point, you will create a lot of grief for a lot of people, because
most production Ruby apps have dependency on YAML (Rails uses it).
I have to agree that this is an extremely popular library. This is a
very large change that will affect a lot of software.
[#3698] In a highly dynamic ObjectSpace (loads of created and collected
objects) YAML creates erroneous anchors/references [? related to #8548]
[#6819] YAML loses data [verified]
[#7787] YAML.parse fails to recognize document terminator when it
follows a multiline scalar [verified]
[#8026] YAML fails to parse its own input [verified]
[#8548] YAML::Omap loses entries, replacing them with random references
[verified]
[#8886] YAML fails to load a Hash containing a Pathname [verified]
[#9053] YAML.load(file) cannot be used to load documents in sequence.
[verified]
[#9518] YAML: Derived String and binary data. [verified]
[#12761] Yaml doesn’t load large DateTimes [verified]
[#12847] class Module in lib/yaml/tag.rb removes Module from RDoc HTML
documentation output [verified, but solution provided, and this looks
like a slam dumk]
Maybe it would be better to move YAML out, so that it will give
someone the impetus to do a new and better lib (like one that’s 1.1
compliant for instance!). It’s too bad _why has abandoned his Syck
project, it really is one of the most useful standard libs in Ruby.
On the other hand, I personally think we should consider YAML as an
essential part of Ruby. As _why originally put it, YAML and Rubygo
together like bread and butter. I require ‘yaml’ in most of my
programs, even if it’s just to use #y instead of #p. I’d go so far as
to say that YAML would do well even further integrated into the
language. For instance, how cool would it be to do:
class X
attr_accessor :msg
def sayit; puts msg; end
end
foo = — !X
msg: “Hello, World!”
…
foo.sayit
Whether you like that idea or not. I think it remains true that YAML
is so important to Ruby, that it’s support should be treated with the
same diligence as the rest of the language.
As a branch manager I think I cannot maintain YAML lib any longer. No
one had touched lib/yaml for more than 20 months, while bugs are
reported continuously during that. At this point I cannot but say YAML
has already been abandoned. And I cannot maintain this large library by
myself. It’s a real sadness, but it’s time for us to drop it from
stdlib, unless someone put in for the maintenance.
Removal of YAML will break RubyGems, at least 0.9.4.
I personally think YAML needs a rewrite, not a removal. The existing
implementation uses a huge amount of memory while parsing, and doesn’t
support the 1.1 spec.
Anyone interested in setting up a bounty? I am too busy with other
projects to write it myself, at the moment.
Anyone interested in setting up a bounty? I am too busy with other
projects to write it myself, at the moment.
I’m not going to take that bounty. A full YAML implementation is
definitely a very large project (I know…). JRuby used to have 1.1
compatibility but that was crippled to make it more correct from a
1.8-standard.
At this point, the best way would probably be to integrate Kirill
Simonovs libyaml project, but I’m not sure how far that has come.
And sadly, the structure of YAML as a language more or less requires
quite alot of memory usage. (You should see the JvYAML memory usage…
=(
On Sun, Nov 04, 2007 at 05:29:42AM +0900, Urabe S. wrote:
As a branch manager I think I cannot maintain YAML lib any longer. No
one had touched lib/yaml for more than 20 months, while bugs are
reported continuously during that.
I want to say thankyou to shyouhei (and to matz, nobu, akr, many
others) who have helped patch YAML and improve it. I am certainly
okay if YAML is discontinued due to my unreliability over the past
year. And it’s just not very good code any more.
I would like another shot at improving it, if I can. I will spend
some days this week, gladly. Would that be okay?