avsm changed the topic of #mirage to: mirage 2 released! party on!
brson has joined #mirage
mort___ has joined #mirage
mort___ has quit [Quit: Leaving.]
brson has quit [Ping timeout: 260 seconds]
rgrinberg has joined #mirage
rgrinberg has quit [Remote host closed the connection]
gjaldon has joined #mirage
gjaldon has quit [Ping timeout: 250 seconds]
copy` has quit [Quit: Connection closed for inactivity]
gjaldon has joined #mirage
<gjaldon>
In Irmin, is Irmin.View.diff a way to get a list of diffs between two commits?
jermar has quit [Remote host closed the connection]
gjaldon has quit []
fgimenez has joined #mirage
jermar has joined #mirage
mato1 has joined #mirage
AltGr has joined #mirage
mort___ has joined #mirage
mort___ has quit [Quit: Leaving.]
mort___ has joined #mirage
srenatus[m] has quit [Ping timeout: 260 seconds]
fgimenez has quit [Quit: No Ping reply in 180 seconds.]
fgimenez has joined #mirage
<hannes>
mato: I'll (hopefully) find some time today to look into the mirage-solo5 topkg'ing
<mato1>
hannes: thanks! I've almost got the automated test bits in the state I want.
<hannes>
mato1: nice... and it seems my server will be delivered today (but will need to be assembled and transported a bit.. not sure when it'll have IP)
<mato1>
hannes: if we could figure out some (secure) way to run the automated tests on it that would be awesome. unfortunately bhyve as it stands today requires root which is a bit annoying.
mort___ has quit [Quit: Leaving.]
<mato1>
hannes: (unlike kvm which just requires access to /dev/kvm for whichever user)
<hannes>
mato1: there has been somewhere AFAIK a patch to get rid of root..
<hannes>
mato1: otherwise, I suspect a unix domain socket which ends in a root process being able to exec bhyve would be fine
<hannes>
I also got some help from samoht for setting up datakit-ci without the docker and github bridge parts... looks like a build system is nearly ready (still needs some code to be written, but that's fine)..
srenatus[m] has joined #mirage
mort___ has joined #mirage
mort___1 has joined #mirage
mort___ has quit [Read error: Connection reset by peer]
mort___ has joined #mirage
mort___1 has quit [Read error: Connection reset by peer]
composmin has joined #mirage
<composmin>
Hi folks, Ive been trying to get my Mirage dev environment setup on a Mac using docker. but have hit the following error:
<composmin>
Fatal error: # opam-version 1.2.2 (c968888614d3fdbac881d3b7b8ef32ee97839807) # os linux opam: "open" failed on /home/opam/.opam/log/command-5-5a61c5.out: Permission denied
<composmin>
I wonder if somebody could point me in the right direction.
<composmin>
This is from the docker build -t opam-test . of the simplest ocaml Dockerfile
<composmin>
FROM ocaml/opam:ubuntu-15.10_ocaml-4.02.3 RUN opam remote add dev git://github.com/mirage/mirage-dev RUN opam depext -i mirage
<composmin>
"opam remote add..." seems to be changing the ownership of /home/opam/.opam/log from opam -> root
<composmin>
Which seems to mess up subsequent commands, which is easy to workaround for the small example, but harder to make work with the solo5 build environment.
mort___ has quit [Quit: Leaving.]
mort___ has joined #mirage
fgimenez has quit [Quit: No Ping reply in 180 seconds.]
<hannes>
gjaldon: I suspect both thomas leonard and thomas gazagnaire, who know irmin more in depth, are reading the mailing list (rather than the irc channel)
<gjaldon>
hannes: ahh no wonder I have no luck in catching them here. was thinking twice about posting there. is it ok to keep sending mirage-related questions to that mailing list?
<hannes>
gjaldon: sure, it is the mirageos-devel mailing list with moderately low traffic. it is appreciated to post questions there... and I think the answer is: what is a commit?
<hannes>
a commit is the diff... you don't diff two commits, but each commit is a diff :)
<hannes>
so you've state x, commit c which lead to state x'... commit c' leads then to state x''...
<gjaldon>
hannes: ahh yes. Then I guess I want a diff of diffs if that makes sense?
<hannes>
no ;)
<hannes>
I mean why would you want a diff of diffs?
mort___ has quit [Quit: Leaving.]
<gjaldon>
ok I guess what I want is to get the diffs introduced by each commit then so I could convert them and store them as a list of events
<gjaldon>
hannes: let me rephrase that. Is there a way to get all the changes introduced by a commit in Irmin? How bout that question?
<hannes>
gjaldon: yes, that is a valid question. and I think you found the answer in the API (but I've no clue how to get to that part from canopy code)
<gjaldon>
hannes: yea reading the signature gives me clues as to how to use it but no idea how to get a View.t or a View.db. anyway, will try asking at the mailing list. Thanks, hannes!
mort___ has joined #mirage
gjaldon has quit []
brson has joined #mirage
seangrove has quit [Ping timeout: 250 seconds]
fgimenez has quit [Remote host closed the connection]
seangrove has joined #mirage
mort___ has quit [Ping timeout: 256 seconds]
_whitelogger has joined #mirage
mort___ has quit [Remote host closed the connection]
mort___ has joined #mirage
seangrove has quit [Ping timeout: 246 seconds]
mort___ has quit [Ping timeout: 268 seconds]
mato1 has quit [Quit: WeeChat 1.6]
seangrove has joined #mirage
Bluerise has quit [Ping timeout: 268 seconds]
Bluerise has joined #mirage
AltGr has left #mirage [#mirage]
boadie has quit [Remote host closed the connection]
boadie has joined #mirage
jermar has quit [Ping timeout: 252 seconds]
<lobo>
hi *. is it possible to set tags in a _tags file based on the current ocaml compiler version? like an if/else block for example. i'm trying to topkging ipaddr and i wanted to get rid of the Makefile for tests. couldn't find the answer in the ocamlbuild manual yet
<lobo>
right now the makefile also has an if/else block to figure if it should use safe_string for the tests, based on the compiler version
<hannes>
lobo: not afaik. two options: always use safe_string (and get rid of ancient ocaml compilers), or don't use safe_string for tests (in _tags: "<foo>: -safe_string " will disable safe_string for foo)
<hannes>
I'd go for not supporting OCaml <= 4.01 anymore, since it is likely MirageOS will move to 4.03+ anyways with the 3 release
<lobo>
hannes: thx. the oasis generated _tags did set it by default anyway. we can disable it later on for tests if some of the ci tools complain