Rule of Shared Repository » 履歴 » バージョン 5
Kousuke Ebihara, 2010-05-07 15:44
Added description for branches
1 | 1 | Kousuke Ebihara | h1. Rule of Shared Repository |
---|---|---|---|
2 | |||
3 | h2. Overview |
||
4 | |||
5 | This document provides rule of handling shared repository of developing OpenPNE3. |
||
6 | |||
7 | In this document, the "shared repository" means that is git://github.com/openpne/OpenPNE3.git. |
||
8 | |||
9 | Everyone must follow this rule to handle the shared repository. |
||
10 | |||
11 | h2. Repository Collaborators |
||
12 | |||
13 | Repository collaborators can handle the shared repository. |
||
14 | |||
15 | 4 | Kousuke Ebihara | The following is the list of current collaborators (as of May 7, 2010): |
16 | 1 | Kousuke Ebihara | * "ebihara":https://github.com/ebihara |
17 | * "balibali":https://github.com/balibali |
||
18 | * "ShinichiU":https://github.com/ShinichiU |
||
19 | * "fukamachi":https://github.com/fukamachi |
||
20 | * "uzura8":https://github.com/uzura8 |
||
21 | * "nothan":https://github.com/nothan |
||
22 | * "kawahara":https://github.com/kawahara |
||
23 | 4 | Kousuke Ebihara | * "yukikame":https://github.com/yukikame |
24 | 1 | Kousuke Ebihara | |
25 | If you think that you are worthy of repository collaborators, please tell your GitHub account to ebihara@tejimaya.com. |
||
26 | |||
27 | h2. Committing |
||
28 | |||
29 | h3. Direct Committing |
||
30 | |||
31 | Committing direct is not allowed excepting few cases. |
||
32 | |||
33 | Release Manager can directly commit when he works for releasing. |
||
34 | |||
35 | In other cases, anyone must work in his own clone. |
||
36 | |||
37 | h3. Commit Messages |
||
38 | |||
39 | In merging, commit messages must follow the following rule: |
||
40 | * A message must be written in English. A message can contain other languages, but that must be explained in English. |
||
41 | 2 | Kousuke Ebihara | * A message must contain related ticket ID. The ID must be specified with "refs" or "fixes" keyword. We have useful hook script for keeping it: http://gist.github.com/202866 |
42 | 1 | Kousuke Ebihara | e.g. "Added ability to delete member from the mobile_backend application (refs #1)", "Added ability to configure gadgets from the mobile_backend application. Adding support to manage SNS from mobile is now completed. (fixes #1)" |
43 | * A message must tell everyone what the commit is. |
||
44 | |||
45 | A commit that doesn't follow this rule, most likely is rejected. |
||
46 | |||
47 | h2. Merging |
||
48 | |||
49 | If you developed something or got "Pull Request", please merge it. After merging, you must check changes. If the changes has some faults, contact author about it to fix them. |
||
50 | |||
51 | 3 | Kousuke Ebihara | If changes looks fine, push it to shared repository, and change a status of the related ticket to "Pending Review". (Changing status is doing automatically if a commit is related with a ticket by the "fixes" keyword in its message) |
52 | 5 | Kousuke Ebihara | |
53 | h2. Branches |
||
54 | |||
55 | Branches of the shared repository must limit the release branches (they contain the master branch). Don't push a branch for your work. You should create such a branch to your repository. |