cvs: peardoc /en/guide/developers contributing.xml
| From: | Tomas V.V.Cox | Date: | Thu, 25 Jul 2002 14:51:40 +0000 |
| Subject: | cvs: peardoc /en/guide/developers contributing.xml | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-5333@lists.php.net to get a copy of this message | ||
cox Thu Jul 25 10:51:40 2002 EDT
Modified files:
/peardoc/en/guide/developers contributing.xml
Log:
ws
Index: peardoc/en/guide/developers/contributing.xml
diff -u peardoc/en/guide/developers/contributing.xml:1.1
peardoc/en/guide/developers/contributing.xml:1.2
--- peardoc/en/guide/developers/contributing.xml:1.1 Tue Jul 23 09:22:10 2002
+++ peardoc/en/guide/developers/contributing.xml Thu Jul 25 10:51:39 2002
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<!--
WORK IN PROGRESS, THERE IS PROBABLY LITTLE POINT IN TRANSLATING
THIS DOCUMENT YET.
-->
<chapter id="developers.contributing">
- <title>Contributing your own code</title>
+ <title>Contributing your own code</title>
<titleabbrev>Contributing</titleabbrev>
<sect1 id="developers.contributing.requirements">
@@ -21,7 +21,7 @@
<orderedlist>
<listitem>
<simpara>Conforming to the coding standards</simpara>
-
+
<para>
If you want to contribute your code to PEAR, it has to be compliant
to a set of <link linkend="standards">coding standards</link>. There
@@ -33,23 +33,23 @@
</listitem>
<listitem>
<simpara>Documentation in an appropriate format (plain text, docbook)</simpara>
-
+
<para>
Your code has to come with appropriate documentation in one of
the following formats:
-
+
<itemizedlist>
- <listitem>
+ <listitem>
<simpara><ulink url="http://www.docbook.org/">Docbook
XML</ulink></simpara>
</listitem>
-
- <listitem>
+
+ <listitem>
<simpara>Plain Text</simpara>
</listitem>
</itemizedlist>
If you write the documentation in Docbook XML and if the markup
- is valid, the documentation can be easily added to the official
+ is valid, the documentation can be easily added to the official
<ulink url="http://pear.php.net/manual/">PEAR
Manual</ulink>,
which you are reading right now.
</para>
@@ -60,7 +60,7 @@
for his package(s) and is willing to release future (bug-fixing)
versions.
</simpara>
-
+
<para>
If you are not willing to maintain your code, it probably makes
no sense to contribute it. Maintaining means in PEAR's case that
@@ -69,14 +69,14 @@
and that you are willing to roll further releases of your code,
that contain bugfixes and enhancements.
</para>
-
- <warning>
+
+ <warning>
<simpara>
Code can be removed from PEAR if the original contributor
is not willing to maintain the code anymore and if there
is no other person that is willing to take over the
maintainership.
- </simpara>
+ </simpara>
</warning>
</listitem>
</orderedlist>
@@ -97,7 +97,7 @@
PEAR is finding an appropriate name for your package.
</para>
<para>
- The general syntax for package names is
+ The general syntax for package names is
<literal><Category>_<Name></literal>. The value for
<literal><category></literal> has to be choosen from a
predefined list of categoriet that are available in PEAR (e.g.
@@ -126,27 +126,27 @@
</listitem>
<listitem id="developers.contributing.accounts">
<simpara>Getting the necessary accounts</simpara>
-
+
<para>
Right now one can distinguish between two types of accounts
related to PEAR:
-
+
<orderedlist>
- <listitem>
+ <listitem>
<simpara>Pear.php.net account</simpara>
-
+
<para>
This account is always necessary for you if you want to release
your package through PEAR. With this account you have access
- to the necessary pages on
+ to the necessary pages on
<ulink url="http://pear.php.net/">pear.php.net</ulink> in
order
to upload and roll new releases.</para>
</listitem>
-
- <listitem>
+
+ <listitem>
<simpara>PHP CVS account</simpara>
-
+
<para>
If you want to administrate your code via
<ulink url="http://www.cvshome.org/">CVS</ulink> , you
can also
@@ -155,9 +155,9 @@
cvs.php.net</ulink>. This makes it easier for other users
to contribute to your code.
</para>
-
+
<para>
- If you already have a CVS repository somewhere else (e.g. on
+ If you already have a CVS repository somewhere else (e.g. on
<ulink url="http://www.sourceforge.net/">SourceForge</ulink>),
you don't need the PHP CVS account.
</para>
@@ -174,7 +174,7 @@
account to download packages from there.
</para>
<para>
- To get a PHP CVS account, go
+ To get a PHP CVS account, go
<ulink url="http://www.php.net/php-cvs.php">here</ulink>
to sign
up for it. The PHP CVS account has to be approved by the PHP
Group.
@@ -183,7 +183,7 @@
<listitem>
<simpara>Bundling releases</simpara>
<simpara>
- Prerequesite for releasign your code is that your
+ Prerequesite for releasign your code is that your
<link linkend="developers.contributing.accounts">account
request</link>
for pear.php.net has been accepted.
</simpara>
@@ -197,7 +197,7 @@
<para>
After having registered your package, you can create a first
release:
- </para>
+ </para>
<para>
The first pre-requesite is to create a package definition file:
This file is an XML file called <filename>package.xml</filename>
@@ -209,7 +209,7 @@
<!--
<para>
<example>
- <title><filename>package.xml</filename></title>
+ <title><filename>package.xml</filename></title>
<programlisting role="xml">
<![CDATA[
<?xml version="1.0" encoding="ISO-8859-1" ?>
@@ -249,7 +249,7 @@
</example>
</para>
<para>
- ### MORE INFORMATION ABOUT
+ ### MORE INFORMATION ABOUT
<filename>package.xml</filename> ###
</para>
-->
@@ -266,7 +266,7 @@
would be <filename>Money_Fast-1.0.tgz</filename>.
</para>
<para>
- Now go to
+ Now go to
<ulink url="http://pear.php.net/release-upload.php">this
page</ulink>
and upload the tgz file that has been created previously there.
This will start the automated release process, which will roll