]> git.cworth.org Git - notmuch-wiki/blob - nmbug.mdwn
nmbug.mdwn: fix typo
[notmuch-wiki] / nmbug.mdwn
1 # Experimental Tag Sharing / Pseudo-Bug-Tracking for/with notmuch
2
3 ## getting set up
4
5 1. The current set of patches against notmuch master is in branch nmbug, 
6
7     git://pivot.cs.unb.ca/notmuch.git
8
9     Currently you need at least the version of notmuch in master, and
10     the script in contrib/nmbug.
11       
12 2. The current tag repo is at
13
14     git clone --bare git://pivot.cs.unb.ca/nmbug.git $HOME/.nmbug
15
16
17 ## Using nmbug
18
19     # suck in the tags
20     $ nmbug checkout
21
22     [ do some tagging; see below for conventions ]
23     
24     $ nmbug commit
25
26
27 ## Submitting tags.
28
29    For the moment, we are using a central repo, hosted at
30     
31         git@pivot.cs.unb.ca:pub/nmbug
32         
33    To get push access, send your public key (ideally in a gpg signed
34    email) to David Bremner.  There is a convenience command
35    
36        nmbug push
37        
38    But you will have to change your url with
39    
40        git remote origin set-url git@pivot.cs.unb.ca:pub/nmbug
41
42 ## Tagging conventions
43
44     notmuch::bug                is a bug report
45     notmuch::emacs              is a patch/bug for the emacs UI
46     notmuch::feature            provides a new feature
47     notmuch::fix                fixes a bug
48     notmuch::obsolete           replaced by some other patch
49     notmuch::patch           
50     notmuch::portability        improves portability
51     notmuch::pushed             is pushed to master
52     notmuch::review             is a review
53     notmuch::reviewed           has been (well) reviewed
54     notmuch::test               provides a new test/or improves testing
55
56 ## Design notes
57
58 ### Disk format.
59
60 The tags are stored in a bare-repo, which means they are not obviously
61 visible. There is an `nmbug archive` command analogous to `git
62 archive` Tags are represented as empty files in the tree; if you extra
63 them, the tree looks something like
64
65
66     tags/878waiwi0f.wl%25james@hackervisions.org/
67     tags/878waiwi0f.wl%25james@hackervisions.org/emacs
68     tags/878waiwi0f.wl%25james@hackervisions.org/patch
69     tags/87aa8j7hqu.fsf@zancas.localnet/
70     tags/87aa8j7hqu.fsf@zancas.localnet/patch
71     tags/87aa8j7hqu.fsf@zancas.localnet/pushed
72
73 The `%25` represents hex code for a character that cannot be used directly
74 (in this case %, only because it is needed as an escape).
75
76 ### Assumptions
77
78 - Currently the parser of nmbug (like that of notmuch restore) assumes 
79   that there are no spaces in message-ids.
80     
81     
82     
83