summaryrefslogtreecommitdiff
path: root/HACKING
blob: 049d1ade96e4557026ca4950e62c965f446126cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
guidelines for pluma
====================

pluma source code is maintained using the git version control system
and is available at the following location:

    https://github.com/mate-desktop/pluma

Please don't commit directly to the git repository unless
you have been given the green light to commit freely to pluma. 
When in doubt assume you haven't ;-).

Please attach patches in GitHub.
If the patch fixes a bug that is not reported yet or is
an enhancement, create a new bugreport.

If you are a translator feel free to mark strings for translation,
fix typos in the code, etc.

Please send patches for build & configure fixes too.  I really appreciate
your help, I just want to review these fixes before applying.

If you are a "build sheriff", feel free to commit fixes for build and 
configure (please, send me an e-mail with the patch you have applied).

When committing to the pluma git repository make sure to include a
meaningful commit message. Changes without a sufficient commit message
will be reverted. Commit messages should have the following format:

=== begin example commit ===
Short explanation of the commit

Longer explanation explaining exactly what's changed, whether any
external or private interfaces changed, what bugs were fixed (with bug
tracker reference if applicable) and so forth. Be concise but not too brief.
=== end example commit ===

  - Always add a brief description of the commit to the _first_ line of
    the commit and terminate by two newlines (it will work without the
    second newline, but that is not nice for the interfaces).

  - First line (the brief description) must only be one sentence and
    should start with a capital letter unless it starts with a lowercase
    symbol or identifier. Don't use a trailing period either. Don't exceed
    72 characters.

  - The main description (the body) is normal prose and should use normal
    punctuation and capital letters where appropriate. Normally, for patches
    sent to a mailing list it's copied from there.

  - When committing code on behalf of others use the --author option, e.g.
    git commit -a --author "Joe Coder <joe@coder.org>" and --signoff.


Thanks,

  The pluma team.