1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00
Commit graph

1699 commits

Author SHA1 Message Date
Matthias Derer
1425bb7fc3 added tests to reproduce the bug 2015-02-16 13:46:59 +01:00
Jordi Boggiano
781d8cb925 Merge pull request #3740 from bestform/ignore-root-requirements-in-installer
Ignore root requirements in installer when installing from locked state
2015-02-14 17:12:21 +00:00
Jordi Boggiano
53925295c3 Merge pull request #3699 from trivago/non_feature_branches
added non-feature-branches
2015-02-14 15:44:45 +00:00
Matthias Derer
c9cff6387a removed requirements from the root package should we install from the lock file 2015-02-13 16:15:34 +01:00
msiebeneicher
98de300878 * Small improvement of the testExcludeFromClassmap unit test 2015-02-12 09:49:42 +01:00
msiebeneicher
dad6b05ca7 Merge branches 'add_exclude' and 'master' of https://github.com/trivago/composer into add_exclude
* Resolve conflicts and update unit test
2015-02-11 18:04:57 +01:00
msiebeneicher
f28785a49d Merge branches 'add_exclude' and 'master' of https://github.com/trivago/composer into add_exclude
* 'add_exclude' of https://github.com/trivago/composer:

# By Jordi Boggiano (239) and others
# Via Jordi Boggiano (184) and others
* 'master' of https://github.com/trivago/composer: (638 commits)
  Simplified syntax
  github deprecation changes
  fix bug in GitDriver::supports for remote repo
  strict check, testcase(s)
  Fix regex matching and add more tests for addSubNode, refs #3721, fixes #3716
  solve edge case for `composer remove vendor/pkg`
  chmod 644 src/Composer/Command/RemoveCommand.php
  Avoid failing on composer show of lazy providers
  Show more info when a download fails
  Add notion of autoloader skipping autoload-dev rules
  Satis grammar fix.
  remove unused statements
  removed needless output param
  + limit git ls-remote to heads + escape repo url
  add check for remote Repository in GitDriver::supports
  suppress the prefix
  Improve notice about /usr/local/bin
  Reuse current file permissions
  Add the P character to the regex pattern
  Added deprecated warning for the dev option
  ...

Conflicts:
	src/Composer/Autoload/AutoloadGenerator.php
	src/Composer/Autoload/ClassMapGenerator.php
2015-02-11 17:54:35 +01:00
Jordi Boggiano
1f1b334f46 Merge pull request #3711 from alcohol/github-api-v3-deprecations
GitHub api v3 deprecations, closes #3566
2015-02-11 10:28:17 +00:00
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
2015-02-11 10:18:47 +01:00
Rob Bast
d02eb8760b strict check, testcase(s) 2015-02-10 12:55:49 +01:00
Jordi Boggiano
6c971c3028 Fix regex matching and add more tests for addSubNode, refs #3721, fixes #3716 2015-02-09 19:11:32 +00:00
Rob Bast
fb54429941 solve edge case for composer remove vendor/pkg 2015-02-09 17:21:20 +01:00
rkerner
abc9d60fcc added non-feature-branches to handle non-numeric branches matching configured patterns not been handled as feature branches 2015-02-02 14:36:50 +01:00
Padraic Brady
19e24c5804 Merge branch 'master' into tls-config
Conflicts:
	.travis.yml
	doc/03-cli.md
	src/Composer/Command/ConfigCommand.php
	src/Composer/Command/CreateProjectCommand.php
	src/Composer/Command/DiagnoseCommand.php
	src/Composer/Command/InstallCommand.php
	src/Composer/Command/RequireCommand.php
	src/Composer/Command/SelfUpdateCommand.php
	src/Composer/Command/ShowCommand.php
	src/Composer/Command/UpdateCommand.php
	src/Composer/Config.php
	src/Composer/Downloader/FileDownloader.php
	src/Composer/Factory.php
	src/Composer/Repository/ComposerRepository.php
	src/Composer/Repository/PearRepository.php
	src/Composer/Repository/Vcs/VcsDriver.php
	src/Composer/Util/GitHub.php
	src/Composer/Util/RemoteFilesystem.php
