1
0
Fork 0
Commit Graph

4561 Commits (9e6cfaa3fe5678d685759c2bff36f65ae6d22f3f)

Author SHA1 Message Date
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
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
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
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
Jordi Boggiano 332a933e8b Remove fallback on missing commit, fixes #3314, fixes #3147 2014-10-17 16:33:00 +01:00
Jordi Boggiano 2bb78708b8 Merge pull request #3246 from richardkmiller/patch-1
Very tiny but necessary edit
2014-10-17 16:09:33 +01:00
Jordi Boggiano 9c32f24cfc Remove original indent if present, fixes #3143 2014-10-17 16:06:01 +01:00
Jordi Boggiano 8a29c812e3 Fix docs 2014-10-17 15:52:44 +01:00
Jordi Boggiano 97f191a7a7 Add --ignore-platform-reqs to docs, refs #3320 2014-10-17 15:37:37 +01:00
Jordi Boggiano e38ec7162a Merge remote-tracking branch 'origin/master' 2014-10-17 15:30:41 +01:00
Jordi Boggiano ec0463a400 Add tests for platform packages required by root and avoid creating rules altogether instead of disabling them, refs #3320 2014-10-17 15:30:27 +01:00
aaukt f8fae61b05 Add fallback for findPackage(s) for repo without provider
This was introcuced in a4d43ee860, but is missing the fallback for a repository without providers.
2014-10-17 09:10:47 +02:00
Javier Spagnoletti e36f2ea618 Added branch-alias for dev-master to --version|-V output when current version is actually a revision (a non release/git tag).
This replies the work done in #3352 respecting other uses of ```Composer::VERSION``` constant.

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| Doc PR        | none
2014-10-16 22:13:17 -03:00
Jordi Boggiano b0cabd1e98 Revert "Added branch-alias for dev-master to ```--version|-V``` output when current", fixes #3356
This reverts commit 225a8f7a56.
2014-10-16 08:43:09 +01:00
Jordi Boggiano 71976a638c Merge remote-tracking branch 'alu/ignore-ext-require'
Conflicts:
	src/Composer/Installer.php
2014-10-15 14:42:07 +01:00
Jordi Boggiano c33c5196b1 Merge pull request #3352 from phansys/composer_version
Added branch-alias to version output when no tags present
2014-10-15 14:11:07 +01:00
Jordi Boggiano ded4950433 Merge pull request #3348 from jakoch/patch-isdryRun
added $installer->isDryRun()
2014-10-15 13:58:05 +01:00
Jordi Boggiano 4597514cb5 Merge pull request #3347 from webfactory/add-some-fixtures
Add some examples for "composer" type repositories.
2014-10-15 13:57:25 +01:00
Jordi Boggiano 4bdd7adc55 Merge pull request #3319 from desyncr/bugfix/missing-default-author-value-validation
Fix missing validation on default value for author input
2014-10-15 13:33:30 +01:00
Jordi Boggiano b7bd165fed Merge pull request #3122 from garthkerr/patch-1
Add blank line to output for FileDownloader.
2014-10-14 18:21:22 +01:00
Javier Spagnoletti 225a8f7a56 Added branch-alias for dev-master to ```--version|-V``` output when current
version is actually a revision (a non release/git tag).
Example:

Before:
```
$ composer --version
Composer version 73e9db5d99 2014-10-07 15:03:19
```

After:
```
$ composer --version
Composer version 1.0-dev (73e9db5d99) 2014-10-07 15:03:19
```

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Doc PR        | none
2014-10-13 16:17:28 -03:00
Matthias Pigulla 579409e6c5 Update fixtures to include gar/nix (which is being replaced) and bar/baz (which has a branch-alias) 2014-10-13 12:55:00 +02:00
jakoch 24b4ce8831 added $installer->isVerbose() 2014-10-11 19:46:37 +02:00
jakoch c8b9d299d5 added $installer->isDryRun() 2014-10-11 19:30:19 +02:00
Matthias Pigulla 905f08e46e Add some examples for "composer" type repositories.
These can be used as examples or possibly for tests.
2014-10-11 16:23:36 +02:00
Ala Eddine Khefifi 7cea912d30 minor fixes in DownloadManager.php
We should use "===" instead of "==" since it's better and faster in this case.
2014-10-08 11:25:00 +01:00
alu b7fa302b90 add ignore-platform-package-requirements for update/install commands. 2014-10-08 14:20:36 +09:00