1
0
Fork 0
Commit Graph

5446 Commits (f96ec35c1de760029445b89fb218340e9b9dac53)

Author SHA1 Message Date
Jordi Boggiano 9debc39ba5 Update to caret operator 2015-06-11 15:02:59 +01:00
Christian Raue fe0c600d0f [docs] mention the `memory_limit` actually being set 2015-06-11 15:14:45 +02:00
Jordi Boggiano c471edc488 Also downgrade provider access and others 2015-06-11 11:22:19 +01:00
Jordi Boggiano a6d23dcec8 Update deps 2015-06-11 11:22:17 +01:00
Barys Biankouski 38bc4e6a78 Added Ctrl+C support to create-project command for unix-like systems 2015-06-11 13:02:33 +03:00
Rob Bast 9223f4a208 show command by default 2015-06-09 14:02:51 +02:00
Rob Bast cbd61660ab implemented verbose output 2015-06-09 09:02:43 +02:00
Rob Bast 222ee004e0 modified test case 2015-06-09 09:02:32 +02:00
Jordi Boggiano 4f80e7ff68 Merge pull request #4122 from nevvermind/revert-plugin-constraints
Revert the plugin versions converting from "1.0.0" to "^1.0" feature
2015-06-09 01:03:48 +01:00
nevvermind 12c833864c Revert converting `1.0.0` to `^1.0`. 2015-06-08 22:45:20 +01:00
Nils Adermann e25b86c129 Fix composer repo test to match what composer repos send 2015-06-08 18:57:56 +02:00
Nils Adermann 8b28d4bc82 Optimisation: Composer repo version listings are index by package name 2015-06-08 18:50:15 +02:00
Nils Adermann 65243ca392 Move methods for PR readability and fix phpdoc 2015-06-08 18:45:03 +02:00
Kunal Mehta 49bd1d773b Make an invalid package name a publish error, not warning
Since invalid names will prevent publishing to packagist, they should
be considered publish errors. If people do not plan on submitting their
package to packagist, they can use the --no-check-publish flag to turn
it into a normal warning again.
2015-06-07 17:44:56 -07:00
Christophe Coevoet a014a2f803 Optimize the regex detecting timestamps
Using a possessive quantifier avoids useless backtracking.
2015-06-07 10:38:27 +02:00
Jordi Boggiano 9fb2d4f2d6 Merge pull request #4113 from alcohol/reword-contributing
Typo
2015-06-05 14:07:39 +01:00
Rob Bast b081f583e8 Typo 2015-06-05 14:32:45 +02:00
Jordi Boggiano 92e01130b1 Merge pull request #4112 from alcohol/reword-contributing
added some info on reporting issues and some rewording
2015-06-05 13:24:20 +01:00
Rob Bast 7f2f393aea added some info on reporting issues and some rewording 2015-06-05 14:23:52 +02:00
Jordi Boggiano 7351136205 Merge pull request #4105 from gmsantosxl/master
Remove extra '/' when findShortestPath $from is a directory
2015-06-05 13:18:07 +01:00
Jordi Boggiano d3d3bb4698 Merge pull request #4111 from alcohol/disable-path-when-composer-unavailable
disable path if no composer available, fixes #4101
2015-06-05 12:16:41 +01:00
Rob Bast dfbee6a532 cleaner solution 2015-06-05 13:04:56 +02:00
Rob Bast 7a50225389 disable path if no composer available, fixes #4101
gracefully remove the option and continue, after informing the user
2015-06-05 13:00:04 +02:00
gmsantosxl a060c536bb Remove extra '/' when findShortestPath $from ends with '/' 2015-06-04 14:44:09 -03:00
gmsantosxl 84c9c30b63 Remove extra '/' when findShortestPath $from is a directory 2015-06-03 16:48:01 -03:00
Jordi Boggiano 8c81ec0d0e Merge pull request #4103 from nevvermind/patch-1
Change doc wording
2015-06-03 12:27:17 +01:00
nevvermind 5ba1dd67c0 Change wording 2015-06-03 12:21:54 +01:00
Jordi Boggiano cdcc99e73d Merge pull request #4088 from nevvermind/override_init_array
Fix "Invalid argument supplied for foreach()" on a new PlaformRepository obj
2015-06-03 11:40:44 +01:00
Jordi Boggiano 17c2a8019e Merge pull request #4089 from nevvermind/plugin-api-versions
Make plugins have actual constraints instead of fixed versions
2015-06-03 11:37:52 +01:00
Jordi Boggiano c16ee53935 Merge pull request #4100 from alcohol/load-xml-as-string
load xml as string from local file, fixes #3942
2015-06-03 10:39:02 +01:00
Rob Bast d59115d7fa make unit tests assume a disabled entity loader 2015-06-03 10:19:40 +02:00
Rob Bast b957d1c4a6 load xml as string from local file, fixes #3942
If the entity loader is disabled on a system, loading files, even from
the local file system, is considered as external to the running php
process, and thus not allowed by the libxml extension. Reading the file
contents and loading the xml as a string is a valid alternative however.
2015-06-03 09:52:36 +02:00
nevvermind ec00a4dbfa Set the platform overrides first 2015-06-03 00:06:24 +01:00
nevvermind a747b293b3 Merge remote-tracking branch 'upstream/master' into override_init_array 2015-06-03 00:04:19 +01:00
nevvermind 4fd9a3ceee compare against correct format 2015-06-02 19:59:38 +01:00
nevvermind 994b1324bc fix alignment 2015-06-02 19:58:21 +01:00
nevvermind 00da5945ec Update docs 2015-06-02 19:09:57 +01:00
nevvermind 3032f0a538 Refactor based on code review
- Move the version api getter to the PluginManager And make it such that it can be mocked, but not pollute the public interface. That means "protected" visibility.
- The plugin api version constant should still be used throughout the code.
- Use different fixtures class names
- Use regex possessive quantifiers for performance
- Use full words for readability
2015-06-02 17:40:32 +01:00
Jordi Boggiano 65dd1f7137 Update 00-intro.md 2015-06-02 14:47:52 +01:00
Jordi Boggiano ba8114dd49 Merge pull request #3258 from FraGoTe/master
Windows Installation Details this closes #3186
2015-06-02 14:47:13 +01:00
Jordi Boggiano 22369266e4 Merge pull request #4097 from alcohol/allow-unicode-keywords
Allow unicode keywords, fixes #4087
2015-06-02 14:19:31 +01:00
Rob Bast 0f04f97088 Fixed failing testcase 2015-06-02 15:15:30 +02:00
nevvermind eb2aa14830 Make plugins have actual constraints instead of fixed versions
Instead of developing plugins against a single, fixed Plugin API version - `"composer-plugin-api": "1.0.0"`, this change will allow plugin developers to use versions like `"composer-plugin-api": "~1.1"` or `"composer-plugin-api": ">=2.1 <3.0"`, aka actual Composer-compatible constraints.

