Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 470 lines (442 sloc) 17.552 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.9.4" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
 <name>VersionControl_SVN</name>
 <channel>pear.php.net</channel>
 <summary>Simple OO wrapper interface for the Subversion command-line client.</summary>
 <description>What is VersionControl_SVN?

VersionControl_SVN is a simple OO-style interface for Subversion,
the free/open-source version control system.

VersionControl_SVN can be used to manage trees of source code,
text files, image files -- just about any
collection of files.

Some of VersionControl_SVN&apos;s features:

* Full support of svn command-line client&apos;s
  subcommands.
* Use of flexible error reporting provided by
  PEAR_ErrorStack.
* Multi-object factory.
* Source fully documented with PHPDoc.
* Stable, extensible interface.
* Collection of helpful quickstart examples and
  tutorials.

What can be done with VersionControl_SVN?

* Make your source code available to your
  remote dev team or project manager.

* Build your own WYSIWYG web interface to a
  Subversion repository.
 
* Add true version control to a content management
  system!
  
Note: Requires a Subversion installation.
Subverison is available from
http://subversion.tigris.org/

VersionControl_SVN is tested against Subversion 1.6.3</description>
 <lead>
  <name>Clay Loveless</name>
  <user>clay</user>
  <email>clay@loveless.net</email>
  <active>no</active>
 </lead>
 <lead>
  <name>Michiel Rook</name>
  <user>mrook</user>
  <email>mrook@php.net</email>
  <active>yes</active>
 </lead>
 <date>2011-10-14</date>
 <time>21:42:55</time>
 <version>
  <release>0.4.0</release>
  <api>0.4.0</api>
 </version>
 <stability>
  <release>alpha</release>
  <api>beta</api>
 </stability>
 <license>BSD License</license>
 <notes>
* Fix Bug #16639: PHP &quot;Error return value of new by reference is deprecated&quot; [mrook]
 * Fix Bug #17335: E_DEPRECATED is triggered [mrook]
 * Fix Bug #18010: Determine svn location automatically [mrook]
 * Fix Bug #18472: Need to add --non-interactive [mrook]
 * Fix Bug #18713: Move Command doesn&apos;t need a Message [mrook]
 * Fix Bug #18715: Copy command requires message switch [mrook]
 * Implement Feature #18028: Better support for --ignore-externals option [mrook]
 * Implement Feature #18623: Add xml output switch [mrook]
 </notes>
 <contents>
  <dir name="/">
   <dir name="docs">
    <dir name="examples">
     <file baseinstalldir="/VersionControl" name="example1.php" role="doc" />
     <file baseinstalldir="/VersionControl" name="example_tree.php" role="doc" />
    </dir> <!-- /docs/examples -->
    <dir name="tutorials">
     <dir name="VersionControl_SVN">
      <file baseinstalldir="/VersionControl" name="VersionControl_SVN.pkg" role="doc">
       <tasks:replace from="@version@" to="version" type="package-info" />
      </file>
     </dir> <!-- /docs/tutorials/VersionControl_SVN -->
    </dir> <!-- /docs/tutorials -->
    <file baseinstalldir="/VersionControl" name="LICENSE" role="doc" />
   </dir> <!-- /docs -->
   <dir name="SVN">
    <dir name="Parser">
     <dir name="XML">
      <file baseinstalldir="/VersionControl" name="Info.php" role="php">
       <tasks:replace from="@version@" to="version" type="package-info" />
      </file>
      <file baseinstalldir="/VersionControl" name="List.php" role="php">
       <tasks:replace from="@version@" to="version" type="package-info" />
      </file>
      <file baseinstalldir="/VersionControl" name="Log.php" role="php">
       <tasks:replace from="@version@" to="version" type="package-info" />
      </file>
      <file baseinstalldir="/VersionControl" name="Status.php" role="php">
       <tasks:replace from="@version@" to="version" type="package-info" />
      </file>
     </dir> <!-- /SVN/Parser/XML -->
     <file baseinstalldir="/VersionControl" name="Exception.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="XML.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
    </dir> <!-- /SVN/Parser -->
    <dir name="Command">
     <file baseinstalldir="/VersionControl" name="Add.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="Blame.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="Cat.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="Changelist.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="Checkout.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="Cleanup.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="Commit.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="Copy.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="Delete.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="Diff.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="Export.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="Import.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="Info.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="List.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="Log.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="Merge.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="Mkdir.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="Move.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="Propdel.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="Propget.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="Proplist.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="Propset.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="Resolved.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="Revert.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="Status.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="Switch.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
     <file baseinstalldir="/VersionControl" name="Update.php" role="php">
      <tasks:replace from="@version@" to="version" type="package-info" />
     </file>
    </dir> <!-- /SVN/Command -->
    <file baseinstalldir="/VersionControl" name="Command.php" role="php">
     <tasks:replace from="@version@" to="version" type="package-info" />
    </file>
    <file baseinstalldir="/VersionControl" name="Exception.php" role="php">
     <tasks:replace from="@version@" to="version" type="package-info" />
    </file>
   </dir> <!-- /SVN -->
   <file baseinstalldir="/VersionControl" name="SVN.php" role="php">
    <tasks:replace from="@version@" to="version" type="package-info" />
   </file>
  </dir> <!-- / -->
 </contents>
 <dependencies>
  <required>
   <php>
    <min>5.2.0</min>
   </php>
   <pearinstaller>
    <min>1.4.0b1</min>
   </pearinstaller>
   <package>
    <name>PEAR</name>
    <channel>pear.php.net</channel>
    <min>1.9.4</min>
   </package>
  </required>
 </dependencies>
 <phprelease />
 <changelog>
  <release>
   <version>
    <release>0.3.4</release>
    <api>0.3.0alpha1</api>
   </version>
   <stability>
    <release>alpha</release>
    <api>alpha</api>
   </stability>
   <date>2010-10-05</date>
   <license>BSD License</license>
   <notes>
