Jordi Boggiano
fbab2bfa17
Move user agent definition to StreamContextFactory so it is available in all contexts
2015-11-23 15:12:33 +00:00
Artur Eshenbrener
cf593351ef
Bypass `runScripts` parameter to autoload dumper in `Installer:run()` method
2015-11-23 11:57:45 +03:00
Jordi Boggiano
f084b1e053
Remove duplicate handling of retry-auth-failure option, refs #3765
2015-11-21 21:51:58 +00:00
Jordi Boggiano
020c126c27
Fix CS
2015-11-21 21:51:43 +00:00
Jordi Boggiano
a10bffec0e
Merge remote-tracking branch 'GromNaN/gitlab'
2015-11-21 21:48:46 +00:00
Jordi Boggiano
977b8c8f41
Fix loading error when plugin is a final class, fixes #4482
2015-11-21 20:35:00 +00:00
Jordi Boggiano
7a06615bf0
Add env var to disable xdebug warnings, refs #4622
2015-11-21 20:06:31 +00:00
Jordi Boggiano
966a982738
CS fixes
2015-11-21 19:28:10 +00:00
Jordi Boggiano
67a1924173
Merge remote-tracking branch 'Rudloff/xz'
2015-11-21 19:16:59 +00:00
Jordi Boggiano
1fe690f810
Autoload generator cleanups
2015-11-21 18:33:17 +00:00
Jordi Boggiano
3748c11709
Simplify files autoload include function, and make sure files are included once per package even if exactly the same, refs #4186
2015-11-21 18:30:44 +00:00
Jordi Boggiano
9710b26d3f
Merge remote-tracking branch 'jeskew/feature/require_files_but_once'
2015-11-21 17:31:05 +00:00
Jordi Boggiano
c0b49d09f3
Merge remote-tracking branch 'cw-ozaki/no-script-dump-autoload'
...
Conflicts:
src/Composer/Autoload/AutoloadGenerator.php
src/Composer/Command/DumpAutoloadCommand.php
2015-11-21 17:14:33 +00:00
Jordi Boggiano
cb3d9527e1
Avoid some external process calls when creating the global composer instance, saves a few ms of initialization time
2015-11-21 02:42:41 +00:00
Jordi Boggiano
1fca6be3bf
Fix detection of the root package version to always use the correct cwd
2015-11-21 02:35:40 +00:00
Jordi Boggiano
e87190e3da
Detect duplicate keys in composer.json, fixes #4620
2015-11-21 02:35:00 +00:00
Jordi Boggiano
dbcf8cae13
Fix depends command to also show when the root package depends on something
2015-11-19 17:42:08 +00:00
Jordi Boggiano
bd76506dd8
Disable plugin registration during the whole run when running with --no-plugins, fixes #3910
2015-11-19 17:38:25 +00:00
Jordi Boggiano
cf6cd83335
Use writeError for xdebug warning and fix running test suite with xdebug
2015-11-19 17:37:32 +00:00
Jordi Boggiano
d98b134dc3
Fix removal of packages installed in custom path with custom installers not overriding uninstall, fixes #2232
2015-11-19 16:36:19 +00:00
Jordi Boggiano
4071b09091
Merge pull request #4615 from staabm/xdebugwarn
...
add a warning when xdebug is loaded while running composer commands
2015-11-19 14:47:52 +00:00
Markus Staab
a59f0a7ca8
add a warning when xdebug is loaded while running composer commands
2015-11-19 13:57:57 +01:00
Jordi Boggiano
f5e0fc14b3
Clarify some error messages, fixes #3770
2015-11-18 18:53:33 +00:00
Jordi Boggiano
690c7f572f
Enable -f flag based on user selection and not only config values, refs #3789
2015-11-18 16:23:41 +00:00
Steve Buzonas
27d51642c8
stash untracked and force checkout if discarding changes
2015-11-18 16:23:40 +00:00
Markus Staab
9f5efc3091
added a troubleshooting link in case of out-of-memory errors
2015-11-17 16:25:33 +01:00
Jordi Boggiano
6f29df01d2
Fix updir regex matching, refs #4607
2015-11-14 15:44:30 +00:00
Jordi Boggiano
f674261b96
Merge remote-tracking branch 'ockcyp/exclude-classmap-parent'
2015-11-14 15:33:55 +00:00
Jérôme Tamarelle
4255db9e31
Allows SSH urls for gitlab and detect the scheme
...
SSH urls uses HTTPS to request the API
2015-11-14 16:05:05 +01:00
Jordi Boggiano
4b269f4ded
Follow stability option in create-project to select the best possible version, refs #4563
2015-11-14 15:04:04 +00:00
Jordi Boggiano
adc0bbeeb9
Forward args/flags down to referenced events
2015-11-14 14:02:47 +00:00
Jordi Boggiano
24ccaa328d
Tweak output of calls to script references, refs #4592
2015-11-14 13:52:26 +00:00
Jordi Boggiano
db5ef12540
Merge remote-tracking branch 'giosh94mhz/script_groups'
2015-11-14 13:47:09 +00:00
Jordi Boggiano
6c9b161c43
Re-use locker content hash logic to generate dist reference, refs #4515
2015-11-14 13:30:37 +00:00
Jordi Boggiano
f0a0ce5e98
Merge remote-tracking branch 'joelwurtz/patch-1'
2015-11-14 13:29:24 +00:00
Jérôme Tamarelle
ac68a721f4
Merge remote-tracking branch 'composer/master' into gitlab
...
Conflicts:
doc/04-schema.md
src/Composer/Util/RemoteFilesystem.php
2015-11-14 14:13:39 +01:00
Jerome TAMARELLE
6ccc562c0f
Add tests on GitLab class (copied from GitHubTest)
2015-11-13 18:50:50 +01:00
Jerome TAMARELLE
db056b8383
Fix retry authentification on gitlab oauth
2015-11-13 18:36:29 +01:00
Jerome TAMARELLE
211d4632bb
Fix compatibility with PHP 5.3
2015-11-13 18:06:17 +01:00
Omer Karadagli
4046ae042d
Up-level relative paths in exclude-from-classmap
2015-11-12 15:53:47 +00:00
Jordi Boggiano
2a8a9a4592
Revert "Issue #2384 allow 'prefer-stable' and 'minimum-stability' to be set via composer config command"
...
This reverts commit ed23b1c4db
.
2015-11-11 15:33:58 +00:00
Jordi Boggiano
58a6d4b7d3
Add comment
2015-11-10 16:35:29 +00:00
David Fuhr
064e1a6d6d
Fix handling of http 400 errors
...
Before 400 errors were silently dropped. This caused composer to store
the returned body (usually some html) in cache. This resulted in later
errors when composer tried to extract this error response as zip.
With this exceptions thrown it handles the error gracefully and falls
back to the next URL provided by the package configuration.
2015-11-10 16:30:01 +01:00
Jordi Boggiano
d35fc31f62
Add process error to the output of failed unzipping
2015-11-10 13:29:51 +00:00
Jordi Boggiano
fc0da27d84
Add more debug output when writing to cache
2015-11-10 13:12:53 +00:00
Giorgio Premi
fd0026b542
Detect infinite script call recursion
2015-11-09 15:34:11 +01:00
Giorgio Premi
a25492d1b9
Allow composer script call with @ syntax
2015-11-09 15:34:11 +01:00
Rob Bast
991d25115f
fixes #4562
2015-11-05 18:47:30 +01:00
Shawn Tunney
54584e6b0f
Have xcopy overwrite existing files
2015-11-04 10:46:27 -05:00
Jordi Boggiano
2d24ed8e74
Improve error reporting
2015-11-03 20:37:11 +00:00