Add 'git-bitbucket' in RepositoryFactory
Add 'git-bitbucket' and 'hg-bitbucket' in RepositoryFactory help to call good driver in vcs Cause if you config your repository type with 'git'. the GitDriver is instantiate and not GitBitbucketDriver Fix #5389pull/7015/merge
parent
471b012e3a
commit
621a9d845c
|
@ -119,12 +119,14 @@ class RepositoryFactory
|
|||
$rm->setRepositoryClass('package', 'Composer\Repository\PackageRepository');
|
||||
$rm->setRepositoryClass('pear', 'Composer\Repository\PearRepository');
|
||||
$rm->setRepositoryClass('git', 'Composer\Repository\VcsRepository');
|
||||
$rm->setRepositoryClass('git-bitbucket', 'Composer\Repository\VcsRepository');
|
||||
$rm->setRepositoryClass('github', 'Composer\Repository\VcsRepository');
|
||||
$rm->setRepositoryClass('gitlab', 'Composer\Repository\VcsRepository');
|
||||
$rm->setRepositoryClass('svn', 'Composer\Repository\VcsRepository');
|
||||
$rm->setRepositoryClass('fossil', 'Composer\Repository\VcsRepository');
|
||||
$rm->setRepositoryClass('perforce', 'Composer\Repository\VcsRepository');
|
||||
$rm->setRepositoryClass('hg', 'Composer\Repository\VcsRepository');
|
||||
$rm->setRepositoryClass('hg-bitbucket', 'Composer\Repository\VcsRepository');
|
||||
$rm->setRepositoryClass('artifact', 'Composer\Repository\ArtifactRepository');
|
||||
$rm->setRepositoryClass('path', 'Composer\Repository\PathRepository');
|
||||
|
||||
|
|
Loading…
Reference in New Issue