mbox: ignore the first line of an mbox when generating hash

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
config: search for config file location in path

This allows for project-specific directories much like git.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
fetch: allow reading fetch url from config file

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
mbox: fix hash calculation (again)

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
fetch: be more aggressive about not re-fetching mboxes that haven't changed

Don't rely on the previously published hash, instead, calculate the old hash
directly.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Add an init command to setup a config file

It can also fetch as part of init if a URL is specified.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
query: add 'any' and 'all' modifiers to search

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
query: add id: function

For querying for specific message ids.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
query: allow matching based on tag names

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
query: rewrite query handling

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
query: move list command to list.py and limit query to query logic

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
scan: make sure to look for PULL requests without a PATCH tag

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
query: add date to full list

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
nntp: add setup and refresh commands

This is bare bones support for automatically populating a notmuch database
from gmane.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
nntp: initial support for setting up a git repository

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
config: add a config command to retrieve configuration values

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
scan: be more robust against malformed patch versions

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
config: rewrite so that default values can be obtained through config command

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>