Re:Microsoft team submits Redis patch to enable Windows support
by spicyj on Thursday December 08, 2011 @05:06PM
(#3331387)
Did most of what you suggested: https://github.com/antirez/redis/issues/238#issuecomment-307....
Most of this patch is adding libuv, which is included in its entirety due to "the version included in the patch is different than the one available on github, some changes have been added to the code". There is also a lot of cleanup. Also a small nit, in the patch instructions:
is equivalent to: Here's what would make it more easily reviewable.1. clone redis
2. clone libuv
3. make whatever changes needed to libuv as its own commit.
4. add libuv as a submodule to redis.
5. perform all the misc compiler cleanup stuff to redis as its own commit; usually you want your cleanup/refactored to happen before you perform functional changes.
6. add the ms-specific code as its own commit.
7. push up the new commits to the two forked repos.
This would make it all a bit easier to review. The only questionable part is adding libuv as a reddis submodule (4). Maybe I'd leave that part out initially and instead just specify the equivalent manual step needed there (clone our fork of libuv into X and checkout Y).