]> arthur.barton.de Git - bup.git/blob - HACKING
do_bloom(): remove unused "count" variable
[bup.git] / HACKING
1
2 Conventions?  Are you kidding?  OK fine.
3
4 Code Branching Model
5 ====================
6
7 The master branch is what we consider the main-line of development,
8 and the last, non-rc tag on master is the most recent stable release.
9
10 Any branch with a "tmp/" prefix might be rebased (often), so keep that
11 in mind when using or depending on one.
12
13 Any branch with a "tmp/review/" prefix corresponds to a patchset
14 submitted to the mailing list.  We try to maintain these branches to
15 make the review process easier for those not as familiar with patches
16 via email.
17
18
19 Current Trajectory
20 ==================
21
22 Now that we've finished the 0.26 release, we're working on 0.27, and
23 although we're not certain which new features will be included, here
24 are some possible candidates:
25
26   - Support for transferring saves between repositories and rewriting
27     branches.
28
29   - Better VFS performance for large repositories (i.e. fuse, ls,
30     web...).
31
32   - Incremental indexing via inotify.
33
34   - Support for rm/gc.
35
36   - Smarter (and quieter) handling of cross-filesystem metadata.
37
38 If you have the time and inclination, please help review patches
39 posted to the list, or post your own.  (See "ways to help" below.)
40
41
42 More specific ways to help
43 ==========================
44
45 Testing -- yes please.  
46
47 With respect to patches, bup development is handled via the mailing
48 list, and all patches should be sent to the list for review (see
49 "Submitting Patches" below).
50
51 In most cases, we try to wait until we have at least one or two
52 "Reviewed-by:" replies to a patch posted to the list before
53 incorporating it into master, so reviews are an important way to help.
54 We also love a good "Tested-by:" -- the more the merrier.
55
56
57 Submitting patches
58 ==================
59
60 As mentioned, all patches should be posted to the mailing list for
61 review, and must be "signed off" by the author before official
62 inclusion (see ./SIGNED-OFF-BY).  You can create a "signed off" set of
63 patches in ./pending, ready for submission to the list, like this:
64
65     git format-patch -s -o patches origin/master
66
67 which will include all of the patches since origin/master on your
68 current branch.  Then you can send them to the list like this:
69
70     git send-email --to bup-list@googlegroups.com --compose patches/*
71
72 The use of --compose will cause git to ask you to edit a cover letter
73 that will be sent as the first message.
74
75 It's also possible to handle everything in one step:
76
77     git send-email -s --to bup-list@googlegroups.com --compose origin/master
78
79 and you can add --annotate if you'd like to review or edit each patch
80 before it's sent.
81
82 For single patches, this might be easier:
83
84     git send-email -s --to bup-list@googlegroups.com --annotate -n1 HEAD
85
86 which will send the top patch on the current branch, and will stop to
87 allow you to add comments.  You can add comments to the section with
88 the diffstat without affecting the commit message.
89
90 Of course, unless your machine is set up to handle outgoing mail
91 locally, you may need to configure git to be able to send mail.  See
92 git-send-email(1) for further details.
93
94 Oh, and we do have a ./CODING-STYLE, hobgoblins and all, though don't
95 let that scare you off.  We're not all that fierce.
96
97
98 Even More Generally
99 ===================
100
101 It's not like we have a lot of hard and fast rules, but some of the
102 ideas here aren't altogether terrible:
103
104   http://www.kernel.org/doc/Documentation/SubmittingPatches
105
106 In particular, we've been paying at least some attention to the bits
107 regarding Acked-by:, Reported-by:, Tested-by: and Reviewed-by:.