Experimental Tag Sharing
David Bremner
david at tethera.net
Sat Oct 29 09:45:06 PDT 2011
-----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 at 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 at 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-----
More information about the notmuch
mailing list