Stefano Bagnara wrote:
Oleg Kalnichevski ha scritto:
On Sat, 2008-07-19 at 18:29 +0200, Stefano Bagnara wrote:
Oleg Kalnichevski ha scritto:
...
...
<rant disclaimer="please ignore">
HttpComponents project chose to depend on mime4j instead of developing a
similar solution because we thought it was the right thing to do. We
thought we should rather contribute to an existing project instead of
pursuing competing efforts for which we have neither resources nor the
right expertise.
As a result we had to delay the next release of HttpClient by almost two
months waiting for a mime4j release. I do not see a point in waiting any
longer. I see no other way but dropping dependency on mime4j, at least
temporarily.
I did my very best to resolve an old problem no one seemed eager to work
on for a year and a half. I will happily continue to contribute to this
project to my best abilities, but in this particular case I see no
justification to investing any more time in trying to satisfy someone
else's wish list.
</rant>
Please note that I never expected you to satisfy any wishlist. I simply
opened the project and tested some code and I found issues. I simply
reported issues. I also tried to help with the repackaging because it is
something that I always found interesting (I also wrote a tool that
automatically try to make automatic package classification based on
dependencies and some metric).
I'm not (I never did) asking you to solve any of mime4j issues (my last
sentence you quoted is "I'm not saying that I want mime4j to support all
of this before a release, I just want to understand if this is what you
also expect and if this can be considered a common goal..": I'm not sure
I understand your rant and why you think I'm (or someone else) asking
you to do something. In fact we even voted to make you committer to this
project so you could have worked on the code without waiting for our
limited time to review/apply patches.
Most of the issues I opened against Mime4j are simply there because they
need attention: there is no need to solve them in order to make a release.
Some other issue instead require attention (e.g: the quoted printable
stuff no more being decoded), but this is not something we are asking
you to solve. I'm not sure when I'll find the time but I plan to try to
understand when this has been broken and how to fix it.
Infinite loops and other OOM issues are there: I think I'm not the cause
of them, and I understand that is frustrating for you to find critical
issues in a library you introduced in your component but please think
twice to this.
Most of this issues are regression against old mime4j versions and
Niklas did a good job in givin trunk a go and testing it in his
environment.
I hope you understand I'm propositive in this discussion and I'm simply
trying to understand the common goal so that we don't break each other
work.
(1) Replacing a simple algorithm with a much more complex one is usually
bound to produce regressions.
(2) when the refactoring was completed _all_ existing tests passed. If
there had been more tests I would have ensured they all passed as well.
OOM issues were present in the old implementation. Handling of binary
content was broken before me. It is somewhat unfair to blame me for
breaking functionality that was not covered by test cases.
(3) I was quietly working on fixing reported issues and regressions
until we got stuck in this 'discussion' about line delimiters. It
dragged on for days without producing any practical outcome and was
mostly about pointless stuff.
I will happily continue fixing known regressions, but I feel there is
nothing else I could contribute to this issue. The best thing to do now
is for me to step aside and let you implement whatever solution you feel
appropriate.
That's fine. Just let me understand: you wouldn't like to have mime4j
parsing also CR as newline, right?
I personally would prefer to be able to configure mime4j to do that,
because this would be consistent with the behavior of HTTP components,
but can live with CR treated as newlines.
What do you expect from mime4j when a
CR is found around the mime stream?
Ignore it
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]