doc:scratchpad:howto
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:scratchpad:howto [2008/12/19 07:04] – Added TortoiseCVS tutorial kalle | doc:scratchpad:howto [2009/08/04 11:31] – Fix CVS mentions mrook | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Quick guide for improving the existing PHP documentation ===== | ===== Quick guide for improving the existing PHP documentation ===== | ||
- | |||
==== Getting setup ==== | ==== Getting setup ==== | ||
Line 6: | Line 5: | ||
== Source files of the PHP Manual == | == Source files of the PHP Manual == | ||
- | They are stored in a CVS module named ' | + | They are stored in a SVN module named ' |
- | Assuming no CVS account (Password for user //cvsread// is //phpfi//): | + | |
< | < | ||
- | $ cvs -d :pserver: | + | $ svn checkout http://svn.php.net/ |
- | $ cvs -d : | + | |
</ | </ | ||
- | The key information: | ||
- | == Using TortoirseCVS | + | == Using TortoiseSVN |
- | * First off, download and install | + | * First off, download and install |
* Open a new explorer window and go to the folder you wish to do a checkout in | * Open a new explorer window and go to the folder you wish to do a checkout in | ||
- | * Right click anywhere in the blank area to spawn the context menu, select "CVS Checkout" | + | * Right click anywhere in the blank area to spawn the context menu, select "SVN Checkout..." |
* A new window will popup asking for details about the checkout, these values will be remembered, so you will not need to enter them again | * A new window will popup asking for details about the checkout, these values will be remembered, so you will not need to enter them again | ||
- | * Enter the following | + | * Enter the following |
- | * When the checkout is complete, then it should have created a directory called " | + | * When the checkout is complete, then it should have created a directory called " |
Line 63: | Line 60: | ||
There you'll find several files: | There you'll find several files: | ||
- | * // | + | * // |
* // | * // | ||
* // | * // | ||
* // | * // | ||
+ | * // | ||
+ | * //foo.xml// (Example, foo can be anything specific to a topic. Just be sure to include via // | ||
A procedural extension (like SVN) also has: | A procedural extension (like SVN) also has: | ||
Line 79: | Line 78: | ||
* Note: "// | * Note: "// | ||
- | |||
==== Editing existing documentation ==== | ==== Editing existing documentation ==== | ||
Simply open the files and edit them. Remember to follow the " | Simply open the files and edit them. Remember to follow the " | ||
< | < | ||
- | $ vim phpdoc/ | + | $ vim phpdoc/en/trunk/ |
$ php configure.php | $ php configure.php | ||
- | $ cvs commit phpdoc/ | + | $ svn commit |
</ | </ | ||
Line 125: | Line 123: | ||
If everything is looking good, its time to post the changes. | If everything is looking good, its time to post the changes. | ||
- | |||
==== Committing the changes ==== | ==== Committing the changes ==== | ||
Line 133: | Line 130: | ||
< | < | ||
- | $ cvs diff -u > changes.patch | + | $ svn diff > changes.patch |
</ | </ | ||
Line 144: | Line 141: | ||
== Committing patches == | == Committing patches == | ||
- | If you have CVS karma then there is no need to create patches... just commit! | + | If you have SVN karma then there is no need to create patches... just commit! |
- | + |
doc/scratchpad/howto.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1