1
0
Fork 0
Commit Graph

4823 Commits (6ce20d36b6f6caa312f9d28ac8256f00e7bd361e)

Author SHA1 Message Date
Nils Adermann 96955dd23b Merge pull request #3264 from duncan3dc/remove-self-update-warning
Don't display the dev warning time when running self-update
2014-11-21 18:51:14 +01:00
Nils Adermann b21f2be651 Merge pull request #3448 from cs278/config-env-test
Fix config tests when environment variables are set
2014-11-21 15:57:16 +01:00
Nils Adermann 5333017aea Remove unused selectNewestPackages method in DefaultPolicy
Unused as of 1b6f57e651
2014-11-21 15:26:09 +01:00
Chris Smith c819bd7e70 Update config tests to not use environment variables 2014-11-21 10:15:17 +00:00
Chris Smith 86b5938cdb Allow reading of COMPOSER_ environment variables to be disabled 2014-11-21 10:14:40 +00:00
Chris Smith 5a56ebd545 Revert "Backup/restore Composer environment variables"
This reverts commit 725a4fd638.
2014-11-21 10:09:21 +00:00
Chris Smith 725a4fd638 Backup/restore Composer environment variables
The tests could fail if an environment variable replaces an expected
value.
2014-11-21 10:07:56 +00:00
Craig Duncan 647625ddc5 Added some tests for the dev version warning 2014-11-20 18:27:58 +00:00
Craig Duncan b84c3f0268 Don't display the dev warning time when running self-update
Use the Application::find() method to resolve the command name, as Application::getCommandName() only returns whatever was entered as the first argument.
If the user only entered enough of the command to be unambiguous (eg self-up) then the warning would still show
By calling Application::find() we ensure that if we are going to run the self-update command then we will not show the warning, no matter what the user entered
2014-11-20 18:21:14 +00:00
Nils Adermann edd4b2f984 Merge pull request #3446 from cs278/issue-3444
Failing test case for #3444
2014-11-20 18:12:22 +01:00
Nils Adermann b8aead09ed Merge pull request #3447 from naderman/remove-streamable-repository
This entirely removes StreamableRepositories and minimal package arrays
2014-11-20 18:12:10 +01:00
Chris Smith 0f9128a7d2 Add comment 2014-11-20 16:54:39 +00:00
Chris Smith 2e40f5f586 Add failing test case 2014-11-20 16:54:38 +00:00
Nils Adermann dccb728e10 Remove further unnecessary checks for packages being arrays 2014-11-20 17:42:05 +01:00
Nils Adermann 89bd9be295 This entirely removes StreamableRepositories and minimal package arrays 2014-11-20 17:23:51 +01:00
Nils Adermann 5edc0925cf Merge pull request #3442 from SamMousa/master
Fixed issue #3441
2014-11-20 15:11:09 +01:00
Sam Mousa 670ca2f889 Fixed issue #3441 2014-11-20 14:17:40 +01:00
Nils Adermann 6f4be698a5 Merge pull request #3325 from rdohms/implementing-abandoned-packages
Abandoned Package Warnings
2014-11-20 13:09:18 +01:00
Nils Adermann 9e6cfaa3fe Merge pull request #2734 from naderman/optimize-solver
Optimize the solver and remove unnecessary code
2014-11-20 12:56:16 +01:00
Nils Adermann 9751e1ab58 Remove unnecessary collection of names which isn't used 2014-11-20 12:54:56 +01:00
Nils Adermann 83159dc153 Use elseif instead of else { if { 2014-11-20 12:54:56 +01:00
Nils Adermann 0daaa1a902 Reduce whatProvides overhead 2014-11-20 12:54:56 +01:00
Nils Adermann ee56db8767 Remove the handling of updates in the generator
Updates are implicitly handled by whatProvides for install requests
2014-11-20 12:54:53 +01:00
Nils Adermann 8a40b2443e Merge pull request #3419 from olaurendeau/master
Add --ignore-platform-reqs for remove and require commands
2014-11-19 17:25:43 +01:00
Jordi Boggiano 533eeddcb7 Merge pull request #3432 from stof/patch-1
Fixed the json formatting when using JSONC
2014-11-18 10:42:37 +00:00
Christophe Coevoet b0f13e0ab6 Fix typo 2014-11-18 11:39:47 +01:00
Christophe Coevoet c571ccafd3 Restrict the JSONC fix to affected versions 2014-11-18 11:37:26 +01:00
Jordi Boggiano 494f5698c4 Update SPDX licenses, fixes #3431 2014-11-18 10:30:16 +00:00
Christophe Coevoet f3d8323a71 Fixed the json formatting when using JSONC 2014-11-18 11:18:14 +01:00
Michael Gusev a531594a4a Issue #3422
https://github.com/composer/composer/issues/3422
2014-11-17 11:05:23 +01:00
kaktus42 116ccdac62 return false if local file path does not exist in GitDriver and HgDriver 2014-11-16 23:34:25 +01:00
Olivier Laurendeau 1c5c334b48 Update remove command's documentation 2014-11-15 10:36:15 +01:00
Olivier Laurendeau af79a104d9 Update require command's documentation 2014-11-15 10:35:21 +01:00
Olivier Laurendeau b6b3cf3a49 Add ignore-platform-reqs option to require command 2014-11-14 17:32:42 +01:00
Olivier Laurendeau 6784570691 Add ignore-platform-reqs option to remove command 2014-11-14 17:32:31 +01:00
d060631 cfa8432a60 add no-dev option to licenses command 2014-11-06 08:12:22 +01:00
Jordi Boggiano ffffab37a2 Merge pull request #3394 from vlajos/typofixes-vlajos-20141104
typo fix
2014-11-05 06:04:18 +00:00
Veres Lajos 7f64afcbe8 typo fix 2014-11-04 21:47:59 +00:00
André R 9e0a85fb64 Fix use of non existing ->getIO() function 2014-11-03 19:31:00 +01:00
mpoiriert 2a4b125125 change preProcess from private to public
I need to override the preProcess method from a child class.

The use case is related to package renaming in a private satis repository. I understand the implication for packagist (and other public repository) but keeping the root packageName cause problem when you need to rename a package.

I will override override the name assignation with this

```PHP

// use the main identifier if name is not present
$data['name'] = !isset($data['name']) ? $this->packageName : $data['name'];

```
2014-10-30 09:19:10 -04:00
Jordi Boggiano a309e1d89d Fix tests and run it before the push url updater 2014-10-20 20:16:14 +01:00
Jordi Boggiano fb1747624c Force the origin remote url to be the original one and not that of a mirror 2014-10-20 19:50:22 +01:00
Jordi Boggiano 373c688f8c Merge pull request #3362 from phansys/composer_version
Added branch-alias to version output when it is aliasing dev-master
2014-10-17 20:28:38 +01:00
Javier Spagnoletti 5a473439ed Updated $branchAliasVersion set based on @Seldaek's suggestion. 2014-10-17 15:07:26 -03:00
Jordi Boggiano 3e1d0681d1 Merge pull request #3334 from NAYZO/master
minor fixes in DownloadManager.php
2014-10-17 19:01:20 +01:00
Jordi Boggiano 94926218e8 CS fixes 2014-10-17 18:57:27 +01:00
Jordi Boggiano 751190aafd Add new github-expose-hostname to docs/schema/config command, refs #3164 2014-10-17 17:21:59 +01:00
Jordi Boggiano e4d96750ee Merge pull request #3164 from xelan/github-expose-hostname-setting
Option to disable inclusion of hostname in OAuth app name
2014-10-17 17:16:30 +01:00
Jordi Boggiano be53c5dd2c Merge pull request #3207 from cs278/handle-low-diskspace
Handle low diskspace errors
2014-10-17 17:12:31 +01:00
Jordi Boggiano 0c5e178b9d Merge pull request #3363 from aaukt/master
Add fallback for findPackage(s) for repo without provider
2014-10-17 16:48:51 +01:00