Browse Source

Clarify "path" repository type version requirement

Stephen Beemsterboer 10 years ago
parent
commit
d58a788485
1 changed files with 5 additions and 0 deletions
  1. 5 0
      doc/05-repositories.md

+ 5 - 0
doc/05-repositories.md

@@ -639,6 +639,11 @@ file, you can use the following configuration:
 }
 }
 ```
 ```
 
 
+If the package is a local VCS repository, the version may be inferred by
+the branch or tag that is currently checked out. Otherwise, the version should
+be explicitly defined in the package's `composer.json` file. If the version
+cannot be resolved by these means, it is assumed to be `dev-master`.
+
 The local package will be symlinked if possible, in which case the output in
 The local package will be symlinked if possible, in which case the output in
 the console will read `Symlinked from ../../packages/my-package`. If symlinking
 the console will read `Symlinked from ../../packages/my-package`. If symlinking
 is _not_ possible the package will be copied. In that case, the console will
 is _not_ possible the package will be copied. In that case, the console will