1
0
Fork 0

Add subversion repo options docs

pull/1191/merge
Jordi Boggiano 2012-10-19 12:31:05 +02:00
parent ed9fcc5074
commit 75c0d5592d
1 changed files with 20 additions and 0 deletions

View File

@ -212,6 +212,26 @@ The VCS driver to be used is detected automatically based on the URL. However,
should you need to specify one for whatever reason, you can use `git`, `svn` or
`hg` as the repository type instead of `vcs`.
#### Subversion Options
Since Subversion has no native concept of branches and tags, Composer assumes
by default that code is located in `$url/trunk`, `$url/branches` and
`$url/tags`. If your repository has a different layout you can change those
values. For example if you used capitalized names you could configure the
repository like this:
{
"repositories": [
{
"type": "vcs",
"url": "http://svn.example.org/projectA/",
"trunk-path": "Trunk",
"branches-path": "Branches",
"tags-path": "Tags"
}
]
}
### PEAR
It is possible to install packages from any PEAR channel by using the `pear`