Re: Preferred doc checkouts
| From: | Richard Quadling | Date: | Thu, 30 Jul 2009 09:04:31 +0000 |
| Subject: | Re: Preferred doc checkouts | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969380712@lists.php.net to get a copy of this message | ||
2009/7/30 Hannes Magnusson <hannes.magnusson@gmail.com>:
> On Thu, Jul 30, 2009 at 10:36, KSChan<mr.kschan@gmail.com> wrote:
>> On Thu, Jul 30, 2009 at 1:57 AM, Philip Olson <philip@roshambo.org> wrote:
>>>
>>> Hi all,
>>>
>>> Here's a draft of what our checkout instructions might look like. The idea
>>> is to consolidate where we talk about checking out the docs, then link
>>> there. Please have a look and improve:
>>>
>>> http://wiki.php.net/doc/scratchpad/howto/checkout
>>
>> If i'm going to checkout all language in doc-editor, am i going to do the
>> following?
>>
>> svn co http://svn.php.net/repository --depth empty phpdoc
>>
>> svn co http://svn.php.net/repository/phpdoc/fr/trunk
>> --depth infinity
>> phpdoc/fr
>> svn co http://svn.php.net/repository/phpdoc/jp/trunk
>> --depth infinity
>> phpdoc/jp
>>
>> svn co http://svn.php.net/repository/phpdoc/en/trunk
>> --depth infinity
>> phpdoc/en
>
> If you don't mind the "trunk/" in the dir names you could:
> $ svn co http://svn.php.net/repository/phpdoc --depth
> immediates
> $ cd phpdoc/
> $ svn up * --set-depth immediates
> $ svn up */trunk --set-depth infinity
>
> Using svn:externals magic however is the simplest approach:
> $ svn checkout
> http://svn.php.net/viewvc/phpdoc/modules/doc-all/
>
> That'll create a directory structure you tried to make above.
>
> -Hannes
>
Is there a technical reason why the svn:externals is not the preferred way?
Having to have scripts deal with ...
phpdoc/doc-base/trunk
phpdoc/en/trunk
vs
phpdoc/doc-base
phpdoc/en
vs
phpdoc/doc-base/trunk
phpdoc/en
vs
phpdoc/doc-base
phpdoc/en/trunk
OK, the last 2 are probably note going to happen but you see the issue.
--
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"
ZOPA : http://uk.zopa.com/member/RQuadling