gnu: inkscape: Use HTTPS for home page.
[jackhill/guix/guix.git] / HACKING
... / ...
CommitLineData
1-*- mode: org; coding: utf-8; -*-
2
3#+TITLE: Hacking GNU Guix and Its Incredible Distro
4
5Copyright © 2012, 2013, 2014, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
6Copyright © 2015, 2017 Mathieu Lirzin <mthl@gnu.org>
7Copyright © 2017 Leo Famulari <leo@famulari.name>
8Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
9
10 Copying and distribution of this file, with or without modification,
11 are permitted in any medium without royalty provided the copyright
12 notice and this notice are preserved.
13
14* Contributing
15
16See the manual for useful hacking informations, either by running
17
18 info -f doc/guix.info "Contributing"
19
20or by checking the [[http://www.gnu.org/software/guix/manual/guix.html#Contributing][web copy of the manual]].
21
22* Commit Access
23
24For frequent contributors, having write access to the repository is
25convenient. When you deem it necessary, feel free to ask for it on the
26mailing list. When you get commit access, please make sure to follow the
27policy below (discussions of the policy can take place on guix-devel@gnu.org.)
28
29Non-trivial patches should always be posted to guix-patches@gnu.org (trivial
30patches include fixing typos, etc.) This mailing list fills the
31patch-tracking database at [[https://bugs.gnu.org/guix-patches]]; see
32"Contributing" in the manual for details.
33
34For patches that just add a new package, and a simple one, it’s OK to commit,
35if you’re confident (which means you successfully built it in a chroot setup,
36and have done a reasonable copyright and license auditing.) Likewise for
37package upgrades, except upgrades that trigger a lot of rebuilds (for example,
38upgrading GnuTLS or GLib.) We have a mailing list for commit notifications
39(guix-commits@gnu.org), so people can notice. Before pushing your changes,
40make sure to run ‘git pull --rebase’.
41
42All commits that are pushed to the central repository on Savannah must be
43signed with an OpenPGP key, and the public key should be uploaded to your user
44account on Savannah and to public key servers, such as ‘pgp.mit.edu’. To
45configure Git to automatically sign commits, run:
46
47 git config commit.gpgsign true
48 git config user.signingkey CABBA6EA1DC0FF33
49
50You can prevent yourself from accidentally pushing unsigned commits to
51Savannah by using the pre-push Git hook called located at ‘etc/git/pre-push’:
52
53 cp etc/git/pre-push .git/hooks/pre-push
54
55When pushing a commit on behalf of somebody else, please add a Signed-off-by
56line at the end of the commit log message (e.g. with ‘git am --signoff’).
57This improves tracking of who did what.
58
59For anything else, please post to guix-patches@gnu.org and leave time for a
60review, without committing anything. If you didn’t receive any reply
61after two weeks, and if you’re confident, it’s OK to commit.
62
63That last part is subject to being adjusted, allowing individuals to commit
64directly on non-controversial changes on parts they’re familiar with.
65
66* Using emacs-debbugs
67
68Bug reports and patches are tracked using debbugs. If you are on emacs, you
69can use emacs-debbugs.
70
71List all open bug reports on guix-patches with
72
73C-u M-x debbugs-gnu <RET> <RET> guix-patches <RET> n y