File: HACKING

package info (click to toggle)
easytag 2.4.3-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 13,004 kB
  • sloc: ansic: 35,121; sh: 4,199; cpp: 1,002; xml: 714; makefile: 543
file content (49 lines) | stat: -rw-r--r-- 1,656 bytes parent folder | download | duplicates (4)
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
Hacking on EasyTAG
==================

Contributing
------------

If you have a suggestion or found a bug, please either file a bug:

https://bugzilla.gnome.org/enter_bug.cgi?product=easytag

or bring it up on the mailing list:

easytag-list@gnome.org

Patches are best filed on Bugzilla, but a pull request is also fine. For
patches, please:

* keep the first line of the commit messages at 50 characters or less
* do not add a prefix to the commit message, for example "build:"
* provide patches created with "git format-patch"
* add a link to the bug report or mailing list archives where the patch was
  discussed, for example "bug 987654" for GNOME Bugzilla or a URL for other
  services

Coding Style
------------

The original EasyTAG coding style was close to K&R style, with four-space
indents. This has been changed slightly to the following guidelines:

* BSD/Allman brace style
* C89 comments
* one space before opening bracket, none after opening or closing
* four space indent
* try to keep to 80 character lines
* space after ',', spaces around logical operators
* function return values on a line separate from the function name

New code should follow this style.

GtkBuilder UI descriptions
--------------------------

GtkBuilder files are used for describing the EasyTAG UI. The UI files are in
the data directory, and named *.ui. The files are not created with Glade, and
Glade should not be used to edit them, as it will unnecessarily rearrange
content within the file, leading to commit diffs which are difficult to read.
The files are not installed, but instead compiled into a resource bundle and
built into the application binary.