Guidelines for ContributingTo submit material for consideration, use the Issue Tracking System.
Programmers should also read our Programming Guidelines.
Contents:
Patch Type Version Bug Fix release or HEAD Enhancements HEAD
| Reason: | This is facilates selective merging of functionality between versions. Otherwise the merge choices are all, nothing, or manually re-code. |
|---|
In general, contributed software packages should work with current releases of OpenLDAP software.
| Use | Commands |
|---|---|
| Using diff for single file patch |
|
| Using cvs diff for directory patch |
cvs diff -l -u -N xxx/yyy> xxx.yyy.patch |
| Using tar for |
tar cf contrib-pkg.tar contrib/pkg gzip -9 -c contrib-pkg.tar> contrib-pkg.tgz |
Files containing patches representing significant blocks of new code (10 lines or greater) must include a notice of origin:
This patch file is derived from OpenLDAP Software. All of the modifications to OpenLDAP Software represented in the following patch(es) were developed by <YOUR NAME> <YOUR-EMAIL-ADDRESS>. I have not assigned rights and/or interest in this work to any party.If the patch is derived from other works, you must include a detailed description of these others works. The description should include specific references to the location where these works can be found on the Internet. If you have assigned rights and/or interest in this work to another party, such as your employer (possibly through your employment agreement), you must state which rights you have assigned and to whom. For instance, "By virtue of my employment agreement with EMPLOYER-NAME, I have assigned my rights and interest in this work to EMPLOYER-NAME."
Below is an example notice for someone making a contribution on behalf of your employer:
This patch file is derived from OpenLDAP Software. All of the modifications to OpenLDAP Software represented in the following patch(es) were developed by <YOUR-EMPLOYER>. <YOUR-EMPLOYER> has not assigned rights and/or interest in this work to any party. I, <YOUR-NAME> am authorized by <YOUR-EMPLOYER>, my employer, to release this work under the following terms.
This notice must be followed by an appropriate rights statement.
For small modifications (bug fixes, minor enhancements, etc.), we suggest the modifications be placed into the public domain so that they can be freely incorporated into OpenLDAP Software (as well as other works).
I, <YOUR NAME>, hereby place the following modifications to OpenLDAP Software (and only these modifications) into the public domain. Hence, these modifications may be freely used and/or redistributed for any purpose with or without attribution and/or other notice.A corporate example:
<YOUR-EMPLOYER> hereby place the following modifications to OpenLDAP Software (and only these modifications) into the public domain. Hence, these modifications may be freely used and/or redistributed for any purpose with or without attribution and/or other notice.
While you may use the above for large modifications as well, you may desire to maintain rights in your modifications. However, to ensure license compatibility, we require all contributions (your modifications) to be provided under compatible terms. Hence, we suggest the following statement be used:
The attached modifications to OpenLDAP Software are subject to the following notice:By making this statement, you are allowing redistribution and use of your modifications under the same terms as OpenLDAP Software itself.Copyright <YEAR> <YOUR NAME>
Redistribution and use in source and binary forms, with or without modification, are permitted only as authorized by the OpenLDAP Public License.
Alternative rights statements will not generally be accepted. The OpenLDAP Foundation should be contacted prior to submitting patches with alternative right notices.
One alternative not discussed here is copyright assignment. If you wish to assign copyright you hold in contributions to OpenLDAP Software to the OpenLDAP Foundation, please contact foundation@OpenLDAP.org for instructions.
Note: contributions for inclusion in OpenLDAP Software or other OpenLDAP distributed software packages (JLDAP, JDBC-LDAP) do not fall in this category. Follow the patch instructions above.
| Use | Commands |
|---|---|
| Initiate FTP session |
ftp> open ftp.openldap.org User: ftp 331 Guest login ok, send your email address as password. Password: your-email-address Remote system type is UNIX. Using binary mode to transfer files. ftp> cd incoming 250 CWD command successful. ftp> |
|
Upload patch file Requires ascii (text) transfer |
200 Type set to A. ftp> put (local-file) patch (remote-file) your-name-YYMMDD.patch local: patch remote: your-name-YYMMDD.patch 200 PORT command successful. (...) 226 Transfer complete. (...) ftp> |
Close FTP session |
|
________________
© Copyright 2009, OpenLDAP Foundation, info@OpenLDAP.org
$OpenLDAP: www/pages/devel/contributing.wml,v 1.32 2009/08/19 21:09:06 kurt Exp $