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.
10 years ago
Jordi Boggiano
c7b0628d93
Fix tests
10 years ago
Rob Bast
3d329622d7
overwrite -> overwriteError
10 years ago
Rob Bast
cb336a5416
Implement writeError throughout Composer
10 years ago
Jordi Boggiano
0b4a9235f4
CS fixes
10 years ago
Jordi Boggiano
c291b07abd
Merge pull request #3764 from alcohol/retry-slow-test
...
retry slow test if timeout occurs
10 years ago
Jordi Boggiano
3efed220a6
Clean up event dispatching code and make package events extend installer events
10 years ago
Rob Bast
85955d82a6
Raise timeout to 5 minutes
10 years ago
Jordi Boggiano
efcd1e4247
Merge pull request #3749 from alcohol/allow-setting-packagist-to-false-through-config-command
...
composer config repositories.packagist false
10 years ago
Jordi Boggiano
306f5518d6
Merge pull request #3750 from DavidPrevot/git
...
Config Git repository user
10 years ago
Jordi Boggiano
5d3c7ab6b7
Rename test files and descriptions
10 years ago
Jordi Boggiano
b4698568d2
Adjust tests and fix installer code to create the pool using locked requirements and not the composer.json reqs
10 years ago
David Prévot
e5ede671d2
Config Git repository user
...
One can’t assume a Git user is already setup for the tests.
10 years ago
Rob Bast
ef92a06205
composer config repositories.packagist false
...
closes #3728 , closes #3713 , closes #3290 , not sure about #3025
10 years ago
Matthias Derer
1425bb7fc3
added tests to reproduce the bug
10 years ago
Jordi Boggiano
781d8cb925
Merge pull request #3740 from bestform/ignore-root-requirements-in-installer
...
Ignore root requirements in installer when installing from locked state
10 years ago
Jordi Boggiano
53925295c3
Merge pull request #3699 from trivago/non_feature_branches
...
added non-feature-branches
10 years ago
Matthias Derer
c9cff6387a
removed requirements from the root package should we install from the lock file
10 years ago
Jordi Boggiano
1f1b334f46
Merge pull request #3711 from alcohol/github-api-v3-deprecations
...
GitHub api v3 deprecations, closes #3566
10 years ago
Rob Bast
a34335a9bb
github deprecation changes
...
- added some tests
- minor bug fixes discovered during testing
- resolved two deprecations (rate limit api and authorizations api)
- added some more comments to make the flow more understandable
10 years ago
Rob Bast
d02eb8760b
strict check, testcase(s)
10 years ago
Jordi Boggiano
6c971c3028
Fix regex matching and add more tests for addSubNode, refs #3721 , fixes #3716
10 years ago
Rob Bast
fb54429941
solve edge case for `composer remove vendor/pkg`
10 years ago
rkerner
abc9d60fcc
added non-feature-branches to handle non-numeric branches matching configured patterns not been handled as feature branches
10 years ago
Nils Adermann
2697673666
Merge pull request #3685 from xfornesa/issue3647
...
fix for issue #3647
10 years ago
Xavier Fornes
8ba8580a28
fix test implementation for php 5.3
...
refs issue #3657
10 years ago
Nils Adermann
0543a32d39
Merge pull request #3610 from bd808/feature/classmap-authoritative
...
Add classmap-authoritative config setting
10 years ago
Xavier Fornes
bb0a2df293
fix for issue #3657
...
ConsoleIO writing a message which contains end of lines characters
10 years ago
Nils Adermann
5e5eb069dc
Don't use a regex to parse installer tests to allow for longer tests
10 years ago
Jordi Boggiano
7b308a27f6
Merge pull request #3655 from theravel/master
...
Fix error handling for incorrect "repositories" array
10 years ago
Jordi Boggiano
cd38d1e096
Tweaks to also support 1.0-dev style aliases, refs #3480
10 years ago
Dmitry Tarasov
3b678ee379
Fix error handling for incorrect "repositories" array
10 years ago
Damian Mooyman
7bb85ff21e
Support aliases for numeric branches. Fixes #3461
10 years ago
Grégoire Paris
091fee8a3b
skip some tests when the zip extension misses
...
It is required for some tests to run.
10 years ago
Bryan Davis
0f2558dab3
Use assertContains in ClassMapAuthoritative checks
...
Use assertContains instead of assertRegExp when checking for
ClassMapAuthoritative settings.
10 years ago
Jordi Boggiano
e0d36e19eb
Disable overwrites when no-ansi is present, fixes #3612
10 years ago
Bryan Davis
92455759fc
Fix AutoloadGeneratorTest for PHP 5.3.x
10 years ago
Bryan Davis
ad1f8e6c5a
Add classmap-authoritative config setting
...
Add a "classmap-authoritative" configuration setting that can be used to
disable searching the various prefix and fallback directories for
classes that have not been registered with the
Composer\Autoload\ClassLoader class map. This setting can be used to
optimize performance by avoiding a potentially large number of
`file_exists` calls when Composer is being used in a program with
additional autoloader facilities. Use of the setting implies
"optimize-autoloader" to ensure that the most complete class map
possible is generated.
Closes #3603
10 years ago
Jordi Boggiano
220bd2bd1e
Remove phpunit repo from tests
10 years ago
Jordi Boggiano
0a0ad6c335
Merge pull request #3562 from stof/patch-1
...
Add the package license for PEAR packages
10 years ago
Christophe Coevoet
9bc6209be9
Fix tests for the pear repository
10 years ago
Christophe Coevoet
267af928df
Add a failing testcase for stability flags in complex constraints
...
Refs #3570
10 years ago
Jordi Boggiano
60ac971419
Fix relative path fetching when a var uses var replacement, fixes #3564
10 years ago
Jordi Boggiano
331bda235c
Fix activation of global plugins, fixes #3557
10 years ago
Jordi Boggiano
523aef76d0
Fix tests again..
10 years ago
Jordi Boggiano
901fd838f3
Merge pull request #3450 from nicolas-grekas/prefer-lowest-stable
...
add --prefer-lowest and --prefer-stable to update command
10 years ago
Nicolas Grekas
e821ac2772
Persist prefer-lowest in composer.lock
10 years ago
Jordi Boggiano
0627d846a5
PluginManager refactoring, fixes #3550
10 years ago
Jordi Boggiano
1622b9a390
Fix tests
10 years ago
Jordi Boggiano
8c3ee03734
Enough intermittent failures already
10 years ago