Thibault Jamet
25ab752ca6
Map archive command to the archive configuration
9 years ago
Thibault Jamet
1eec4fdfa5
Add archive configuration default values
9 years ago
Jordi Boggiano
e73448ae1e
Add possessive quantifiers to avoid backtracking and fix segfault on large files, fixes #4153
9 years ago
Jordi Boggiano
8e9659bd83
Merge pull request #4139 from elazar/feature/tests-in-classmap
...
Resolves #4138 : Removed *Test.php filtering from AutoloadGenerator->dump()
9 years ago
Jordi Boggiano
89540c5690
Support bg colors and more clearing values in html output formatter
9 years ago
Jordi Boggiano
29dbc3835f
Fix html output formatter to work with latest symfony console
9 years ago
elazar
6c029a850c
Resolves #4138 : Removed *Test.php filtering from AutoloadGenerator->dump()
9 years ago
Jordi Boggiano
6d15ad08b6
Add http check even if openssl is present, refs #4084
9 years ago
Jordi Boggiano
24168d9d5c
Merge pull request #4133 from benbor/added-ctrl-c
...
Added Ctrl+C support to create-project command for unix-like systems
9 years ago
Barys Biankouski
a59c46f781
[create-project] If process terminated with SIGINT then 130 IMO will be returned. Remove unused variable
9 years ago
Jordi Boggiano
c471edc488
Also downgrade provider access and others
9 years ago
Barys Biankouski
38bc4e6a78
Added Ctrl+C support to create-project command for unix-like systems
9 years ago
nevvermind
12c833864c
Revert converting `1.0.0` to `^1.0`.
9 years ago
Jordi Boggiano
7351136205
Merge pull request #4105 from gmsantosxl/master
...
Remove extra '/' when findShortestPath $from is a directory
9 years ago
Rob Bast
dfbee6a532
cleaner solution
9 years ago
Rob Bast
7a50225389
disable path if no composer available, fixes #4101
...
gracefully remove the option and continue, after informing the user
9 years ago
gmsantosxl
a060c536bb
Remove extra '/' when findShortestPath $from ends with '/'
9 years ago
gmsantosxl
84c9c30b63
Remove extra '/' when findShortestPath $from is a directory
9 years ago
Jordi Boggiano
cdcc99e73d
Merge pull request #4088 from nevvermind/override_init_array
...
Fix "Invalid argument supplied for foreach()" on a new PlaformRepository obj
9 years ago
Jordi Boggiano
17c2a8019e
Merge pull request #4089 from nevvermind/plugin-api-versions
...
Make plugins have actual constraints instead of fixed versions
9 years ago
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.
9 years ago
nevvermind
ec00a4dbfa
Set the platform overrides first
9 years ago
nevvermind
a747b293b3
Merge remote-tracking branch 'upstream/master' into override_init_array
9 years ago
nevvermind
4fd9a3ceee
compare against correct format
9 years ago
nevvermind
994b1324bc
fix alignment
9 years ago
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
9 years ago
Rob Bast
0f04f97088
Fixed failing testcase
9 years ago
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.
9 years ago
Rob Bast
46e0a506b9
Added another testcase + fix
9 years ago
Rob Bast
a0ca1d4d96
Consider 0 as part of a version
9 years ago
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.
9 years ago
Jordi Boggiano
0ec86be5e9
Merge remote-tracking branch 'origin/master'
9 years ago
Jordi Boggiano
0081964428
Merge remote-tracking branch 'colinodell/fix-tag-ambiguity'
...
Conflicts:
src/Composer/Downloader/GitDownloader.php
tests/Composer/Test/Downloader/GitDownloaderTest.php
9 years ago
Jordi Boggiano
ce0f617ee1
Merge pull request #4083 from nevvermind/php-dox
...
Added phpdocs + change to yoda comparison
9 years ago
Jordi Boggiano
1753c275ff
Handle deprecation notices softer
9 years ago
nevvermind
8e79a3766d
Added phpdocs + change to yoda comparison
9 years ago
Jordi Boggiano
b181822e90
Fix case where touch() fails due to incorrect ownership, fixes #4070
9 years ago
Rob Bast
95dbb6d9db
add docs to support section in composer schema, closes #4055
...
Note that this does not yet add this attribute @ packagist though
9 years ago
Jordi Boggiano
69210d5bc1
Move deprecation notice where it belongs, closes #4065
9 years ago
Jordi Boggiano
98b339e87a
Make --keep-vcs imply --prefer-source, closes #4063
9 years ago
Hugo Hamon
e51ff60f59
[Pear] replaces "licence" to "license".
9 years ago
Jordi Boggiano
4d5d524704
Clear stat cache after a git failure as it might have modified the filesystem
9 years ago
Jordi Boggiano
52d290f5f2
trim token just in case and update tests
9 years ago
Jordi Boggiano
41f4451c20
take care of retry-auth-failure:false in case of 403 as well
9 years ago
Jordi Boggiano
e16d53893e
Remove password prompt for github tokens and require the user creates a token themselves
9 years ago
Jordi Boggiano
48d8cc6465
Avoid errors when invoking composer global config and there is no global composer.json yet, refs #4002
9 years ago
Possum
29ca21f30e
PHP version checks tweaking
9 years ago
Jordi Boggiano
13a3349603
Merge pull request #3967 from xi-ao/master
...
Fixed svn update command
9 years ago
Possum
2e99b9fdf5
Use https where possible
9 years ago
Jordi Boggiano
d426246b80
Update only github dist URLs, refs #3985
9 years ago