Add contributing guide 01/23201/2
authorYujun Zhang <zhang.yujunz@zte.com.cn>
Mon, 17 Oct 2016 02:59:43 +0000 (10:59 +0800)
committerYujun Zhang <zhang.yujunz@zte.com.cn>
Mon, 17 Oct 2016 03:01:42 +0000 (11:01 +0800)
Change-Id: I5f94bf4e7503cd5edaeae1f20186fcbaf121d033
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
CONTRIBUTING.rst [new file with mode: 0644]

diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst
new file mode 100644 (file)
index 0000000..d3e21b8
--- /dev/null
@@ -0,0 +1,79 @@
+####################
+Contributing to QTIP
+####################
+
+First of all, thanks for taking your time to contribute.
+
+QTIP is a project in OPNFV. If you are new to OPNFV, you may read
+:title:`Developer Getting Started`_ first.
+
+***********
+Peer Review
+***********
+
+Peer review is the most important communication channel between developers.
+Every subtle change to the code or document **MUST** be reviewed before
+submission.
+
+Please make sure there is at least one ``+1`` or ``+2`` from others before
+submitting[#f1] a patch set.
+
+****************
+Tasks and Issues
+****************
+
+Tasks and issues are management in `JIRA`_. The usage of different
+:title:`Issue Types`_ in QTIP are as following:
+
+* ``Task``: it must be achievable in **one sprint**, otherwise it needs to be split.
+* ``Sub-Task``: it must be resolvable by **one developer** within **one sprint**,
+otherwise it need to be split.
+
+``Bug``, ``New Feature``, ``Improvement``, ``Story`` and ``Epic`` are not
+restricted by time frame. But it is recommended to to define the scope clearly
+and break down into manageable tasks.
+
+*****************
+Development Cycle
+*****************
+
+QTIP follows the cycle of `OPNFV Releases`_ which is approximately one release
+every half year.
+
+The tasks are organized by sprints, three weeks for each.
+
+The target and content of each sprint is discussed in weekly meeting.
+
+************
+Coding Style
+************
+
+QTIP follows :title:`OpenStack Style Guidelines`_ for source code and commit message.
+
+Specially, it is recommended to link each patch set with a JIRA issue. Put
+
+    JIRA: QTIP-n
+
+in commit message to create an automatic link.
+
+************************
+Frequent Asked Questions
+************************
+
+Q: May I work on task which have already been assigned to others?
+A: Yes. But please make sure you have contacted the original assignee to avoid
+overlapping.
+
+.. rubric:: Footnotes
+
+.. [#f1] only members in ``ldap/opnfv-gerrit-qtip-submitters`` have permission
+to submit. The current members are listed in `INFO`_.
+
+.. rubric:: Reference
+
+.. _Developer Getting Started: https://wiki.opnfv.org/display/DEV/Developer+Getting+Started
+.. _JIRA: https://jira.opnfv.org/browse/QTIP
+.. _OPNFV Releases: https://wiki.opnfv.org/display/SWREL
+.. _Issue Types: https://jira.opnfv.org/secure/ShowConstantsHelp.jspa?decorator=popup#IssueTypes
+.. _OpenStack Style Guidelines: http://docs.openstack.org/developer/hacking/
+.. _INFO: https://git.opnfv.org/cgit/qtip/tree/INFO
\ No newline at end of file