* Fix Bug #16892: SVN.run() on windows doesn&apos;t execute properly [mrook]
* Fix Bug #17268: Windows &quot;Fix&quot; actually prevents execution
* [mrook]
* Fix Bug #17477: Windows directory not quoted in the $arg array of the
* SVN-&gt;run()
  method [mrook]
* Implement Feature #16952: Enable --summarize switch for diff command
* [mrook]
* Implement Feature #17310: Add support for --parents in Svn/Copy.php
* [mrook]
* Implement Feature #17394: Add support for ignore-externals switch for
* update and checkout
  command [mrook]
* Implement Feature #17415: escapeshellargs [mrook]
* Implement Feature #17530: Enable --force command for update [mrook]
   </notes>
  </release>
  <release>
   <version>
    <release>0.3.3</release>
    <api>0.3.0alpha1</api>
   </version>
   <stability>
    <release>alpha</release>
    <api>alpha</api>
   </stability>
   <date>2009-09-02</date>
   <license>BSD License</license>
   <notes>
* Fix Bug #14114: Delete command requires -m switch [mrook]
   </notes>
  </release>
  <release>
   <version>
    <release>0.3.2</release>
    <api>0.3.0alpha1</api>
   </version>
   <stability>
    <release>alpha</release>
    <api>alpha</api>
   </stability>
   <date>2009-08-09</date>
   <license>BSD License</license>
   <notes>
* Fix Bug #12439: Log using VERSIONCONTROL_SVN_FETCHMODE_ARRAY fails [mrook]
* Fix Bug #14114: Delete command requires -m switch [mrook]
* Fix Bug #14643: Single quote are used instead of double quotes. [mrook]
* Fix Bug #14827: VersionControl_SVN_Copy cannot prepare command [mrook]
* Fix Bug #15186: VersionControl_SVN::run has trouble with Windows paths. [mrook]
* Implement Feature #13011: info command should accept username/password switches [mrook]
   </notes>
  </release>
  <release>
   <version>
    <release>0.3.1</release>
    <api>0.3.0alpha1</api>
   </version>
   <stability>
    <release>alpha</release>
    <api>alpha</api>
   </stability>
   <date>2007-09-17</date>
   <license>BSD License</license>
   <notes>
The 0.3.1 alpha release addresses a vast majority of open items discovered
with the VersionControl_SVN 0.3.0alpha1 release.
     
 * Fix Bug #5020: Code-bug, missing break in switch [clay]
 * Fix Bug #5099: Copy ignores source, traget and switches [clay]
 * Fix Bug #9351: log does not accept the &apos;limit&apos; switch [clay]
 * Fix Bug #9998: Regular Expression Matching For List [clay]
 * Fix Bug #11935: All checkouts are non-recursive due to a typo in SVN/Checkout.php [clay]
 * Implement Feature #5021: SVN objects are not reusable [clay]
 * Implement Feature #9343: Using non-english file/dir names [clay]
 
A new public property called &apos;prepend_cmd&apos; is supported to allow environment
variables controlling things such as character encoding to be prepended to
the Subversion command execution. This was introduced in response to #9343.

