File: contributing.html

package info (click to toggle)
log4net 1.2.10%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 16,720 kB
  • ctags: 3,590
  • sloc: cs: 25,174; xml: 8,133; cpp: 91; makefile: 57; ansic: 7
file content (489 lines) | stat: -rw-r--r-- 23,098 bytes parent folder | download | duplicates (6)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
Copyright 2004-2006 The Apache Software Foundation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<!-- Content Stylesheet for Site -->

    
    

        
<!-- start the processing -->
    <!-- ====================================================================== -->
    <!-- GENERATED FILE, DO NOT EDIT, EDIT THE XML FILE IN xdocs INSTEAD! -->
    <!-- Main Page Section -->
    <!-- ====================================================================== -->
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>

                                                    <meta name="author" value="Nicko Cadell">
            <meta name="email" value="nicko at apache dot org">
            
           
                                     <meta  name="keywords"  content="contributing to log4net development, contributing log4net, log4net svn, log4net cvs, log4net"  />
 
                         
            <link href="./css/site.css" rel="stylesheet" type="text/css"/>
            
							<link href="./css/style.css" rel="stylesheet" type="text/css"/>
			
            <title>log4net - Contributing to log4net Development</title>
            
                    </head>

        <body 
            bgcolor="#ffffff"
            text="#000000"
            link="#525D76"
                >       
           <!-- START Header table --> 
                             <table class="banner" border="0">
     <tr>
       <td valign="top">
         <a href="http://logging.apache.org/">
           <img src="http://logging.apache.org/images/ls-logo.jpg" border="0"/>
         </a>
       </td>
       <td align="right">
                  </td>
     </tr>
   </table>
              <!-- END Header table --> 


	   <div class="centercol">
        
           <!-- START main table --> 
                

	                                                                       <h1><a id="main"></a>Contributing to log4net Development</h1>
    <div class="i1">
                                    			<h2>Contents</h2>
		<div class="i1">
																			    <a href="#mlist">Developer Mailing List</a><br/>
    <div class="i1">
                                                            <a href="#mlist-archive">Mailing List Archives</a><br/>
    <div class="i1">
                                                  </div>
                                                    <a href="#mlist-subscribe">Subscribe</a><br/>
    <div class="i1">
                                                  </div>
                                                    <a href="#mlist-unsubscribe">Unsubscribe</a><br/>
    <div class="i1">
                                                  </div>
                                                    <a href="#mlist-posting">Posting</a><br/>
    <div class="i1">
                                                                                          </div>
                      </div>
																    <a href="#svn">Source Access</a><br/>
    <div class="i1">
                                                            <a href="#svn-view">Browsing SVN</a><br/>
    <div class="i1">
                              </div>
                                                    <a href="#svn-anon">Anonymous SVN Access</a><br/>
    <div class="i1">
                                                                                          </div>
                      </div>
																    <a href="#jira">Issue Tracking</a><br/>
    <div class="i1">
                                                                                                                                                                <a href="#jira-reporting">Reporting an Issue</a><br/>
    <div class="i1">
                                                                                                              </div>
                      </div>
																    <a href="#patch">Contributing Patches</a><br/>
    <div class="i1">
                                                                                                                                                                                              </div>
									</div>
	                                                    <h2><a id="mlist"></a>Developer Mailing List</h2>
    <div class="i1">
                                    <p>
					All discussion relating to log4net development takes place on this list. All SVN checkin 
					notifications are also copied to this list.
				</p>
                                                    <h3><a id="mlist-archive"></a>Mailing List Archives</h3>
    <div class="i1">
                                    <p>
						You can browse the mailing list archives at the following locations:
					</p>
                                                <ul>
						<li><a href="http://mail-archives.eu.apache.org/mod_mbox/logging-log4net-dev/">mod_mbox</a></li>
						<li><a href="http://nagoya.apache.org/eyebrowse/SummarizeList?listId=214">eyebrowse</a></li>
						<li><a href="http://marc.theaimsgroup.com/?l=log4net-dev&amp;r=1&amp;w=2">MARC</a></li>
						<li><a href="http://sourceforge.net/mailarchive/forum.php?forum=log4net-devel">Old Mailing List at sourceforge</a></li>
					</ul>
                      </div>
                                                    <h3><a id="mlist-subscribe"></a>Subscribe</h3>
    <div class="i1">
                                    <p>
						Subscribe to either the list or to the digest list:
					</p>
                                                <ul>
						<li>
							<p>
								To subscribe to this list send an e-mail to <br />
								<a href="mailto:log4net-dev-subscribe@logging.apache.org">log4net-dev-subscribe@logging.apache.org</a>.
							</p>
						</li>
							
						<li>
							<p>
								To subscribe to the digest list sent an e-mail to <br />
								<a href="mailto:log4net-dev-digest-subscribe@logging.apache.org">log4net-dev-digest-subscribe@logging.apache.org</a>.
							</p>
						</li>
					</ul>
                      </div>
                                                    <h3><a id="mlist-unsubscribe"></a>Unsubscribe</h3>
    <div class="i1">
                                    <p>
						To unsubscribe send an email to the relevant email address:
					</p>
                                                <ul>
						<li>
							<p>
								To unsubscribe from this list send an e-mail to <br />
								<a href="mailto:log4net-dev-unsubscribe@logging.apache.org">log4net-dev-unsubscribe@logging.apache.org</a>.
							</p>
						</li>
							
						<li>
							<p>
								To unsubscribe from the digest list sent an e-mail to <br />
								<a href="mailto:log4net-dev-digest-unsubscribe@logging.apache.org">log4net-dev-digest-unsubscribe@logging.apache.org</a>.
							</p>
						</li>
					</ul>
                      </div>
                                                    <h3><a id="mlist-posting"></a>Posting</h3>
    <div class="i1">
                                    <p>
						Most of the guidelines for the log4net-user list also apply to the dev list.
						Please have a quick read through the <a href="support.html">guidelines</a>, thanks.
					</p>
                                                <p>
						<strong>To prevent spam, we require you to be subscribed to the list before posting to it.</strong>
					</p>
                                                <p>
						<em>This is the log4net developer list, it holds discussions relating to the
						development of log4net not the use of log4net. If you have a question that begins
						with the word "How" or you are unsure as the the appropriate list to post to then
						you probably want to start with the <a href="support.html">log4net-user list</a>.</em>
					</p>
                                                <p>
						Post to the list by sending mail to 
						<a href="mailto:log4net-dev@logging.apache.org">log4net-dev@logging.apache.org</a>.
					</p>
                      </div>
                      </div>
                                                    <h2><a id="svn"></a>Source Access</h2>
    <div class="i1">
                                    <p>
					The source for log4net is held in the Apache Subversion source code control repository.
				</p>
                                                    <h3><a id="svn-view"></a>Browsing SVN</h3>
    <div class="i1">
                                    <p>
						<a href="http://svn.apache.org/viewcvs.cgi/logging/log4net/">Browse log4net</a> 
						SVN repository using ViewCVS.
					</p>
                      </div>
                                                    <h3><a id="svn-anon"></a>Anonymous SVN Access</h3>
    <div class="i1">
                                    <p>
						Anyone can checkout source code from our anonymous SVN
						server. To do so, simply use the following command (if you are
						using a GUI SVN client, configure it appropriately).
					</p>
                                                <p>
						Checkout the logging/log4net module.
					</p>
                                                
    <div class="syntax"><pre class="code">
