@@ -27,19 +27,6 @@ access to all the Hyperledger community development tools, including
27
27
`Jira <https://jira.hyperledger.org >`__ and the
28
28
`Wiki <https://wiki.hyperledger.org/start >`__ (for editing, only).
29
29
30
- Setting up your SSH key
31
- ~~~~~~~~~~~~~~~~~~~~~~~
32
-
33
- For Gerrit, before you can submit any change set for review, you will
34
- need to register your public SSH key. Login to
35
- `Gerrit <https://gerrit.hyperledger.org >`__ with your
36
- :doc: `LFID <Gerrit/lf-account >`, and click on your name in the upper
37
- right-hand corner of your browser window and then click 'Settings'. In
38
- the left-hand margin, you should see a link for 'SSH Public Keys'.
39
- Copy-n-paste your `public SSH
40
- key <https://help.github.com/articles/generating-an-ssh-key/> `__ into
41
- the window and press 'Add'.
42
-
43
30
Getting help
44
31
------------
45
32
@@ -54,29 +41,38 @@ and will be glad to help. The only silly question is the one you don't
54
41
ask. Questions are in fact a great way to help improve the project as
55
42
they highlight where our documentation could be clearer.
56
43
57
- Requirements and Use Cases
58
- --------------------------
59
-
60
- We have a `Requirements
61
- WG <https://wiki.hyperledger.org/groups/requirements/requirements-wg> `__
62
- that is documenting use cases and from those use cases deriving
63
- requirements. If you are interested in contributing to this effort,
64
- please feel free to join the discussion in
65
- `chat <https://chat.hyperledger.org/channel/requirements/ >`__.
66
-
67
44
Reporting bugs
68
45
--------------
69
46
70
- If you are a user and you find a bug, please submit an issue using
47
+ If you are a user and you have found a bug, please submit an issue using
71
48
`JIRA <https://jira.hyperledger.org/secure/Dashboard.jspa?selectPageId=10104 >`__.
72
- Please try to provide sufficient information for someone else to reproduce the
49
+ Before you create a new JIRA issue, please try to search the existing items to
50
+ be sure no one else has previously reported it. If it has been previously
51
+ reported, then you might add a comment that you also are interested in seeing
52
+ the defect fixed.
53
+
54
+ .. note :: If the defect is security-related, please follow the Hyperledger
55
+ `security bug reporting process <https://wiki.hyperledger.org/security/bug-handling-process> `.
56
+
57
+ If it has not been previously reported, create a new JIRA. Please try to provide
58
+ sufficient information for someone else to reproduce the
73
59
issue. One of the project's maintainers should respond to your issue within 24
74
60
hours. If not, please bump the issue with a comment and request that it be
75
61
reviewed. You can also post to the relevant fabric channel in
76
62
`Hyperledger Rocket Chat <https://chat.hyperledger.org >`__. For example, a doc bug should
77
63
be broadcast to ``#fabric-documentation ``, a database bug to ``#fabric-ledger ``,
78
64
and so on...
79
65
66
+ Submitting your fix
67
+ -------------------
68
+
69
+ If you just submitted a JIRA for a bug you've discovered, and would like to
70
+ provide a fix, we would welcome that gladly! Please assign the JIRA issue to
71
+ yourself, then you can submit a change request (CR).
72
+
73
+ .. note :: If you need help with submitting your first CR, we have created a
74
+ brief :doc: `tutorial <submit_cr >` for you.
75
+
80
76
Fixing issues and working stories
81
77
---------------------------------
82
78
@@ -117,29 +113,12 @@ Getting the support of three or more of the Hyperledger Fabric maintainers for t
117
113
feature will greatly enhance the probability that the feature's related CRs
118
114
will be merged.
119
115
120
- Working with a local clone and Gerrit
121
- -------------------------------------
122
-
123
- We are using
124
- `Gerrit <https://gerrit.hyperledger.org/r/#/admin/projects/fabric >`__ to
125
- manage code contributions. If you are unfamiliar, please review this
126
- :doc: `document <Gerrit/gerrit >` before proceeding.
127
-
128
- After you have familiarized yourself with ``Gerrit ``, and maybe played
129
- around with the ``lf-sandbox ``
130
- `project <https://gerrit.hyperledger.org/r/#/admin/projects/lf-sandbox,branches >`__,
131
- you should be ready to set up your local development
132
- :doc: `environment <dev-setup/devenv >`.
116
+ Setting up development environment
117
+ ----------------------------------
133
118
134
119
Next, try :doc: `building the project <dev-setup/build >` in your local
135
120
development environment to ensure that everything is set up correctly.
136
121
137
- The :doc: `logging-control ` document describes how to tweak
138
- the logging levels of various components within Hyperledger Fabric. Finally,
139
- every source file needs to include a
140
- `license header <https://github.com/hyperledger/fabric/blob/master/docs/source/dev-setup/headers.txt >`__: modified to include a copyright
141
- statement for the principle author(s).
142
-
143
122
What makes a good change request?
144
123
---------------------------------
145
124
@@ -189,9 +168,9 @@ What makes a good change request?
189
168
bunch of generated code (protobufs, etc.). Again, there can be
190
169
exceptions.
191
170
192
- Note: large change requests, e.g. those with more than 300 LOC are more likely
193
- than not going to receive a -2, and you'll be asked to refactor the change
194
- to conform with this guidance.
171
+ .. note :: Large change requests, e.g. those with more than 300 LOC are more likely
172
+ than not going to receive a -2, and you'll be asked to refactor the
173
+ change to conform with this guidance.
195
174
196
175
- Do not stack change requests (e.g. submit a CR from the same local branch
197
176
as your previous CR) unless they are related. This will minimize merge
@@ -203,18 +182,19 @@ What makes a good change request?
203
182
character title, followed by a blank line, followed by a more
204
183
comprehensive description of the change. Each change MUST include the JIRA
205
184
identifier corresponding to the change (e.g. [FAB-1234]). This can be
206
- in the title but should also be in the body of the commit message.
207
-
208
- Note that Gerrit will automatically create a hyperlink to the JIRA item .
185
+ in the title but should also be in the body of the commit message. See the
186
+ :doc: ` complete requirements < Gerrit/changes >` for an acceptable change
187
+ request .
209
188
210
- e.g.
189
+ .. note :: That Gerrit will automatically create a hyperlink to the JIRA item.
190
+ e.g.
211
191
212
- ::
192
+ ::
213
193
214
- [FAB-1234] fix foobar() panic
194
+ [FAB-1234] fix foobar() panic
215
195
216
- Fix [FAB-1234] added a check to ensure that when foobar(foo string) is called,
217
- that there is a non-empty string argument.
196
+ Fix [FAB-1234] added a check to ensure that when foobar(foo string)
197
+ is called, that there is a non-empty string argument.
218
198
219
199
Finally, be responsive. Don't let a change request fester with review
220
200
comments such that it gets to a point that it requires a rebase. It only
0 commit comments