doc:scratchpad:howto:checkout

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
doc:scratchpad:howto:checkout [2009/07/29 17:16] – created initial howto for checking out phpdoc philipdoc:scratchpad:howto:checkout [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 1: Line 1:
-===== Checking out the PHP Manual sources from SVN =====+ ===== Checking out the PHP Manual sources from SVN =====
  
 ==== Introduction ==== ==== Introduction ====
Line 15: Line 15:
  
 Where en/ contains all the XML DocBook files specific to English, and doc-base/ contains the related helper files like PHP scripts for validation. Where en/ contains all the XML DocBook files specific to English, and doc-base/ contains the related helper files like PHP scripts for validation.
- 
 ==== Methods for checking out (downloading) the sources ==== ==== Methods for checking out (downloading) the sources ====
 +These examples are specific to English (en), so substitute with the appropriate language code to instead download a translations sources.
  
 === Using svn:externals === === Using svn:externals ===
Line 22: Line 22:
 Several svn:externals already exist within phpdoc/modules and may be used. They are setup as doc-{lang} where {lang} is the language code for the desired language, and doc-all exists to include every language. Several svn:externals already exist within phpdoc/modules and may be used. They are setup as doc-{lang} where {lang} is the language code for the desired language, and doc-all exists to include every language.
  
-    svn co http://svn.php.net/repository/phpdoc/modules/doc-en phpdoc+    svn co https://svn.php.net/repository/phpdoc/modules/doc-en phpdoc
  
 So, that checks out via the svn:externals to a new local directory named phpdoc.  So, that checks out via the svn:externals to a new local directory named phpdoc. 
Line 30: Line 30:
 Sparse checkouts are another option. Sparse checkouts are another option.
  
-    svn co http://svn.php.net/repository --depth empty phpdoc +    svn co https://svn.php.net/repository --depth empty phpdoc 
-    svn co http://svn.php.net/repository/phpdoc/en/trunk --depth infinity phpdoc/en +    svn co https://svn.php.net/repository/phpdoc/en/trunk --depth infinity phpdoc/en 
-    svn co http://svn.php.net/repository/phpdoc/doc-base/trunk --depth infinity phpdoc/doc-base+    svn co https://svn.php.net/repository/phpdoc/doc-base/trunk --depth infinity phpdoc/doc-base
  
 ==== Conclusion ==== ==== Conclusion ====
Line 41: Line 41:
  
 That'll configure and validate the checkout. That'll configure and validate the checkout.
 +
 +==== Notes ====
 +The above instructions (for svn:externals and sparse checkouts) checkout trunk from SVN. This is because the manual rarely uses branches or tags, but checking out via one of the above methods is certainly not required, but rather is meant to keep things simple. 
doc/scratchpad/howto/checkout.1248887772.txt.gz · Last modified: 2017/09/22 13:28 (external edit)