4895 Commits (c1edfbb65cafa8a181a2126512da3392fb359837)
 

Author SHA1 Message Date
Jérôme Tamarelle c1edfbb65c Add tests on GitLabDriver
Add an interactive prompt for gitlab token

Update doc for gitlab-domains

Add tests on GitLabDriver::supports

Update doc + CS

Optimize branch detection + fix typos

Fix test on GitLab support as it depends on SSL

Remove useless method + fix repository URL containing .git
9 years ago
Jérôme Tamarelle 802b57417a Pass GitLab credential by HTTP header instead of query string to improve security 9 years ago
Jérôme Tamarelle 48fc2eafa0 Add gitlab.com as default GitLab domain 9 years ago
Jerome TAMARELLE 5fece6ae83 Use Gitlab blob API to retreive composer.json files
Store missing composer.json into the cache

[GitLab] Reduce API calls by caching

Download ZIP archives from gitlab + fix repo URL

Fix cached commit objects
9 years ago
Henrik Bjørnskov 782c6303bc 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.
9 years ago
Jordi Boggiano eadc167b12 Fix BC layer for events 9 years ago
Jordi Boggiano 82b7fdf4c1 Add BC for Script\Event instances, fixes #3811 9 years ago
Jordi Boggiano b098a2fdde Fix clear cache when a dir does not exist, fixes #3810 9 years ago
Jordi Boggiano 664202e767 Merge pull request #3804 from legoktm/nocheckpublish
Add --no-check-publish option to "composer validate"
9 years ago
Kunal Mehta 05e196893b Add --no-check-publish option to "composer validate"
This is useful when you want to use composer to manage dependencies, but
don't actually want your project to be installable as a composer package.

Any issues that would prevent publishing are still shown, but as a warning
instead of an error.
9 years ago
Jordi Boggiano d5feea83b6 Sync up diagnose command with the installer 9 years ago
Jordi Boggiano 45b1f356c2 Add debug output when a plugin is loaded 9 years ago
Jordi Boggiano c7b0628d93 Fix tests 9 years ago
Jordi Boggiano 4d665f59b0 Create lock if we only have platform dependencies 9 years ago
Jordi Boggiano e5985a9b55 Merge pull request #3778 from edhgoose/patch-1
Fix reference to getIO as per #3777
9 years ago
Jordi Boggiano 2eb69f120e Move check to follow the previous code change 9 years ago
Jordi Boggiano 0c775e997e Fallback to https directly if ssh proto is disabled on github private repos, fixes #2786 9 years ago
Edward Hartwell Goose bcb5e479b7 Fix reference to getIO as per #3777 9 years ago
Jordi Boggiano e0ce559838 Merge remote-tracking branch 'alcohol/write-errors-to-stderr'
Conflicts:
	src/Composer/Command/LicensesCommand.php
9 years ago
Jordi Boggiano c573ae5781 Add missing LICENSE files from dependencies, fixes #3776 9 years ago
Jordi Boggiano ad40dbf941 Merge remote-tracking branch 'origin/master' 9 years ago
Jordi Boggiano 182cfbc249 Merge remote-tracking branch 'SofHad/licenses'
Conflicts:
	src/Composer/Command/LicensesCommand.php
9 years ago
Jordi Boggiano 475c84d4b1 Merge pull request #3775 from rantonmattei/patch-1
VCS section: add requirements for the branch name
9 years ago
Raphael Antonmattei 7b635f835d VCS section: add requirements for the branch name
If you want to use a custom branch in your requirements in your `composer.json`, that branch must be prefixed with "dev-" or you'll get an error:
```sh
[UnexpectedValueException]
  Could not parse version constraint some-branch: Invalid version string "some-branch".
```

It took me a while to find that info, so I figured I'd rather edit the doc.
Let me know.
9 years ago
Jordi Boggiano 3ba581f0df Improve error messages for required hhvm/php versions, fixes #3767 9 years ago
Jordi Boggiano 2426788cdc Merge pull request #3774 from xabbuh/update-table
remove unused method argument
9 years ago
Jordi Boggiano c2f2ddfa5c Merge remote-tracking branch 'GromNaN/prophecy'
Conflicts:
	composer.lock
9 years ago
Christian Flothmann fa3ea2a626 remove unused method argument
Unlike the `TableHelper`, the `render()` method of the `Table` class
does not make use of an `$output` argument. The actual `OutputInterface`
to send the table to is passed in the constructor instead.
9 years ago
Rob Bast 3d329622d7 overwrite -> overwriteError 9 years ago
Rob Bast 3c7a617753 overwriteError + ask[X]() to stderr 9 years ago
Rob Bast ec434e4576 Formatting only 9 years ago
Rob Bast cb336a5416 Implement writeError throughout Composer 9 years ago
Jordi Boggiano 84d4594278 Merge remote-tracking branch 'alcohol/update-tablehelper-to-table' 9 years ago
Jordi Boggiano 0b4a9235f4 CS fixes 9 years ago
Jordi Boggiano 3cff4a3bb9 Check for homepages in local repo first if available to make the home command faster 9 years ago
Jordi Boggiano 01476214da Tweak satis/toran/packagist docs 9 years ago
Jordi Boggiano c291b07abd Merge pull request #3764 from alcohol/retry-slow-test
retry slow test if timeout occurs
9 years ago
Jordi Boggiano 09da587ee2 Forward args 9 years ago
Jordi Boggiano 074a748675 missing use statements :s 9 years ago
Jordi Boggiano 3efed220a6 Clean up event dispatching code and make package events extend installer events 9 years ago
Jordi Boggiano 235b0cf84e Merge pull request #3758 from qw3rtman/follow-symfony-coding-standards
Conform with Symfony Coding Standards
9 years ago
Rob Bast 85955d82a6 Raise timeout to 5 minutes 9 years ago
Jérôme Tamarelle 9c58fd725f Update deps 9 years ago
Jérôme Tamarelle b91be79137 Update PHPUnit version to get prophecy 9 years ago
Rob Bast 85182cf7e1 Update dependency version constraint 9 years ago
Rob Bast 3dd93c91b8 TableHelper is deprecated, switched to Table 9 years ago
Nimit Kalra b2b9688c92 Conform with Symfony Coding Standards
According to Symfony Coding Standards, a single space must be added around binary operators excluding the concatenation operator.

"Add a single space around binary operators (==, &&, ...), with the exception of the concatenation (.) operator" (http://symfony.com/doc/current/contributing/code/standards.html)
10 years ago
Jordi Boggiano 833ce98426 Merge pull request #3747 from vkartaviy/patch
Added missing $learnedWhy property
10 years ago
Jordi Boggiano 5744981795 Merge pull request #3702 from alcohol/feature/list-scripts
Added --list to run-script command, closes #3671
10 years ago
Jordi Boggiano 0e977e3fde Add more docs to config command 10 years ago