What's cooking (2011/10 #09)
[alt-git.git] / MaintNotes
blob9361d63a9085b5cc67667c1a0917da78efdef4aa
1 Welcome to git development community.
3 This message is written by the maintainer and talks about how Git
4 project is managed, and how you can work with it.
6 * Mailing list and the community
8 The development is primarily done on the Git mailing list. Help
9 requests, feature proposals, bug reports and patches should be sent to
10 the list address <git@vger.kernel.org>.  You don't have to be
11 subscribed to send messages.  The convention on the list is to keep
12 everybody involved on Cc:, so it is unnecessary to ask "Please Cc: me,
13 I am not subscribed".
15 Before sending patches, please read Documentation/SubmittingPatches
16 and Documentation/CodingGuidelines to familiarize yourself with the
17 project convention.
19 If you sent a patch and you did not hear any response from anybody for
20 several days, it could be that your patch was totally uninteresting,
21 but it also is possible that it was simply lost in the noise.  Please
22 do not hesitate to send a reminder message in such a case.  Messages
23 getting lost in the noise is a sign that people involved don't have
24 enough mental/time bandwidth to process them right at the moment, and
25 it often helps to wait until the list traffic becomes calmer before
26 sending such a reminder.
28 The list archive is available at a few public sites as well:
30         http://news.gmane.org/gmane.comp.version-control.git/
31         http://marc.theaimsgroup.com/?l=git
32         http://www.spinics.net/lists/git/
34 and some people seem to prefer to read it over NNTP:
36         nntp://news.gmane.org/gmane.comp.version-control.git
38 When you point at a message in a mailing list archive, using
39 gmane is often the easiest to follow by readers, like this:
41         http://thread.gmane.org/gmane.comp.version-control.git/27/focus=217
43 as it also allows people who subscribe to the mailing list as gmane
44 newsgroup to "jump to" the article.
46 Some members of the development community can sometimes also be found
47 on the #git IRC channel on Freenode.  Its log is available at:
49         http://colabti.org/irclogger/irclogger_log/git
51 * Reporting bugs
53 When you think git does not behave as you expect, please do not stop your
54 bug report with just "git does not work".  "I tried to do X but it did not
55 work" is not much better, neither is "I tried to do X and git did Y, which
56 is broken".  It often is that what you expect is _not_ what other people
57 expect, and chances are that what you expect is very different from what
58 people who have worked on git have expected (otherwise, the behavior
59 would have been changed to match that expectation long time ago).
61 Please remember to always state
63  - what you wanted to do;
65  - what you did (the version of git and the command sequence to reproduce
66    the behavior);
68  - what you saw happen;
70  - what you expected to see; and
72  - how the last two are different.
74 See http://www.chiark.greenend.org.uk/~sgtatham/bugs.html for further
75 hints.
77 * Repositories, branches and documentation.
79 My public git.git repository is at:
81         git://git.kernel.org/pub/scm/git/git.git/
82         git://repo.or.cz/alt-git.git
83         https://github.com/git/git
84         https://code.google.com/p/git-core/
86 Impatient people might have better luck with the latter two (there are a
87 few other mirrors I push into at sourceforge and github as well).
89 Their gitweb interfaces are found at:
91         http://git.kernel.org/?p=git/git.git
92         http://repo.or.cz/w/alt-git.git
94 There are three branches in git.git repository that are not about the
95 source tree of git: "html", "man", and "todo".
97 The "html" and "man" are preformatted documentation from the tip of
98 the "master" branch; the tip of "html" is visible at:
100         http://www.kernel.org/pub/software/scm/git/docs/
101         http://git-core.googlecode.com/git-history/html/git.html
103 The above URL is the top-level documentation page, and it may have
104 links to documentation of older releases.
106 The "todo" branch was originally meant to contain a TODO list for me,
107 but is mostly used to keep some helper scripts I use to maintain git.
108 For example, the script that was used to maintain the two documentation
109 branches are found there as dodoc.sh, which may be a good demonstration
110 of how to use a post-update hook to automate a task after pushing into a
111 repository.
113 There are four branches in git.git repository that track the source tree
114 of git: "master", "maint", "next", and "pu".
116 The "master" branch is meant to contain what are very well tested and
117 ready to be used in a production setting.  Every now and then, a "feature
118 release" is cut from the tip of this branch and they typically are named
119 with three dotted decimal digits.  The last such release was 1.7.7 done on
120 Sept 30, 2011. You can expect that the tip of the "master" branch is always
121 more stable than any of the released versions.
123 Whenever a feature release is made, "maint" branch is forked off from
124 "master" at that point.  Obvious, safe and urgent fixes after a feature
125 release are applied to this branch and maintenance releases are cut from
126 it.  The maintenance releases are named with four dotted decimal, named
127 after the feature release they are updates to; the last such release was
128 1.7.6.4.  New features never go to this branch.  This branch is also
129 merged into "master" to propagate the fixes forward.
131 A new development does not usually happen on "master". When you send a
132 series of patches, after review on the mailing list, a separate topic
133 branch is forked from the tip of "master" and your patches are queued
134 there, and kept out of "master" while people test it out.  The quality of
135 topic branches are judged primarily by the mailing list discussions.
137 Topic branches that are in good shape are merged to the "next" branch. In
138 general, the "next" branch always contains the tip of "master".  It might
139 not be quite rock-solid production ready, but is expected to work more or
140 less without major breakage. The "next" branch is where new and exciting
141 things take place. A topic that is in "next" is expected to be polished to
142 perfection before it is merged to "master" (that's why "master" can be
143 expected to stay more stable than any released version).
145 The "pu" (proposed updates) branch bundles all the remaining topic
146 branches. The topics on the branch are not complete, well tested, nor well
147 documented and need further work. When a topic that was in "pu" proves to
148 be in testable shape, it is merged to "next".
150 You can run "git log --first-parent master..pu" to see what topics are
151 currently in flight.  Sometimes, an idea that looked promising turns out
152 to be not so good and the topic can be dropped from "pu" in such a case.
154 The two branches "master" and "maint" are never rewound, and "next"
155 usually will not be either.  After a feature release is made from
156 "master", however, "next" will be rebuilt from the tip of "master"
157 using the topics that didn't make the cut in the feature release.
159 Note that being in "next" is not a guarantee to appear in the next
160 release, nor even in any future release.  There were cases that topics
161 needed reverting a few commits in them before graduating to "master",
162 or a topic that already was in "next" was reverted from "next" because
163 fatal flaws were found in it after it was merged.
166 * Other people's trees, trusted lieutenants and credits.
168 Documentation/SubmittingPatches outlines to whom your proposed changes
169 should be sent.  As described in contrib/README, I would delegate fixes
170 and enhancements in contrib/ area to the primary contributors of them.
172 Although the following are included in git.git repository, they have their
173 own authoritative repository and maintainers:
175  - git-gui/ comes from git-gui project, maintained by Pat Thoyts:
177         git://repo.or.cz/git-gui.git
179  - gitk-git/ comes from Paul Mackerras's gitk project:
181         git://git.kernel.org/pub/scm/gitk/gitk.git
183 I would like to thank everybody who helped to raise git into the current
184 shape.  Especially I would like to thank the git list regulars whose help
185 I have relied on and expect to continue relying on heavily:
187  - Linus Torvalds, Shawn Pearce, Johannes Schindelin, Nicolas Pitre,
188    René Scharfe, Jeff King, Jonathan Nieder, Johan Herland, Johannes
189    Sixt, Sverre Rabbelier, Michael J Gruber, Nguyễn Thái Ngọc Duy,
190    Ævar Arnfjörð Bjarmason and Thomas Rast on general design and
191    implementation issues and reviews on the mailing list.
193  - Shawn and Nicolas Pitre on pack issues.
195  - Martin Langhoff, Frank Lichtenheld and Ævar Arnfjörð Bjarmason on
196    cvsserver and cvsimport.
198  - Paul Mackerras on gitk.
200  - Eric Wong, David D. Kilzer and Sam Vilain on git-svn.
202  - Simon Hausmann and Pete Wyckoff on git-p4.
204  - Jakub Narebski, John Hawley, Petr Baudis, Luben Tuikov, Giuseppe Bilotta on
205    gitweb.
207  - J. Bruce Fields, Jonathan Nieder, Michael J Gruber and Thomas Rast on
208    documentation (and countless others for proofreading and fixing).
210  - Alexandre Julliard on Emacs integration.
212  - David Aguilar and Charles Bailey for taking good care of git-mergetool
213    (and Theodore Ts'o for creating it in the first place) and git-difftool.
215  - Johannes Schindelin, Johannes Sixt, Erik Faye-Lund, Pat Thoyts and others
216    for their effort to move things forward on the Windows front.
218  - People on non-Linux platforms for keeping their eyes on portability;
219    especially, Randal Schwartz, Theodore Ts'o, Jason Riedy, Thomas Glanzmann,
220    Brandon Casey, Jeff King, Alex Riesen and countless others.
222 * This document
224 The latest copy of this document is found in git.git repository,
225 on 'todo' branch, as MaintNotes.