NOTE: This is very likely to be among the last of PHP 4 compatible releases.
Significant refactoring is already underway for a PHP 5-only release of the
package. If significant issues are found in this release, a few more 0.3.x
releases may be made.
   </notes>
  </release>
  <release>
   <version>
    <release>0.3.0</release>
    <api>0.3.0alpha1</api>
   </version>
   <stability>
    <release>alpha</release>
    <api>alpha</api>
   </stability>
   <date>2004-06-09</date>
   <license>BSD License</license>
   <notes>
- Completed all svn subcommand packages.
   </notes>
  </release>
  <release>
   <version>
    <release>0.3.0alpha1</release>
    <api>0.3.0alpha1</api>
   </version>
   <stability>
    <release>alpha</release>
    <api>alpha</api>
   </stability>
   <date>2004-06-09</date>
   <license uri="http://www.example.com">BSD License</license>
   <notes>
- Completed all svn subcommand packages.
   </notes>
  </release>
  <release>
   <version>
    <release>0.2.2alpha1</release>
    <api>0.2.2alpha1</api>
   </version>
   <stability>
    <release>alpha</release>
    <api>alpha</api>
   </stability>
   <date>2004-06-06</date>
   <license uri="http://www.example.com">BSD License</license>
   <notes>
- Added in-depth parsing to List subcommand output.

- Added Propget subcomand.

- Added VERSIONCONTROL_SVN_FETCHMODE_ARRAY mode for numbered-index array output. (Currently used by List command only.)
   </notes>
  </release>
  <release>
   <version>
    <release>0.2.1alpha1</release>
    <api>0.2.1alpha1</api>
   </version>
   <stability>
    <release>alpha</release>
    <api>alpha</api>
   </stability>
   <date>2004-04-26</date>
   <license uri="http://www.example.com">BSD License</license>
   <notes>
Renamed the package from SCM_SVN to VersionControl_SVN.
   </notes>
  </release>
  <release>
   <version>
    <release>0.2.0alpha1</release>
    <api>0.2.0alpha1</api>
   </version>
   <stability>
    <release>alpha</release>
    <api>alpha</api>
   </stability>
   <date>2004-04-25</date>
   <license uri="http://www.example.com">BSD License</license>
   <notes>
Revised alpha release for PEAR Proposal.
    
- Reworked use of PEAR_ErrorStack throughout the package.

- Split the concept of the $options array into three seperate
  arrays:
  
  $options() - Used to set runtime options for the
                  VersionControl_SVN class itself.
                  (Associative array)
                  
  $switches() - Used to pass switches and their values
                  to an individual Subversion subcommand.
                  (Associative array)
                  
  $args() - Used to pass arguments to the Subversion
                  subcommands. This non-associative array
                  will be joined by single spaces when passed
                  off to the run() method.
                  
                  Use for anything you would normally specify
                  on the command-line *outside* of switches.
                  
- Implemented use_escapeshellcmd property, which defaults to true.
  If set to false, the svn command passed to exec will NOT be
  escaped. Recommended use: retain default setting of true unless
  you really know what you&apos;re doing. (Thanks to Alan Knowles for
  this suggestion.)
  
- Introduced the $shortcuts property, which contains all known
  shortcuts for Subversion svn subcommands. This allows you
  to pass the shortcuts to VersionControl_SVN::factory if you prefer.
  
- Merged VersionControl_SVN_Common into VersionControl_SVN to simplify things a bit.
  (Thanks again to Alan Knowles.)
  
- Moved basic property assignment tasks into init() method
  called by factory() and got rid of subclass constructors.
 
- Added parseOutput() method to VersionControl_SVN, which should be overridden
  by each subclass. The parseOutput() methods will (when possible!)
  parse output of successful run() calls into an associative array.
  Default parseOutput result is a join() of the exec() output generated
  by the run() method.
  
- Added checkCommandRequirements() method to VersionControl_SVN, which reads
  properties from the command subclass and validates the given
  $switches and $args to insure that all necessary $switches and $args
  are set for proper command execution. (Thanks once again to Alan
  Knowles for this recommendation.)
  
- Added SVN/Propdel.php and SVN/Propget.php subclasses.
   </notes>
  </release>
  <release>
   <version>
    <release>0.1.0</release>
    <api>0.1.0</api>
   </version>
   <stability>
    <release>alpha</release>
    <api>alpha</api>
   </stability>
   <date>2004-04-14</date>
   <license uri="http://www.example.com">BSD License</license>
   <notes>
Initial alpha release for PEAR Proposal.
   </notes>
  </release>
 </changelog>
</package>
Something went wrong with that request. Please try again.