Gentoo Archives: gentoo-commits

From: Sebastien Fabbro <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: /
Date: Tue, 28 Jan 2014 19:46:30
Message-Id: 1390384208.a3f4fd29d5d2b87b5bd04cb9d5ab57db266cc27d.bicatali@gentoo
1 commit: a3f4fd29d5d2b87b5bd04cb9d5ab57db266cc27d
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 22 09:50:08 2014 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 22 09:50:08 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=a3f4fd29
7
8 For Contributors ready
9
10 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
11
12 ---
13 CONTRIBUTING.md | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++--
14 1 file changed, 63 insertions(+), 2 deletions(-)
15
16 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
17 index 7579f6d..f4e7e95 100644
18 --- a/CONTRIBUTING.md
19 +++ b/CONTRIBUTING.md
20 @@ -1,7 +1,68 @@
21 #Contributions to the Gentoo Science Overlay
22
23 +----
24 ##Prerequisite
25
26 -###For Contributors
27 +###Requiered
28
29 -###For Maintainers
30 +* Everybody who wants to contribute should own an account at [github](https://github.com/join). Please register yourself there.
31 +
32 +###Recommended
33 +* **Define echangelog user**
34 +
35 +Make sure the ECHANGELOG_USER variable is present in your environment.
36 +
37 + echo 'export ECHANGELOG_USER="John Smith <john@×××××.com>"' >> ~/.bashrc
38 +
39 +###Optional
40 +* **Setup commit signing**
41 +
42 +Create a [gpg key](http://www.gossamer-threads.com/lists/gentoo/dev/268496?do=post_view_threaded) if you don't have one already and make git use it.
43 +
44 + git config --global user.signingkey <gpg-key-id>
45 +
46 +
47 +* **Install [hub](http://hub.github.com/)**, the "command-line wrapper for git that makes you better at GitHub".
48 +
49 +This file will use *hub* because of it's convenience when working with github.
50 +
51 + emerge dev-vcs/hub
52 +
53 +
54 +----
55 +##For Contributors
56 +
57 +
58 +First clone the overlay
59 +
60 + hub clone gentoo-science/sci
61 +
62 +
63 + cd sci
64 +
65 +
66 +It is always convenient for development as well as for the review and merging process, if the development is done in branches.
67 +
68 + git checkout -b my-feature master
69 +
70 +Now you can work on you package of interest. Once you are finished you should _always_ use **[repoman](http://dev.gentoo.org/~zmedico/portage/doc/man/repoman.1.html)** to check, verify and commit your changes.
71 +
72 +Static analysis can be done with
73 +
74 + repoman full
75 +
76 +Once *all* reported problems are resolved, you can commit it
77 +
78 + echangelog "Here we write a comprehensible ChangeLog message"
79 + repoman -m "Here we write a comprehensible commit message" commit
80 +
81 +
82 +
83 +----
84 +##For Maintainers
85 +
86 +
87 +---
88 +This document is available under [Creative Commons Attribution ShareAlike 4.0](http://creativecommons.org/licenses/by-sa/4.0)
89 +
90 +![ccsa-4 icon](http://i.creativecommons.org/l/by-sa/4.0/88x31.png)
91 \ No newline at end of file