Wireshark-dev: Re: [Wireshark-dev] adding a new nvme dissector - pre-commit verifications

From: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Date: Wed, 25 Jan 2017 16:41:40 +0100
Hi Nitzan,

2017-01-25 0:26 GMT+01:00 Nitzan Carmi <nitzanc@xxxxxxxxxxxx>:

Hi,

 

At the past month I've been working on a new dissector for Wireshark, to parse NVME protocol (with a focus on the fabrics channel – Infiniband/RDMA).

So far, although not all commands are fully parsed yet (lots of commands to cover), the dissection flow is working correctly, thus I think I reached a milestone and

this is a good time to share the code and take comments before I continue.

But, since I am new to Wireshark, I would like to know (and save everybody's time) if there are things I need to check or pay attention to

(beyond the fuzz testing I already read about) Before I push my dissector to gerrit for review.


Ensure to copy the tools/pre-commit and tools/commit-msg files in the .git/hooks folder of your Wireshark source code. It will run various checks locally during the 'git commit' command execution and will automatically add the Change-Id line required by Gerrit to your commit message.

Best regards,
Pascal.