setting up pear2 and pear checkouts with SVN 1.5+

From: Date: Sat, 25 Jul 2009 18:12:26 +0000
Subject: setting up pear2 and pear checkouts with SVN 1.5+
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-52480@lists.php.net to get a copy of this message
Hi, Now that pear2 is in svn.php.net, it is possible to do commits with multiple packages using a feature of subversion called "sparse checkouts." Rasmus wrote about this for setting up php checkouts here: http://news.php.net/php.internals/44993 Here is the version I used to set up pear and pear2 in a way that will allow committing to both pear and pear2 packages in a single commit. For packages like Console_CommandLine that live in both repositories, this is very useful for tracking merges. (Note: on windows, get TortoiseSVN 1.6.3, and right-click "checkout" for checkout, and use the "update to revision" option for the sparse updates) svn co http://svn.php.net/repository --set-depth empty phpsvn cd phpsvn svn up --set-depth immediates pear pear2 svn up --set-depth immediates pear2/* pear/* svn up --set-depth infinity pear2/*/trunk pear/*/trunk svn up --set-depth immediates pear2/sandbox svn up --set-depth infinity pear2/sandbox/*/trunk svn up --set-depth immediates pear/peardoc svn up --set-depth infinity pear/peardoc/trunk At this point, your work is done. You can perform the same steps for pearweb if you're a maintainer, and be on your way. With the above setup, when you make a change to a package, you can update the documentation immediately and commit it together, by changing to phpsvn and running "svn commit" (Windows: right-click on the phpsvn folder and choose "svn commit") Hopefully this will get people started with being able to develop more efficiently and to work effectively with PEAR2. If you want to start a Pear2 package, all you need to do is send an email here, and the PEAR Group will get you set up. I'm happy to answer any questions. PEAR Group: can one of you turn this into a blog post for blog.pear.php.net? Greg

« previous php.pear.dev (#52480) next »