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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="Apache Forrest" name="Generator">
<meta name="Forrest-version" content="0.6">
<meta name="Forrest-skin-name" content="pelt">
<title>Contributing to XML-Security</title>
<link type="text/css" href="skin/basic.css" rel="stylesheet">
<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
<link media="print" type="text/css" href="skin/print.css" rel="stylesheet">
<link type="text/css" href="skin/profile.css" rel="stylesheet">
<script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script>
</head>
<body onload="init()">
<script type="text/javascript">ndeSetTextSize();</script>
<div id="top">
<!--+
|breadtrail
+-->
<div class="breadtrail">
<a href="http://www.apache.org/">apache</a> > <a href="http://xml.apache.org/">xml.apache</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
</div>
<!--+
|header
+-->
<div class="header">
<!--+
|start group logo
+-->
<div class="grouplogo">
<a href="http:///xml.apache.org"><img class="logoImage" alt="Apache XML" src="images/group-logo.gif"></a>
</div>
<!--+
|end group logo
+-->
<!--+
|start Project Logo
+-->
<div class="projectlogo">
<a href="http://xml.apache.org/security"><img class="logoImage" alt="Apache XML Security" src="images/project-logo.gif"></a>
</div>
<!--+
|end Project Logo
+-->
<!--+
|start Search
+-->
<div class="searchbox">
<form action="http://www.google.com/search" method="get" class="roundtopsmall">
<input value="xml.apache.org/security" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google:');" value="Search the site with google:" size="25" name="q" id="query" type="text">
<input name="Search" value="Search" type="submit">
</form>
</div>
<!--+
|end search
+-->
<!--+
|start Tabs
+-->
<ul id="tabs">
<li class="current">
<a class="base-selected" href="index.html">Home</a>
</li>
<li>
<a class="base-not-selected" href="Java/index.html">Java</a>
</li>
<li>
<a class="base-not-selected" href="c/index.html">C++</a>
</li>
</ul>
<!--+
|end Tabs
+-->
</div>
</div>
<div id="main">
<div id="publishedStrip">
<!--+
|start Subtabs
+-->
<div id="level2tabs"></div>
<!--+
|end Endtabs
+-->
<script type="text/javascript" language="JavaScript"><!--
document.write("Published: " + document.lastModified);
// --></script>
</div>
<!--+
|breadtrail
+-->
<div class="breadtrail">
</div>
<!--+
|start Menu, mainarea
+-->
<!--+
|start Menu
+-->
<div id="menu">
<div onclick="SwitchMenu('menu_1.1', 'skin/')" id="menu_1.1Title" class="menutitle">About</div>
<div id="menu_1.1" class="menuitemgroup">
<div class="menuitem">
<a title="" href="index.html">Index</a>
</div>
<div class="menuitem">
<a title="" href="download.html">Download</a>
</div>
<div class="menuitem">
<a title="" href="faq.html">FAQs</a>
</div>
<div class="menuitem">
<a title="" href="who.html">Who we are</a>
</div>
<div class="menuitem">
<a title="" href="todo.html">Todo</a>
</div>
<div class="menuitem">
<a title="" href="changes.html">Changes</a>
</div>
<div class="menuitem">
<a title="" href="history.html">History</a>
</div>
<div class="menuitem">
<a title="" href="license.html">License</a>
</div>
</div>
<div onclick="SwitchMenu('menu_selected_1.2', 'skin/')" id="menu_selected_1.2Title" class="menutitle" style="background-image: url('skin/images/chapter_open.gif');">Getting Involved</div>
<div id="menu_selected_1.2" class="selectedmenuitemgroup" style="display: block;">
<div class="menupage">
<div class="menupagetitle">Contributing</div>
</div>
<div class="menuitem">
<a title="" href="http://cvs.apache.org/viewcvs/xml-security/">CVS</a>
</div>
<div class="menuitem">
<a title="" href="mail-lists.html">Mail lists</a>
</div>
</div>
<div onclick="SwitchMenu('menu_1.3', 'skin/')" id="menu_1.3Title" class="menutitle">References</div>
<div id="menu_1.3" class="menuitemgroup">
<div class="menuitem">
<a title="" href="http://www.w3c.org/Signature/">W3C XML DSig</a>
</div>
<div class="menuitem">
<a title="" href="http://www.w3c.org/Encryption/">W3C XML Enc</a>
</div>
<div class="menuitem">
<a title="" href="http://www.w3c.org/2001/XKMS/">W3C XML XKMS</a>
</div>
</div>
<div id="credit"></div>
<div id="roundbottom">
<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
<!--+
|alternative credits
+-->
</div>
<!--+
|end Menu
+-->
<!--+
|start content
+-->
<div id="content">
<div id="skinconf-txtlink"></div>
<h1>Contributing to XML-Security</h1>
<a name="N1000D"></a><a name="Introduction"></a>
<h2 class="h3">Introduction</h2>
<div class="section">
<p>
The XML Security Project is an
<a class="external" href="http://www.opensource.org/">Open Source</a>
volunteer project released
under a very open license. This means there are many ways to contribute to the
project - either with direct participation (coding, documenting, answering
questions, proposing ideas, reporting bugs, suggesting bug-fixes, etc..) or by
resource donations (money, time, publicity, hardware, software, conference
presentations, speeches, etc...).
</p>
<p>
To begin with, we suggest you to subscribe to the
<a href="mail-lists.html">XML-Security mailing list</a> (follow the link for
information on how to subscribe and to access the mail list archives).
Listen-in for a while, to hear how others make contributions.
</p>
<p>
You can get your local working copy of the
<a class="external" href="http://cvs.apache.org/viewcvs.cgi/xml-security">latest and
greatest code</a> (which you find in the xml-security module in the CVS code
repository. Review the todo list, choose a task (or perhaps you have noticed
something that needs patching). Make the changes, do the testing, generate a
patch, and post to the dev mailing list. (Do not worry - the process is easy
and explained below.)
</p>
</div>
<a name="N10029"></a><a name="Help+Wanted+Here"></a>
<h2 class="h3">Help Wanted Here</h2>
<div class="section">
<p>
The rest of this document is mainly about contributing new or
improved code and/or documentation, but we would also be glad to have extra
help in any of the following areas:
</p>
<ul>
<li>
Answering questions on the mailing list - there
is often a problem of having too many questioners and not enough experts to
respond to all the questions.
</li>
<li>
Testing the package (especially its less-frequently-used features) on
various configurations and reporting back.
</li>
<li>
Debugging - producing reproduceable test cases and/or finding
causes of bugs. Some known bugs are informally listed on To Do, and some are
recorded in Bugzilla (see <a href="#procedure">explanation
below</a>).
</li>
<li>
Specifying/analysing/designing new features - and beyond. (If you
wish to get involved with this, please join the mailing list, install
and try out xml-security and read some of the
<a href="mail-lists.html">mail archives</a>. You should have a strong
"fluency" in XML technologies especially XMLDSig and XML Encryption,
Java or C++ and a basic understanding of the architecture of this
package.
</li>
</ul>
</div>
<a name="cvshowto"></a>
<a name="N1004D"></a><a name="CVS+Usage+Precis"></a>
<h2 class="h3">CVS Usage Precis</h2>
<div class="section">
<p>
An overview of how to use CVS to participate in the XML Security development.
Do not be afraid - you cannot accidently destroy the actual code repository,
because you are working with a local copy as an anonymous user. Therefore, you
do not have the system permissions to change anything. You can only update your
local repository and compare your revisions with the real repository.
</p>
<p>
(Further general CVS usage information is at
<a class="external" href="http://www.cvshome.org/">www.cvshome.org</a> and your local
<span class="codefrag">info cvs</span> pages or <span class="codefrag">man cvs</span> pages or user
documentation.)
</p>
<p>
Have a look at the <a href="Java/installation.html">Java</a> or
<a href="c/installation.html">C++</a> installation pages to see
how to get a local copy of the source.
</p>
</div>
<a name="ssh"></a>
<a name="N10072"></a><a name="CVS+Committer+with+Secure+Shell+access"></a>
<h2 class="h3">CVS Committer with Secure Shell access</h2>
<div class="section">
<p>
After a developer has consistently provided contributions (code,
documentation and discussion), then the rest of the dev community may vote to
grant this developer commit access to CVS.
</p>
<p>
You will need secure access to the repository to be able to commit
patches. Here are some resources that help to get your machine configured to
use the repository over SSH.
</p>
<ul>
<li>
<a class="external" href="http://cvsbook.red-bean.com/">The CVS Book</a>
</li>
<li>
<a class="external" href="http://www.cvshome.org/">www.cvshome.org</a>
</li>
</ul>
</div>
<a name="procedure"></a>
<a name="N1008F"></a><a name="Procedure+for+Raising+Development+Issues"></a>
<h2 class="h3">Procedure for Raising Development Issues</h2>
<div class="section">
<p>
There are two methods for discussing development and submitting
patches. So that everyone can be productive, it is important to know which
method is appropriate for a certain situation and how to go about it without
confusion. This section explains when to use the <span class="codefrag">developer</span>
<a href="mail-lists.html">mailing list</a> the bug database.
</p>
<p>
Research your topic thoroughly before beginning to discuss a new
development issue. Search and browse through the email archives - your issue
may have been discussed before. Prepare your post clearly and
concisely.
</p>
<p>
Most issues will be discovered, resolved, and then patched quickly
via the <span class="codefrag">developer</span> mailing list. Larger issues, and ones that are
not yet fully understood or are hard to solve, are destined for
Bugzilla.
</p>
<p>
Experienced developers use Bugzilla directly, as they are very sure
when they have found a bug and when not. However, less experienced users should
first discuss it on the user or developer mailing list (as appropriate).
Impatient people always enter everything into Bugzilla without caring if it is
a bug of our package or their own installation/configuration mistake - please do
not do this.
</p>
<p>
As a rule-of-thumb, discuss an issue on the <span class="codefrag">developers</span>
mailing list first to work out any details. After it is confirmed to be
worthwhile, and you are clear about it, then submit the bug description or
patch via Bug Tracking.
</p>
<p>
Perhaps you do not get any answer on your first reply, so just post
it again until you get one. (But please not every hour - allow a few days for
the list to deal with it.) Do not be impatient - remember that the whole world
is busy, not just you. Bear in mind that other countries will have holidays at
different times to your country and that they are in different time zones. You
might also consider rewriting your initial posting - perhaps it was not clear
enough and the readers eyes glazed over.
</p>
</div>
<a name="tips"></a>
<a name="N100B8"></a><a name="Contribution+Notes+and+Tips"></a>
<h2 class="h3">Contribution Notes and Tips</h2>
<div class="section">
<p>
This is a collection of tips for contributing to the project in a
manner that is productive for all parties.
</p>
<ul>
<li>
Every contribution is worthwhile. Even if the ensuing discussion
proves it to be off-beam, then it may jog ideas for other people.
</li>
<li>
Use sensible and concise email subject headings. Search engines,
and humans trying to browse a voluminous list, will respond favourably to a
descriptive title.
</li>
<li>
Start new threads with new Subject for new topics, rather than
reusing the previous Subject line.
</li>
<li>
Keep each topic focused. If some new topic arises then start a new
discussion. This leaves the original topic to continue uncluttered.
</li>
<li>
Whenever you decide to start a new topic, then start with a fresh
new email message window. Do not use the "Reply to" button, because
threaded mail-readers get confused (they utilise the <span class="codefrag">In-reply-to</span>
header). If so, then your new topic will get lost in the previous thread and go
unanswered.
</li>
<li>
Prepend your email subject line with a marker when that is
appropriate, e.g. <span class="codefrag">[Patch]</span>, <span class="codefrag">[Proposal]</span>,
<span class="codefrag">[RT]</span> (Random Thought which quickly blossom into research topics
:-), <span class="codefrag">[STATUS]</span> (development status of a certain
facility).
</li>
<li>
When making changes to XML documentation, or any XML document for
that matter, use a <a class="external" href="http://www.oasis-open.org/cover/">validating
parser</a> (one that is tried and true is
<a class="external" href="http://openjade.sourceforge.net/">OpenSP/onsgmls</a>). This
procedure will detect errors without having to go through the whole <span class="codefrag">build
docs</span> process to find them. Do not expect Forrest or the build system to
detect the validation errors for you - they can do it, but that is not their
purpose. (Anyway, nsgmls validation error messages are more
informative.)
</li>
<li>
Remember that most people are participating in development on a
volunteer basis and in their "spare time". These enthusiasts will attempt to
respond to issues. It may take a little while to get your answers. </li>
<li>
Research your topic thoroughly before beginning to discuss a new
development issue. Search and browse through the email archives - your issue
may have been discussed before. Do not just perceive a problem and then rush
out with a question - instead, delve.
</li>
<li>
Try to at least offer a partial solution and not just a problem
statement.
</li>
<li>
Take the time to clearly explain your issue and write a concise
email message. Less confusion facilitates fast and complete
resolution.
</li>
<li>
Do not bother to send an email reply that simply says "thanks". When
the issue is resolved, that is the finish - end of thread. Reduce clutter.
</li>
<li>
You would usually do any development work against the HEAD branch of
CVS.
</li>
<li>
When sending a patch, you usually do not need to worry about which
CVS branch it should be applied to. The maintainers of the repository will
decide.
</li>
<li>
If an issue starts to get bogged down in list discussion, then it
may be appropriate to go into private off-list discussion with a few interested
other people. Spare the list from the gory details. Report a summary back to
the list to finalise the thread.
</li>
<li>
Become familiar with the mailing lists. As you browse and search,
you will see the way other people do things. Follow the leading
examples.
</li>
</ul>
</div>
</div>
<!--+
|end content
+-->
<div class="clearboth"> </div>
</div>
<div id="footer">
<!--+
|start bottomstrip
+-->
<div class="lastmodified">
<script type="text/javascript"><!--
document.write("Last Published: " + document.lastModified);
// --></script>
</div>
<div class="copyright">
Copyright © 2002-2005 The Apache Software Foundation.</div>
<!--+
|end bottomstrip
+-->
</div>
</body>
</html>
|