https://github.com/zenhack/notmuch-sync
Tools for syncing notmuch mail
https://github.com/zenhack/notmuch-sync
Last synced: about 2 months ago
JSON representation
Tools for syncing notmuch mail
- Host: GitHub
- URL: https://github.com/zenhack/notmuch-sync
- Owner: zenhack
- License: gpl-3.0
- Created: 2017-03-04T22:31:48.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-05T03:19:17.000Z (about 8 years ago)
- Last Synced: 2025-02-03T13:45:10.584Z (3 months ago)
- Language: Python
- Size: 23.4 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: COPYING
Awesome Lists containing this project
README
|Build Status|
notmuch-sync
============``notmuch-sync`` is a toolbox for syncronizing mail setups of `notmuch`_.
Right now all it contains is a 3-way merge tool for the output of
``notmuch-dump(1)``:::
usage: notmuch-sync
I use this in conjunction with git to synchronize my tags. In ``~/.gitconfig``:
::
[merge "notmuchtags"]
name = Notmuch tag merge driver
driver = notmuch-sync %O %B %A %A
recursive = binaryAnd then in ``.gitattributes`` at the root of the repo:
::
_tagsdump merge=notmuchtags
Where _tagsdump generated from ``notmuch-dump`` before each commit/merge, and
restored with ``notmuch-restore`` after the merge.The downside with this is that it expects a full list of tags, which can get
slow to import/export when there's a lot of mail. I intend to solve this
problem soonish.License
-------::
Copyright (C) 2017 Ian Denhardt
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program. If not, see ... |Build Status| image:: https://travis-ci.org/zenhack/notmuch-sync.svg?branch=master
:target: https://travis-ci.org/zenhack/notmuch-sync.. _notmuch: https://notmuchmail.org/