[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [MirageOS-devel] irmin graphs
> The graphing is really nice! Is there a small README in the examples/ > directory about how to use the 'intrusion' examples btw? Would be useful for > demos :-) not yet, I'll add it shortly (I want to get the native git pull/push integrated first). to run the demo: mkdir -p /tmp/irmin/test cd /tmp/irmin/test && irmin init -d -g open your browser to http://localhost:8080/dump?depth=0 in the irmin folder, run: ./intrusion.native provision ./intrusion.native configure ./intrusion.native attack You can vary the depth parameter if you want to see more history. Not sure how this is useful in real-life, but feel to make it more shiny :-) Thomas > I'm curious to see what this looks like when booting a VM with the new > IrminXenstore that Dave's been working on, too. I guess pretty messy ... > > cheers, > Anil > > On 30 May 2014, at 18:44, Thomas Gazagnaire <thomas@xxxxxxxxxxxxxx> wrote: > >> Hi all, >> >> I've just added a new option to display pretty graphs of any irmin database. >> It's not yet merged, but if some people wants to give a try, it's available >> here: https://github.com/mirage/irmin/pull/61 (or on the cleaner-graphs >> branch in my repo). >> >> To try it: >> >> mkdir <path> >> cd <path> >> git init >> echo hello > foo && git add foo && git commit -a -m first >> irmin init -d -g & >> >> The last command means: starts an irmin daemon reading the current Git >> store. The daemon runs by default on localhost:8080 (irmin init --help to >> change that). >> >> Then you can see graph.dot of you database at that url: >> http://localhost:8080/dump/graph.dot >> >> You can also see a lively updated JS interpretation of that file (using >> dagre-d3.js) at http://localhost:8080/dump (ie. try to run few git commands >> and see how the graph changes). >> >> If any CSS guru are reading this, and what to have a try at improving the >> result (which I found already quite nice), feel free to send me patches to >> lib/server/static/style.css >> >> Remark: don't try this on a normal Git repo, seems that dagre-d3.js dies >> when trying to parse a gigantic .dot file. >> >> Best, >> Thomas >> >> >> >> _______________________________________________ >> MirageOS-devel mailing list >> MirageOS-devel@xxxxxxxxxxxxxxxxxxxx >> http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel >> > _______________________________________________ MirageOS-devel mailing list MirageOS-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |