1
0
Fork 0
Commit Graph

3144 Commits (6340f4ca5846c5de030876587c1a1172dc68f168)

Author SHA1 Message Date
Nils Adermann 6340f4ca58 Merge pull request #3493 from spreston/master
Fixed dependency problem caused by pull request #3482
2014-12-04 16:46:55 +01:00
Nils Adermann 859c8f5bb3 Use the repositories configured in composer.json for the require command 2014-12-04 16:14:32 +01:00
Jordi Boggiano 37ec0bde9d Merge pull request #3502 from acoulton/patch-1
Prevent APC causing random fatal errors [fixes #264]
2014-12-03 15:33:35 +00:00
Andrew Coulton 9ca99762f9 Prevent APC causing random fatal errors [fixes #264]
Update the phar stub to prevent APC attempting to run the composer classes through
the opcode cache on supported APC versions to avoid the random fatal "duplicate
class" errors at runtime as reported in #264.

Prior to APC version 3.0.12 this was a PHP_INI_SYSTEM directive, so output a
warning instead.
2014-12-03 15:11:51 +00:00
Douglas Greenshields fac3e135e3 fix typo 2014-12-03 13:25:25 +00:00
Jordi Boggiano 2b7b605839 Skip empty time values 2014-12-03 13:06:46 +00:00
Steve Preston dfe18d2e7f Fixed dependency problem caused by pull request #3482 2014-12-02 11:46:56 -05:00
Yagiz Nizipli bf210a340b Free up memory before disabling gc. 2014-12-02 16:02:20 +02:00
Jordi Boggiano 947c1fbabb Merge pull request #3484 from stof/fix_rule
Fix the display of rules
2014-12-02 10:28:03 +00:00
Jordi Boggiano ac676f47f7 Disable GC when computing deps, refs #3482 2014-12-02 10:23:21 +00:00
Christophe Coevoet 7fd9341464 Fix the display of rules
Close #3483
2014-12-01 22:56:59 +01:00
Nils Adermann 91dd999eb6 Merge pull request #3383 from mpoiriert/patch-1
change preProcess from private to public
2014-12-01 20:19:35 +01:00
Nils Adermann b2d5bb7583 Merge pull request #3389 from andrerom/undefied_getio_fn
Fix use of non existing ->getIO() function
2014-12-01 20:17:30 +01:00
Nils Adermann 4a945da55b Avoid generating duplicate conflict rules
For each version of each package we create a conflict rule with each
other version. These are then added to the rule set and skipped if
duplicate so instead we can just generate them only once to begin with
and avoid unnecessary memory allocation and duplication lookups.
2014-12-01 20:10:05 +01:00
Jordi Boggiano f291bf6f5c Merge pull request #3481 from naderman/optimize-solver
Solver optimizations
2014-12-01 19:05:42 +00:00
Nils Adermann 6f41e99fe2 Add back ruleById function for BC 2014-12-01 19:11:02 +01:00
Nils Adermann 2c43a3bcd0 Improve docblocks of public properties 2014-12-01 19:07:26 +01:00
Nils Adermann 107a736440 Recreate getLiterals method for BC 2014-12-01 19:05:01 +01:00
Nils Adermann 26598c4a9a Remove unnecessary pool reference from rules 2014-12-01 19:02:50 +01:00
Nils Adermann d77400ade2 Make ruleById lookup table in rule set public
Saves about 500k function calls on a packagist update
2014-12-01 18:28:45 +01:00
Nils Adermann 5c0efdcaa2 Move public properties to top and document them 2014-12-01 18:25:22 +01:00
Nils Adermann c6af09b1da Make project id public
Reduction of rougly 1.3 million function calls on packagist update
2014-12-01 18:18:02 +01:00
Nils Adermann ef41f136f8 Literals on rule are now public
This causes a reduction of ~500k function calls for packagist composer
update (~14 million total).
2014-12-01 18:08:56 +01:00
Nils Adermann b23a3cd368 Merge pull request #3423 from Michael-Gusev/patch-1
Issue #3422
2014-11-21 18:59:11 +01:00
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 86b5938cdb Allow reading of COMPOSER_ environment variables to be disabled 2014-11-21 10:14:40 +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 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
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 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
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
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
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
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