svn checkout http://svn.apache.org/repos/asf/logging/log4net/trunk log4net</pre></div>

                                                <p>
						If you are not familiar with SVN, the Apache 
						<a href="http://www.apache.org/dev/version-control.html">Source Code Repositories</a> 
						page has links to more information on SVN.
					</p>
                      </div>
                      </div>
                                                    <h2><a id="jira"></a>Issue Tracking</h2>
    <div class="i1">
                                    <p>
					Many bugs reported end up not being a bug in the log4net code, 
					but are due to incorrect configuration, problems caused by installed applications, 
					the operating system, etc.
				</p>
                                                <p>
					Before reporting a bug please make every effort to investigate and resolve the problem yourself. 
					Just reporting a bug will not fix it. A good bug report includes a detailed 
					description of the problem and a succinct test case which can reproduce the problem. 
				</p>
                                                <p>
					Before reporting an issue please investigate the following information sources for
					a potential resolution.
				</p>
                                                <ul>
					<li><a href="release/manual/introduction.html">Documentation</a></li>
					<li><a href="release/faq.html#internalDebug">Internal log4net debug</a></li>
					<li><a href="release/faq.html">FAQs</a></li>
					<li><a href="support.html">Mailing Lists</a></li>
				</ul>
                                                <p>
					Before reporting a bug, you are advised to discuss it on the relevant mailing list first.
				</p>
                                                <p>
					<a href="http://issues.apache.org/jira/browse/LOG4NET">Search the bug database</a> to see if the bug 
					you are seeing has already been reported. If it has been reported then you can vote for the issue.
				</p>
                                                    <h3><a id="jira-reporting"></a>Reporting an Issue</h3>
    <div class="i1">
                                    <p>
						If after you have exhausted all other resources to resolve a problem you may want to file a bug report.
						Please make sure the problem is a bug in Logging and not a bug in your application.
					</p>
                                                <p>
						Please make sure you provide as much information as possible. Its very hard to fix a bug if the person 
						looking into the problem can't reproduce it. Here is a listing of information which should be included:
					</p>
                                                <ul>
						<li><b>Version</b> - log4net version, or if from a nightly build, version and date of build.</li>
						<li><b>Application Type</b> - Assembly type, i.e. exe or dll, and how your code is launched, e.g. console application, windows application, ASP.NET project, COM+ hosted object, etc...</li>
						<li><b>Framework</b> - The .NET framework running the application, name (e.g. MS .NET, Mono, SSCLI) and version.</li>
						<li><b>Platform</b> - Computer operating system, version, and hardware platform in use.</li>
						<li><b>Configuration</b> - Attach configuration files if they would help track down the bug.</li>
						<li><b>Log Files</b> - Review your logs files, produced with <a href="release/faq.html#internalDebug">internal log4net debug</a> enabled. Submit any relevant sections of the log which help document the bug.</li>
						<li><b>Stack Traces</b> - Any stack traces generated by the bug, if any.</li>
						<li><b>Example</b> - Example configuration files or web applications which demonstrate the bug. When submitting an example which reproduces the bug, please try to make it as simple as possible.</li>
						<li><b>Bug Fix Patch</b> - A patch created using <span class="code">diff -u</span> which fixes the bug. (If you have found a bug fix which can be applied to the code).</li>
						<li><b>Description of the Bug</b> - A description of the bug, include observed as well as expected behavior.</li>
						<li><b>Miscellaneous</b> - Any other information you feel will help track down the problem.</li>
					</ul>
                                                <p>
						<b>Just reporting a bug will not fix it. A good bug report includes a detailed description of the 
						problem and a succinct test case which can reproduce the problem.</b> The very best sort of report
						includes an NUnit testcase which reproduces the issue, this means that we can fix it and that we can
						be sure that it stays fixed in future!
					</p>
                                                <p>
						<a href="http://issues.apache.org/jira/browse/LOG4NET">Report a log4net issue here</a>. You will need to login to JIRA before you can submit an issue.
					</p>
                      </div>
                      </div>
                                                    <h2><a id="patch"></a>Contributing Patches</h2>
    <div class="i1">
                                    <p>
					Before starting to work on a patch it is probably a good idea to join the log4net-dev
					mailing list to check that equivalent or complementary work is not already underway.
				</p>
                                                <p>
					Currently the only supported way of submitting patches to log4net
					is via the JIRA issue tracking system.
				</p>
                                                <p>
					The preferred method of generating a patch is a unified context diff against
					the latest development version in SVN. To do this you should do the following:
				</p>
                                                <ul>
					<li>
						<p>
							Get the latest version of the code from SVN, see the section above on 
							<i>Anonymous SVN Access</i> for details on how to obtain the SVN version. 
						</p>
					</li>
					<li>
						<p>
							Make your code changes to the log4net source. Please follow existing
							code styles where possible. If adding new API methods or classes then
							these should be appropriately documented with code comments.
							Contributions intended for inclusion in ASF products must be licensed 
							to ASF under the terms of the 
							<a href="http://www.apache.org/licenses/LICENSE-2.0">Apache Software License</a>.
						</p>
					</li>
					<li>
						<p>
							Generate a unified context diff for the files you have changed. Run the
							<span class="code">svn diff &gt; patch-file</span> command from the root of the log4net
							codebase to generate a diff file. 
						</p>
					</li>
					<li>
						<p>
							If you have added new files these will not be included in the diff. You
							will need to attach these files separately.
						</p>
					</li>
				</ul>
                                                <p>
					If you are not using SVN then you can still generate a unified context diff
					using the <i>diff</i> GNU tool with the <i>-u</i> command line options. 
					The GNU tools are available for Windows as part
					of the <a href="www.cygwin.com">Cygwin</a> package.
				</p>
                                                <p>
					If you are unable to generate a diff please submit each file separately and place
					block comments around each code change to highlight the differences.
				</p>
                                                <p>
					In order to submit your patch please follow the following steps:
				</p>
                                                <ul>
					<li>
						<p>
							Create a new issue for your patch. On the 
							<a href="http://issues.apache.org/jira/browse/LOG4NET">log4net issues home page</a>
							select the <i>Create New Issue</i> from the menu bar. You will need to be logged
							into JIRA in order to create an issue.
						</p>
					</li>
					<li>
						<p>
							Select the issue type as appropriate.
						</p>
					</li>
					<li>
						<p>
							Prefix the summary with <b>[PATCH]</b>. Enter a description of the changes made,
							new features, or bug fixes in your patch.
						</p>
					</li>
					<li>
						<p>
							Once the issue has been created you can attach your patch file to the issue
							by selecting the <i>Attach file to this issue</i> operation from the left hand
							menu. When attaching your patch you must select the <b>Grant license to ASF for 
							inclusion in ASF works</b> option. When attaching a patch please include in the
							description the baseline version of log4net you used to build your patch, if against
							an SVN version please include the version number and if from a tag or branch include
							the repository path.
						</p>
					</li>
					<li>
						<p>
							If you have other files to attach, e.g. you have added new files to log4net, then
							attach each file separately. Please include in the description the name of the file
							attached and the path it should live in the project.
						</p>
					</li>
				</ul>
                                                <p>
					A notification will be sent to the log4net-dev list once you have created your issue,
					however it may also be worth mailing the log4net-dev list to encourage the project
					committers to apply your patch, or at least find out when they may do so.
				</p>
                      </div>
                      </div>
                                                


                           
                <!-- FOOTER -->
<p>&nbsp;</p>

                    <div align="center"><font color="#525D76" size="-1"><em>
                    Copyright &#169; 
		    			2004-2006,
		    		    		    	Apache Software Foundation
		                        </em></font></div>
             <!-- END main table --> 

           </div>

           <!-- LEFT SIDE NAVIGATION -->
             <!-- ============================================================ -->
  <div class="leftcol">
               <div class="menu_header">Apache</div>
              	 <div class="menu_item">    <a href="http://www.apache.org">Apache Home</a>
</div>
              	 <div class="menu_item">    <a href="http://logging.apache.org/">Logging Services</a>
</div>
                  <div class="menu_header">log4net Project</div>
              	 <div class="menu_item">    <a href="./index.html">About</a>
</div>
              	 <div class="menu_item">    <a href="./license.html">License</a>
</div>
              	 <div class="menu_item">    <a href="./support.html">Support</a>
</div>
              	 <div class="menu_item">    <a href="./roadmap.html">Roadmap</a>
</div>
              	 <div class="menu_item">    <a href="./contributing.html">Contributing</a>
</div>
              	 <div class="menu_item">    <a href="./history.html">History</a>
</div>
              	 <div class="menu_item">    <a href="./downloads.html">Downloads</a>
</div>
                  <div class="menu_header">log4net 1.2 Documentation</div>
              	 <div class="menu_item">    <a href="./release/features.html">Features</a>
</div>
              	 <div class="menu_item">    <a href="./release/framework-support.html">Supported Frameworks</a>
</div>
              	 <div class="menu_item">    <a href="./release/release-notes.html">Release Notes</a>
</div>
              	 <div class="menu_item">    <a href="./release/example-apps.html">Example Apps</a>
</div>
              	 <div class="menu_item">    <a href="./release/config-examples.html">Config Examples</a>
</div>
              	 <div class="menu_item">    <a href="./release/building.html">Building</a>
</div>
              	 <div class="menu_item">    <a href="./release/faq.html">FAQ</a>
</div>
              	 <div class="menu_item">    <a href="./release/howto/index.html">How Tos</a>
</div>
              	 <div class="menu_item">    <a href="./release/sdk/index.html">SDK Reference</a>
</div>
                  <div class="menu_header">log4net 1.2 Manual</div>
              	 <div class="menu_item">    <a href="./release/manual/introduction.html">Introduction</a>
</div>
              	 <div class="menu_item">    <a href="./release/manual/configuration.html">Configuration</a>
</div>
              	 <div class="menu_item">    <a href="./release/manual/contexts.html">Contexts</a>
</div>
              	 <div class="menu_item">    <a href="./release/manual/plugins.html">Plugins</a>
</div>
              	 <div class="menu_item">    <a href="./release/manual/repositories.html">Repositories</a>
</div>
              	 <div class="menu_item">    <a href="./release/manual/internals.html">Internals</a>
</div>
             </div> 
   

        </body>
    </html>
<!-- end the processing -->