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

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



Thanks for your reply, I'm having a look at the irmin issue mentioned.

I'm using the following versions of git and irmin:

~$ opam list | grep git
git                             1.8.0  Git format and protocol in pure OCaml
git-unix 1.7.1 Virtual package to install and configure mirage-git 1.6.0 Virtual package to install the `git.mirag

~$ opam list | grep irmin
irmin 0.12.0 A distributed database that follows the s irmin-unix 0.12.0 Virtual package for Irmin's Unix support irmin-watcher 0.2.0 Portable Irmin watch backends using FSeve


On 15/02/17 13:48, Hannes Mehnert wrote:
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

--
Carlos Oviedo
PhD student
Network Systems Group
University of Nottingham


_______________________________________________
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®.