ravendb / ravendb-go-client

MIT License
39 stars 16 forks source link

Update to latest 4.1 code #151

Open kjk opened 5 years ago

kjk commented 5 years ago

Putting this as a maybe.

I've ported against 4.0 branch. There's a fair amount of changes in 4.1 branch and it's non-linear with 4.0 branch so it's harder to figure out which Java check-ins need to be ported.

ayende commented 5 years ago

@ml054 Thoughts?

ml054 commented 5 years ago

@kjk I think the best way (which I'm using for porting changes from .net to java) is to create git between v4.0 and 4.1 branches and pass it to file, like this:

git diff v4.0 v4.1 > diff.diff

Then you can apply those changes. I delete applied content from this diff file. I know this file is big (852KB), but please notice most of changes are additions. You can also start from rewriting one test and then try to make it green by copying necessary code.

Next time this diff file will be smaller and changes will be easier to apply.

If you find better way of doing this - please let me know.

kjk commented 5 years ago

A list of unique checkins in v4.1 vs v4.0 (generated with https://gist.github.com/kjk/d0bae39b62d805605d4bf4b8bd677172). Oldest (first to port) first:

New in v41 (57), oldest first:

Maybe common checkins: 25

New in v40 (12), oldest first:

Common checkins: 211