[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] Use local Irmin repo as Canopy backend



hello,

On 10/02/2017 16:33, Carlos Oviedo wrote:
> I'm a bit lost over here, could anyone point me to the right
> documentation to use the Irmin backend for Canopy instead of using a Git
> repository?

I guess nobody has done yet ;)

> ~/workspace/Canopy$ ./mir-canopy -r
> 2017-02-10 16:30.15: ERR [git.mirage] Git_mirage.IO.read_exactly:
> expecting 4, got 0
> 2017-02-10 16:30.15: WRN [canopy-store] failed pull (Failure
> "Git_mirage.IO.read_exactly: expecting 4, got 0")

Looks like https://github.com/mirage/irmin/issues/379

> 2017-02-10 16:30.15: INF [git.memory] Reading HEAD
> 2017-02-10 16:30.15: DBG [irmin.bc] map [".config","uuid"]
> 2017-02-10 16:30.15: DBG [irmin.bc] read_head_commit
> 2017-02-10 16:30.15: INF [git.memory] Reading refs/heads/master
> 2017-02-10 16:30.15: DBG [git.value] add_inflated
> 2017-02-10 16:30.15: INF [git.memory] Writing
> 4b825dc642cb6eb9a060e54bf8d69288fbee4904
> 2017-02-10 16:30.15: DBG [irmin.node] read_contents [".config","uuid"]
> 2017-02-10 16:30.15: DBG [irmin.node] read_node_exn
> ["4b825dc642cb6eb9a060e54bf8d69288fbee4904"] [".config"]
> 2017-02-10 16:30.15: DBG [irmin.node] succ
> ["4b825dc642cb6eb9a060e54bf8d69288fbee4904"] [".config"]
> Fatal error: exception (Invalid_argument ".config/uuid is required in
> the remote git repository")

When starting up, Canopy first reads .config/uuid.  But it fails to read
due to the irmin issue above.

> irmin: [ERROR] server error (Failure "error: read: non-empty query")
> irmin: [DEBUG] Connection 1: closed!

Thomas Gazaignare may know more about the current status of git and
irmin.  Which versions of irmin and git are you using?


hannes

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.