Only the "1.0", "1.0.0" and "1.0.0" Plugin API versions will be regarded as BC versions, and internally converted to "^1.0"; every other declared version string will be kept as it is.

Because of this new constraint flexibility, plugin version mismatches will be skipped, which means those plugin will NOT be registered to the system. Previously, a mismatch triggered a warning, but plugins were still registered.
2015-06-02 14:10:09 +01:00
Rob Bast 89885140d3 Created a failing test case 2015-06-02 15:04:58 +02:00
Jordi Boggiano d4dbeeacc4 Merge pull request #4096 from alcohol/fix-hyphen-range-constraint
Fix hyphen range constraint
2015-06-02 13:23:11 +01:00
Rob Bast 46e0a506b9 Added another testcase + fix 2015-06-02 14:20:48 +02:00
Rob Bast a0ca1d4d96 Consider 0 as part of a version 2015-06-02 14:14:29 +02:00
Rob Bast a256f3dfca Added one failing testcase and one successful
Demonstrates that it handles x.y.z properly as long as z !== 0
2015-06-02 14:03:45 +02:00
nevvermind 8c0d4857ef Fix "Invalid argument supplied for foreach()" on a new PlaformRepository obj
This happens on "new PlatformRepository(array($somePackage))".
The parent constructor calls "\Composer\Repository\ArrayRepository::addPackage()",
which, on a brand new repo object, further calls "\Composer\Repository\PlatformRepository::initialize()"
and finally this iterates over a NULLd "$this->overrides", triggering the error.
2015-05-31 15:44:12 +01:00
Jordi Boggiano 0ec86be5e9 Merge remote-tracking branch 'origin/master' 2015-05-31 12:54:08 +01:00