crystal icon indicating copy to clipboard operation
crystal copied to clipboard

Zip64 writer+reader rebased

Open mamantoha opened this issue 4 years ago • 6 comments

Replaces https://github.com/crystal-lang/crystal/pull/7236 Closes https://github.com/crystal-lang/crystal/issues/7103

The original PR was made by @julik

In this PR I did:

  • [x] Rebased with master branch.
  • [x] Updated code to make CI happy.

mamantoha avatar Nov 02 '21 08:11 mamantoha

Thank you so much @mamantoha for picking this up. I was actually feeling very guilty for letting this rot for so long, but didn't have time (or energy) to pick it up again. Maybe you could take over my branch too if that's better (there were some comments there from what I see)

julik avatar Nov 02 '21 14:11 julik

Hi @julik, this PR contains 2 commits from your branch rebased with the master branch + some minor changes in the third commit which fix specs. I even didn't change the specs for this :wink:. I had no plans to change your initial implementation. I was just curious if it actually worked. And yes, this working pretty well.

mamantoha avatar Nov 02 '21 14:11 mamantoha

I will be delighted if you can pick up my implementation and drive it to completion, I won't have time in the coming months to do it.

julik avatar Nov 02 '21 15:11 julik

@mamantoha This is really great! But it's also a lot of effort to review. Do you think there's a chance of splitting this into smaller pieces? I see there are a few new types added, but they seem to be used in the refactored code, so I don't see an easy way for that.

CRC32Writer is missing specs. It's a public API so it should be tested by itself (or really even if it was internal).

straight-shoota avatar Jan 09 '22 23:01 straight-shoota

This would be a very nice addition - what is needed to get this merged?

dup2 avatar Sep 08 '23 11:09 dup2

Would be great to see this merged.

Sija avatar Apr 24 '24 14:04 Sija