{"action":"created","issue":{"url":"https://api.github.com/repos/mirage/ocaml-pcap/issues/3","labels_url":"https://api.github.com/repos/mirage/ocaml-pcap/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/mirage/ocaml-pcap/issues/3/comments","events_url":"https://api.github.com/repos/mirage/ocaml-pcap/issues/3/events","html_url":"https://github.com/mirage/ocaml-pcap/pull/3","id":59936258,"number":3,"title":"Refactoring library; add command line tool","user":{"login":"mor1","id":167904,"avatar_url":"https://avatars.githubusercontent.com/u/167904?v=3","gravatar_id":"","url":"https://api.github.com/users/mor1","html_url":"https://github.com/mor1","followers_url":"https://api.github.com/users/mor1/followers","following_url":"https://api.github.com/users/mor1/following{/other_user}","gists_url":"https://api.github.com/users/mor1/gists{/gist_id}","starred_url":"https://api.github.com/users/mor1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mor1/subscriptions","organizations_url":"https://api.github.com/users/mor1/orgs","repos_url":"https://api.github.com/users/mor1/repos","events_url":"https://api.github.com/users/mor1/events{/privacy}","received_events_url":"https://api.github.com/users/mor1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-05T11:00:41Z","updated_at":"2015-03-05T17:59:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mirage/ocaml-pcap/pulls/3","html_url":"https://github.com/mirage/ocaml-pcap/pull/3","diff_url":"https://github.com/mirage/ocaml-pcap/pull/3.diff","patch_url":"https://github.com/mirage/ocaml-pcap/pull/3.patch"},"body":"Based on my `refactor` branch -- but that had got out of hand, so I've recreated the changes as a smaller, more coherent set of commits.\r\n\r\nNeeds documentation, flow parsing, replacement of in-library dissectors with access to wire formats from other protocol libraries (`ocaml-dns`, `tcpip` etc). But it's hopefully still an improvement nonetheless.\r\n\r\n@avsm @djs55 @yomimono @hannesm"},"comment":{"url":"https://api.github.com/repos/mirage/ocaml-pcap/issues/comments/77414733","html_url":"https://github.com/mirage/ocaml-pcap/pull/3#issuecomment-77414733","issue_url":"https://api.github.com/repos/mirage/ocaml-pcap/issues/3","id":77414733,"user":{"login":"mor1","id":167904,"avatar_url":"https://avatars.githubusercontent.com/u/167904?v=3","gravatar_id":"","url":"https://api.github.com/users/mor1","html_url":"https://github.com/mor1","followers_url":"https://api.github.com/users/mor1/followers","following_url":"https://api.github.com/users/mor1/following{/other_user}","gists_url":"https://api.github.com/users/mor1/gists{/gist_id}","starred_url":"https://api.github.com/users/mor1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mor1/subscriptions","organizations_url":"https://api.github.com/users/mor1/orgs","repos_url":"https://api.github.com/users/mor1/repos","events_url":"https://api.github.com/users/mor1/events{/privacy}","received_events_url":"https://api.github.com/users/mor1/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T17:59:56Z","updated_at":"2015-03-05T17:59:56Z","body":"@avsm may do, haven't really checked, but based on @hannes comments not sure helpful?\r\n\r\n@hannesm @yomimono agree entirely, that would be a next step. at the moment i'm adding dns parsing via `ocaml-dns` to see how easy it is. error handling looks like something that needs to be thought through to make it easy. \r\n\r\n@samoht that sounds sensible -- should i spend some time pulling out `dns-format`, `tcpip-format` into separate packages then?"}}