mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Initial GitLab Driver
This is a proof of concept, and mostly done to gather feedback on the structure of the driver and to see if this is something that Composer should include in core. Various review changes based on Stof comments. * Remove cleanup() as it is implemented by the abstract class. * Remove wrong comment in getReferences * Implement getSource (as GitHubDriver does) * Finish phpDocs for methods.
This commit is contained in:
parent
eadc167b12
commit
782c6303bc
5 changed files with 293 additions and 1 deletions
|
@ -43,6 +43,7 @@ class VcsRepository extends ArrayRepository
|
|||
{
|
||||
$this->drivers = $drivers ?: array(
|
||||
'github' => 'Composer\Repository\Vcs\GitHubDriver',
|
||||
'gitlab' => 'Composer\Repository\Vcs\GitLabDriver',
|
||||
'git-bitbucket' => 'Composer\Repository\Vcs\GitBitbucketDriver',
|
||||
'git' => 'Composer\Repository\Vcs\GitDriver',
|
||||
'hg-bitbucket' => 'Composer\Repository\Vcs\HgBitbucketDriver',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue