go-jwlm
go-jwlm copied to clipboard
A command line tool to easily merge JW Library backups, written in Go.
https://github.com/AndreasSko/go-jwlm/pull/51#issuecomment-787477666
While working on https://github.com/AndreasSko/go-jwlm/pull/52 I noticed that for Notes and TagMaps the merging tests don't notice if https://github.com/AndreasSko/go-jwlm/blob/a938374f89b8ffebcb17705f812354e4528ca658/cmd/merge.go#L71 and https://github.com/AndreasSko/go-jwlm/blob/a938374f89b8ffebcb17705f812354e4528ca658/cmd/merge.go#L72 are commented out. There is a similar issue in: https://github.com/AndreasSko/go-jwlm/blob/a938374f89b8ffebcb17705f812354e4528ca658/gomobile/Merge.go#L17....
Please find my draft PR. Comments and refactoring still outstanding. Should be working as WASM in the browser if you compile it with environment variables set GOOS="js" and GOARCH="wasm". The...
When running the same merge multiple times, it can happen that the position of TagMap entries change. Maybe it is possible to introduce some sorting in the [merge process of...