cvs: peardoc /en/guide/developers recommendations.xml /en/guide/developers/recommendations drivercheck.xml releasenotes.xml
| From: | Christian Weiske | Date: | Sun, 04 May 2008 18:34:09 +0000 |
| Subject: | cvs: peardoc /en/guide/developers recommendations.xml /en/guide/developers/recommendations drivercheck.xml releasenotes.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-10758@lists.php.net to get a copy of this message | ||
cweiske Sun May 4 18:34:09 2008 UTC
Added files:
/peardoc/en/guide/developers/recommendations releasenotes.xml
Modified files:
/peardoc/en/guide/developers recommendations.xml
/peardoc/en/guide/developers/recommendations drivercheck.xml
Log:
recommendations about release notes
http://cvs.php.net/viewvc.cgi/peardoc/en/guide/developers/recommendations.xml?r1=1.10&r2=1.11&diff_format=u
Index: peardoc/en/guide/developers/recommendations.xml
diff -u peardoc/en/guide/developers/recommendations.xml:1.10
peardoc/en/guide/developers/recommendations.xml:1.11
--- peardoc/en/guide/developers/recommendations.xml:1.10 Tue Apr 29 20:49:43 2008
+++ peardoc/en/guide/developers/recommendations.xml Sun May 4 18:34:09 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
<chapter id="developers.recommendations">
<chapterinfo>
<author>
@@ -28,6 +28,7 @@
&guide.developers.recommendations.colorrepresentation;
&guide.developers.recommendations.drivercheck;
+ &guide.developers.recommendations.releasenotes;
&guide.developers.recommendations.unittestconfig;
</chapter>
http://cvs.php.net/viewvc.cgi/peardoc/en/guide/developers/recommendations/drivercheck.xml?r1=1.1&r2=1.2&diff_format=u
Index: peardoc/en/guide/developers/recommendations/drivercheck.xml
diff -u peardoc/en/guide/developers/recommendations/drivercheck.xml:1.1
peardoc/en/guide/developers/recommendations/drivercheck.xml:1.2
--- peardoc/en/guide/developers/recommendations/drivercheck.xml:1.1 Tue Apr 29 20:49:43 2008
+++ peardoc/en/guide/developers/recommendations/drivercheck.xml Sun May 4 18:34:09 2008
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="utf-8" ?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<sect1 id="developers.recommendations.drivercheck">
<title>Checking if a driver can be loaded</title>
<para>
In driver-based packages you should check if the driver exists before
loading it. A simple <function>file_exists</function> does not work
- since it does not check the include path.
+ since it does not check the
+ <ulink url="&url.php.manual;ini.core.php#ini.include-path">include
path</ulink>.
<function>fopen</function>'s third parameter does that, so we use it.
</para>
http://cvs.php.net/viewvc.cgi/peardoc/en/guide/developers/recommendations/releasenotes.xml?view=markup&rev=1.1
Index: peardoc/en/guide/developers/recommendations/releasenotes.xml
+++ peardoc/en/guide/developers/recommendations/releasenotes.xml
<?xml version="1.0" encoding="utf-8" ?>
<!-- $Revision: 1.1 $ -->
<sect1 id="developers.recommendations.releasenotes">
<title>Writing informative release notes</title>
<para>
Before releasing a new package, you need to write the release notes in
<link
linkend="guide.developers.package2"><filename>package.xml</filename></link>.
The release notes should clearly say what has changed in comparison to the
last release, or - when going to the next
<link linkend="guide.developers.package2.stability">stablility
level</link>,
like from beta to stable - list the changes since the last release of the same
stability.
</para>
<para>
You probably want to outline new features, as well as list the bugs which
have been fixed. It is important not only to plainly write down the bug
numbers, but also the bug titles. People tend to recall words better
than remembering the issues associated with a number.
The PEAR web interface automatically links
structures like "bug #<number>".
</para>
<example id="developers.recommendations.releasenotes.bad">
<title>Bad release notes</title>
<screen>
- Fixed bug #11495
</screen>
</example>
<example id="developers.recommendations.releasenotes.good">
<title>Good release notes</title>
<screen>
Changes since the last stable version 1.2.3:
- Added foo and bar feature
- Blubber is far more efficient
Fixed bugs:
- Removed deprecated cURL option CURLOPT_MUTE (Bug #13489)
- Changed the license to the New BSD License (Bug #13831)
Minor issues:
- Converted package.xml to version 2.0
- Cleaned up code to (mostly) comply with phpcs
</screen>
</example>
</sect1>