2015-01-29 20:31:56 +00:00
Nils Adermann
2697673666 Merge pull request #3685 from xfornesa/issue3647
fix for issue #3647
2015-01-28 16:17:56 +01:00
Xavier Fornes
8ba8580a28 fix test implementation for php 5.3
refs issue #3657
2015-01-28 11:46:38 +01:00
Nils Adermann
0543a32d39 Merge pull request #3610 from bd808/feature/classmap-authoritative
Add classmap-authoritative config setting
2015-01-28 11:26:28 +01:00
Xavier Fornes
bb0a2df293 fix for issue #3657
ConsoleIO writing a message which contains end of lines characters
2015-01-28 08:49:38 +01:00
Nils Adermann
5e5eb069dc Don't use a regex to parse installer tests to allow for longer tests 2015-01-27 17:02:37 +01:00
Jordi Boggiano
7b308a27f6 Merge pull request #3655 from theravel/master
Fix error handling for incorrect "repositories" array
2015-01-20 10:35:14 +00:00
Jordi Boggiano
cd38d1e096 Tweaks to also support 1.0-dev style aliases, refs #3480 2015-01-20 10:26:10 +00:00
Dmitry Tarasov
3b678ee379 Fix error handling for incorrect "repositories" array 2015-01-20 13:03:55 +03:00
Damian Mooyman
7bb85ff21e Support aliases for numeric branches. Fixes #3461 2015-01-20 17:42:01 +13:00
Grégoire Paris
091fee8a3b skip some tests when the zip extension misses
It is required for some tests to run.
2015-01-08 21:32:37 +01:00
Bryan Davis
0f2558dab3 Use assertContains in ClassMapAuthoritative checks
Use assertContains instead of assertRegExp when checking for
ClassMapAuthoritative settings.
2015-01-05 12:05:17 -07:00
Jordi Boggiano
e0d36e19eb Disable overwrites when no-ansi is present, fixes #3612 2015-01-05 16:17:15 +00:00
Bryan Davis
92455759fc Fix AutoloadGeneratorTest for PHP 5.3.x 2015-01-03 18:01:18 -07:00
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
2015-01-03 17:35:25 -07:00
Jordi Boggiano
220bd2bd1e Remove phpunit repo from tests 2015-01-01 16:26:14 +00:00
Jordi Boggiano
0a0ad6c335 Merge pull request #3562 from stof/patch-1
Add the package license for PEAR packages
2014-12-28 15:09:37 +00:00
Christophe Coevoet
9bc6209be9 Fix tests for the pear repository 2014-12-27 00:12:35 +01:00
Christophe Coevoet
267af928df Add a failing testcase for stability flags in complex constraints
Refs #3570
2014-12-22 12:27:56 +01:00
Jordi Boggiano
60ac971419 Fix relative path fetching when a var uses var replacement, fixes #3564 2014-12-17 21:57:27 +00:00
Jordi Boggiano
331bda235c Fix activation of global plugins, fixes #3557 2014-12-16 11:12:13 +00:00
Jordi Boggiano
523aef76d0 Fix tests again.. 2014-12-14 13:46:37 +00:00
Jordi Boggiano
901fd838f3 Merge pull request #3450 from nicolas-grekas/prefer-lowest-stable
add --prefer-lowest and --prefer-stable to update command
2014-12-14 13:02:06 +00:00
Nicolas Grekas
e821ac2772 Persist prefer-lowest in composer.lock 2014-12-14 10:29:41 +01:00
Jordi Boggiano
0627d846a5 PluginManager refactoring, fixes #3550 2014-12-13 18:54:42 +00:00
Jordi Boggiano
1622b9a390 Fix tests 2014-12-13 16:14:03 +00:00
Jordi Boggiano
8c3ee03734 Enough intermittent failures already 2014-12-13 15:14:54 +00:00
Jordi Boggiano
bef89604e2 Fix parsing of strings, fixes #3543 2014-12-13 14:31:58 +00:00
Nils Adermann
e844ead223 Merge pull request #3467 from naderman/fix-update-whitelist-unused
Add test case for removing unused dependencies on whitelisted update
2014-12-13 14:48:24 +01:00
Nicolas Grekas
98b254a3ec split update --prefer-lowest and --prefer-stable 2014-12-13 11:51:30 +01:00
Nicolas Grekas
4a0feb0189 add --prefer-lowest-stable to update command 2014-12-13 11:51:30 +01:00
Andreas Möller
6ddd8d4ec7 Enhancement: Add sort-packages option which allows sorting of packages 2014-12-13 00:24:14 +01:00
Rob
d9b8b3611b fixes composer/composer#3546 2014-12-12 22:33:04 +01:00
Jordi Boggiano
76c666e210 Merge pull request #3544 from alcohol/match-event-to-listener-expectation
fix for composer/composer#3382
2014-12-12 18:18:12 +00:00
Rob Bast
113606be7b should fix composer/composer#3382 2014-12-12 18:41:37 +01:00
Jordi Boggiano
55895ab494 Skip tests on hhvm 2014-12-12 13:33:45 +00:00
Jordi Boggiano
da881c118b Fix failures 2014-12-12 13:15:34 +00:00