Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id A18DB429E25 for ; Sat, 29 Oct 2011 09:45:39 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o7Odnpb8YIGG for ; Sat, 29 Oct 2011 09:45:39 -0700 (PDT) Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id F0B6F431FB6 for ; Sat, 29 Oct 2011 09:45:38 -0700 (PDT) Received: from zancas.localnet (fctnnbsc36w-156034064058.pppoe-dynamic.High-Speed.nb.bellaliant.net [156.34.64.58]) (authenticated bits=0) by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id p9TGjYJA022539 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Sat, 29 Oct 2011 13:45:37 -0300 Received: from bremner by zancas.localnet with local (Exim 4.76) (envelope-from ) id 1RKC2I-0002i1-CV for notmuch@notmuchmail.org; Sat, 29 Oct 2011 13:45:34 -0300 From: David Bremner To: notmuch@notmuchmail.org Subject: Experimental Tag Sharing Date: Sat, 29 Oct 2011 13:45:06 -0300 Message-Id: <1319906707-10141-1-git-send-email-david@tethera.net> X-Mailer: git-send-email 1.7.6.3 In-Reply-To: <1319857491-12298-5-git-send-email-david@tethera.net> References: <1319857491-12298-5-git-send-email-david@tethera.net> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Oct 2011 16:45:39 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 OK, here is my rough and ready attempt at tag sharing. I figure we can smooth out the rough edges if/when we agree on a set of tags and preferably on an on-disk format. How to play? - - Apply all the patches in this thread (starting id:"1319383133-11006-1-git-send-email-david@tethera.net") - - to git master git clone git://pivot.cs.unb.ca/nmbug.git $HOME/.nmbug - - put the script nmbug somewhere # suck in the tags $ nmbug restore [ do some tagging ] $ nmbug dump $ cd $HOME/.nmbug && git add tags && git commit now you have to get the changes into the "master" repo. I think hosting this on git.notmuchmail.org in a seperate repo will make sense, but for now, if you want to participate in the experiment, send me your public key (ideally in a gpg signed mail, but if not, oh well), and you can push to my repo at git@pivot.cs.unb.ca:pub/nmbug Probably the most crucial thing is that we agree on some set of tags. Here is the set of tags I am working with (output from notmuch search --output=tags "*" | grep ^notmuch:: ) notmuch::bug is a bug report notmuch::feature provides a new feature notmuch::fix fixes a bug notmuch::obsolete replaced by some other patch notmuch::patch notmuch::portability improves portability notmuch::pushed is pushed to master notmuch::review is a review notmuch::reviewed has been (well reviewed) notmuch::test provides a new test/or improves testing The prefix "notmuch::" is hardcoded into the script, but everything else is easy to change with the usual notmuch operations. Of course we can change the prefix too. I decided on :: because it needed less escaping. On think I'm not sure about is how to handle ideas like "voting", and "signing off" with tags. I suspect we can come up with some conventions like "notmuch::review1", or "notmuch::vote1".."notmuch::vote5". But maybe people have less kludgy ideas. Remember, perfect is the enemy of good ;) David -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iJwEAQECAAYFAk6sLWQACgkQTiiN/0Um85k5JQP+PZ0ycrNTTZZ72PyXbDQzrv4+ dDKopxh+WpeORjWu8gvj+LNMM3A8n0t4/A12mxrG9cUJxg2HTPUtRo9Zi7dFQzct uGvSOvQ6GocUretW0BaK/yp53v0R7b00qxvxAvUeoZPgIWGtqp52fXW8d0I2yAUn 079okQwPYdbowaPAX1A= =+E8F -----END PGP SIGNATURE-----