Debian Codegraph @

README.commits

raw
1 Evince is part of the GNOME git repository. At the current time, any
2 person with write access to the GNOME repository, can make changes to
3 Evince. This is a good thing, in that it encourages many people to work
4 on Evince, and progress can be made quickly. However, we'd like to ask
5 people committing to Evince to follow a few rules:
6
7 0) Ask first. If your changes are major, or could possibly break existing
8 code, you should always ask. If your change is minor and you've
9 been working on Evince for a while it probably isn't necessary
10 to ask. But when in doubt, ask. Even if your change is correct,
11 somebody may know a better way to do things.
12
13 #gnome-evince on Libera (irc.libera.chat)
14 is also a good place to find Evince developers to discuss changes with.
15
16 1) Ask _first_.
17
18 2) With git, we no longer maintain a ChangeLog file, but you are expected
19 to produce a meaningful commit message. Changes without a sufficient
20 commit message will be reverted. See below for the expected format
21 of commit messages.
22
23 3) Try to separate each change into multiple small commits that are
24 independent ("micro commits" in git speak). This way its easier to
25 see what each change does, making it easier to review, to cherry pick
26 to other branches, to revert, and to bisect.
27
28 Notes:
29
30 * When developing larger features or complicated bug fixes, it is
31 advisable to work in a branch in your own cloned Evince repository.
32 You may even consider making your repository publically available
33 so that others can easily test and review your changes.
34
35 * The expected format for git commit messages is as follows:
36
37 === begin example commit ===
38 Short explanation of the commit
39
40 Longer explanation explaining exactly what's changed, whether any
41 external or private interfaces changed, what bugs were fixed (with bug
42 tracker reference if applicable) and so forth. Be concise but not too brief.
43 === end example commit ===
44
45 - Always add a brief description of the commit to the _first_ line of
46 the commit and terminate by two newlines (it will work without the
47 second newline, but that is not nice for the interfaces).
48
49 - First line (the brief description) must only be one sentence and
50 should start with a capital letter unless it starts with a lowercase
51 symbol or identifier. Don't use a trailing period either. Don't exceed
52 72 characters.
53
54 - The main description (the body) is normal prose and should use normal
55 punctuation and capital letters where appropriate. Normally, for patches
56 sent to a mailing list it's copied from there.
57
58 - When committing code on behalf of others use the --author option, e.g.
59 git commit -a --author "Joe Coder <[email protected]>" and --signoff.
60
61
62 Alexander Larsson
63 17 Apr 2009