-
Notifications
You must be signed in to change notification settings - Fork 17
/
CONTRIBUTING
43 lines (40 loc) · 2.15 KB
/
CONTRIBUTING
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
Thanks for your interest in contributing to eCryptfs!
Here are a few instructions to help get started...
To contribute to ecryptfs-utils (user space):
1) Create and login to your account
- https://launchpad.net
2) Ensure that you have published your public SSH
- https://launchpad.net/~/+editsshkeys
3) Download, install, and configure 'bzr'
- http://wiki.bazaar.canonical.com/Download
4) Branch the source code
- bzr branch lp:ecryptfs
5) File a bug against eCryptfs
- https://bugs.launchpad.net/ecryptfs/+filebug
6) Make your changes, and commit with an informative change log entry,
and mention the bug number in the form 'LP: #xxxxxx' in the commit
- bzr commit --fixes lp:xxxxxx
7) Push your changes to your own branch
- bzr push lp:~/ecryptfs/xxxxxx
8) When you're ready, you can propose your branch for merging
- https://code.launchpad.net/~/ecryptfs/xxxxxx/+register-merge
9) And we'll take it from there!
To contribute to ecryptfs (kernel space):
1) You can typically develop fixes against Linus' tree
- git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
However, new features should be developed against linux-next
- git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
2) Make your changes, signoff, and commit, following the guidelines in:
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob_plain;f=Documentation/SubmittingPatches;hb=HEAD
3) Create a proper patch using
- git format-patch
4) As SubmittingPatches suggests, please do a style check with
scripts/checkpatch.pl, which can be found in the kernel source tree
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob_plain;f=scripts/checkpatch.pl;hb=HEAD
5) It is common for first time contributors to use a mail client that mangles
patches so you may want to verify that there are no known issues with the
client that you use
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob_plain;f=Documentation/email-clients.txt;hb=HEAD
6) Email your patch inline with, at least, the following headers: