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

Re: lwt-json-logger and crunch releases

Hmm. The good news is that crunch 1.0.1 installs flawlessly! The bad news is - 
well, let's just say I now anxiously await cohttp.1.0.1…

Logfile attached!


Attachment: log
Description: Binary data

On 21 Sep 2012, at 22:34, Jon Ludlam wrote:

> FYI I'm getting another failure to install 'crunch' into /usr/local/bin/ - 
> you pesky mac users keep breaking my opam!
> I'm frustrated because I _love_ the idea of lwt-json-logger and want to use 
> it immediately!
> Jon
> On 21 Sep 2012, at 22:00, Anil Madhavapeddy wrote:
>> I've released another two packages into OPAM today:
>> ocaml-crunch: http://github.com/mirage/ocaml-crunch
>> ------------
>> $ opam update
>> $ opam install crunch
>> $ man ocaml-crunch
>> $ ocaml-crunch --help
>> This is a tidied up version of the mirage-fs `mir-crunch` utility, which 
>> converts a directory into a static OCaml module that has no dependency on
>> that filesystem.
>> It uses cmdliner to generate man pages and nice help, so I separated it
>> from the mirage-fs repository (which is where all the Block and Fat32
>> libs go, and this is useful independently. 
>> Secondly:
>> ocaml-lwt-json-logger: http://github.com/avsm/ocaml-lwt-json-logger
>> ---------------------
>> $ opam install lwt-json-logger
>> This uses crunch to embed a debug web server within any Lwt/Mirage
>> binary, and serves up the log messages using fancy AJAX.  To try it
>> out, opam install the library (so you have all the dependencies) and
>> then clone the repo and run ./_build/lib_test/lwt_json_logger_test.native
>> It will start a webserver on localhost:8080, which you can connect to
>> with a web browser to see the debug messages.
>> The interface is still pretty beta, but I'm going to start using it
>> in the Signpost code and see how useful it is.  I hope to add more
>> live progress bars using js_of_ocaml soon!
>> -anil



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