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
430c6f3972
Allow string in abandoned format as well, refs #4621
2015-11-21 14:13:13 +00:00
Thiago Carvalho
320533bcf9
Fixes #4610
2015-11-21 08:58:52 +01:00
Jordi Boggiano
f2b0e2284a
Remove suggestion which is now kinda useless
2015-11-21 02:59:25 +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
Rob Bast
54ebd67e50
allow 7.0 failures until travis fixes containers/stable release
2015-11-19 12:01:21 +01:00
Rob
06586c9b40
Merge pull request #4612 from potherca/path-repository-documentation
...
Adds more details about Path Repository to the Documentation - #4412
2015-11-19 10:53:12 +01:00
Ben Peachey
11c71fb09f
Review feedback: fixes line length and typos.
2015-11-18 20:14:36 +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
Jordi Boggiano
30e6a63958
Merge pull request #4616 from staabm/memtroubleshoot
...
added a troubleshooting link in case of out-of-memory errors
2015-11-17 15:29:08 +00:00
Markus Staab
9f5efc3091
added a troubleshooting link in case of out-of-memory errors
2015-11-17 16:25:33 +01:00
Rob
d7d91269ec
Merge pull request #4554 from Minishlink/patch-1
...
Add "out of memory" tip
2015-11-16 13:23:56 +01:00
Ben Peachey
9775379e64
Adds some more details about Path Repository #4412
...
- Mentions symlinking
- Mentions absolute paths also being supported
2015-11-15 11:26:00 +01:00
Jordi Boggiano
2f069bffd2
Update changelog for alpha11
2015-11-14 16:19:45 +00: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
Jerome TAMARELLE
6ec9f5ff02
Merge branch 'pr-1' into gitlab
...
* pr-1:
Gitlab:Use proper fallbacks if archive download is failing
Remove two factor authentication
Remove parasite
Remove composer.phar
Compiler.phar update
Add oauth2 support for gitlab
Add compiled composer.phar
2015-11-13 16:28:15 +01:00
Omer Karadagli
4046ae042d
Up-level relative paths in exclude-from-classmap
2015-11-12 15:53:47 +00:00
Jordi Boggiano
a066171dcc
Update changelog
2015-11-12 13:44:17 +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
Jordi Boggiano
04879e82ae
Merge pull request #4599 from davidfuhr/http-400-error-handling
...
Fix handling of http 400 errors
2015-11-10 15:36:59 +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
Jordi Boggiano
6f21bd425a
Update deps
2015-11-10 11:56:06 +00:00