
The fix in github seems to work properly.
I see what was the problem now. Are going to switch back to the derived
instance for the new db and have a conversion function from old to new?
On Tue, Apr 7, 2015 at 10:31 AM, Nicola Squartini
Thanks!
Luckily I found the old version of cblrepo in the mirror and I was able to downgrade. I'll test the Github change later.
On Tue, Apr 7, 2015 at 6:16 AM, Magnus Therning
wrote: On Mon, Apr 06, 2015 at 06:09:30PM +0200, Magnus Therning wrote:
On Mon, Apr 06, 2015 at 05:42:49PM +0200, Magnus Therning wrote:
On Mon, Apr 06, 2015 at 02:42:28PM +0900, Nicola Squartini wrote:
Hi Magnus, and thanks for the upgrade!
You mentioned that cblrepo didn't make it, but since my last upgrade today I have version 0.15.0. And most importantly it gives an error message:
cblrepo: user error (JSON parsing failed)
whatever subcommand I try, even convertdb. Did the format change since the last version?
Nope, that's something else! I see it as well.
I fixed the dependencies soon after that earlier email and ran all the tests. One crucial test is missing though: run cblrepo against an existing repo. Aeson has changed defaults in the past, I'll see if it's something like that this time too.
Actually it's a change to an underlying data type that has changed from being a String to a wrapped String resulting in the generated JSON instances differing. If I'm thinking correctly about it the required change is minimal, so hopefully I'll find the time to address this soon.
I have a fix in the repo on github[1], would you mind taking it for a spin and let me know if it's any good?
/M
[1]: https://github.com/magthe/cblrepo/commit/9be2a0e4c76cd7b210a45150ca1c7dcd66d...
-- Magnus Therning OpenPGP: 0xAB4DFBA4 email: magnus@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus
You know, take Lisp. You know, it’s the most beautiful language in the world. At least up until Haskell came along. -- Larry Wall