Jordi Boggiano
45c8d5c817
Merge pull request #2483 from JakubOnderka/patch-2
...
Check exception code only if class ZipArchive exists
11 years ago
Jakub Onderka
afc9069771
Check exception code only if class ZipArchive exists
...
If is for example exception throwed when downloading tar archive on system without installed zip extension, PHP hangs on fatal error " Class 'ZipArchive' not found".
11 years ago
Jordi Boggiano
43fde9177e
Merge pull request #2482 from oziks/fix-composer-archive-property
...
Check exclude from downloaded composer.json
11 years ago
Morgan BRUNOT
ca7cb68dd5
Check exclude from downloaded composer.json
11 years ago
Jordi Boggiano
f346274f9a
Merge pull request #2472 from vuhl/master
...
Added some error handling and error messages for common errors using Perforce driver
11 years ago
mwhittom
dde9c309fd
incorporated change to Perforce: Capture output, stopping errors showing up if p4 is not available
11 years ago
mwhittom
a8084e46ff
Added error handling and error messages around missing perforce driver, invalid username/password
11 years ago
Jordi Boggiano
ae3b7ad5c0
Merge pull request #2467 from kimlai/bugfix_githubdriver
...
fix bug in GitHubDriver
11 years ago
Kim Laï Trinh
691f784f92
fix bug introduced in https://github.com/composer/composer/pull/2375
11 years ago
Jordi Boggiano
b7a4d5b239
Merge pull request #2465 from hostnet/feature/linked-events
...
Added reference to script events in plugins.md
11 years ago
Nico Schoenmaker
14b463da1c
Added reference to script events in plugins.md
11 years ago
Andreas Hennings
b62fa2bc1c
run system-wide composer install and THEN run bin/composer install
11 years ago
Andreas Hennings
a9321f3101
Travis CI should use bin/composer and not system-wide Composer.
11 years ago
Andreas Hennings
bbf6278905
AutoloadGenerator to support PSR-4. Tests included.
11 years ago
Andreas Hennings
2c98813431
Add unit tests for ClassLoader, covering PSR-0 and PSR-4.
11 years ago
Andreas Hennings
b08179e399
PSR-4 ClassLoader: Bug fix: PEAR-like path needs ".php" appended.
11 years ago
Andreas Hennings
5dd3c12d3d
Further improve comments.
11 years ago
Andreas Hennings
2e80d148f8
PSR-4 loader: Fix comments: PSR-0 related methods should have comments refering to PSR-0 and prefixes. PSR-4 related methods should have comments refering to PSR-4 and namespaces.
11 years ago
Andreas Hennings
c49a651d81
PSR-4 class loader: Add getters for PSR-4 prefixes. Rename PSR-0 related attributes by appending *Psr0. Add more comments.
11 years ago
Andreas Hennings
8142126b16
Add PSR-4 class loader. (tests needed)
11 years ago
Jordi Boggiano
10f8e564bb
Add warnings for xdebug, fixes #2425
11 years ago
Jordi Boggiano
dea246186d
Merge pull request #2453 from mirkobeine/#2441-V2
...
Use 'cache-files-ttl' for cache gc, fixes #2441
11 years ago
user
a956ce9bb1
Use 'cache-files-ttl' for cache gc, fixes #2441
...
The configuration option 'cache-ttl' was used instead of 'cache-files-ttl' to determine
whether or not a cache gc should be performed.
* changed 'cache-ttl' to 'cache-files-ttl' to determine if a gc should be performed
* refactored FileDownloader to allow for easier testing
* added test to ensure that the gc is called with the proper config option
11 years ago
Jordi Boggiano
e126c92525
Fix exit codes, cc @tyrael
11 years ago
Jordi Boggiano
99e260adf0
Update deps
11 years ago
Jordi Boggiano
5b48abe833
Fix previous commit
11 years ago
Jordi Boggiano
8173b42a8a
Force unresolvable hosts through proxies, fixes #2449
11 years ago
Jordi Boggiano
730dcbb80a
Detect failed gethostbyname, refs #2449
11 years ago
Jordi Boggiano
5156a60216
Add test for RepositoryManager repo creation
11 years ago
Jordi Boggiano
78edca3ad6
Only replace version in Composer.php, fix user agent
11 years ago
Jordi Boggiano
4e4fc257e6
Fix pear ctor, refs #2444
11 years ago
Jordi Boggiano
4fe35ae693
Fix vcs repo constructor, fixes #2444
11 years ago
Jordi Boggiano
1ee30ea592
Merge pull request #2434 from JJK801/extend-pre-file-download
...
Add preFileDownload event on packages.json fetch
11 years ago
Jordi Boggiano
fc3fbdeab3
Rename a few things
11 years ago
Jordi Boggiano
e2f7e4871f
Merge remote-tracking branch 'AlexeyKupershtokh/cache-version-constraint'
11 years ago
Jordi Boggiano
bbd9b7fda8
Merge pull request #2431 from bamarni/create-project-pretty-constraint
...
[CreateProject] allowed pretty constraint
11 years ago
Alexey Kupershtokh
0e2959cc32
Cache in VersionConstraint
11 years ago
Bilal Amarni
61cc291c8a
[CreateProject] allowed pretty version constraint
11 years ago
Jordi Boggiano
a537594e59
Merge pull request #2435 from ptarjan/master
...
don't require the error message have the first line of HTTP output in it
11 years ago
ptarjan
09c0d971d3
don't require the error message have the first line of HTTP output in it
11 years ago
Jérémy JOURDIN
fbadc19bf6
Add preFileDownload event on package.json fetch
11 years ago
Jordi Boggiano
a1e4ca4f9b
Merge remote-tracking branch 'jimmykane/master'
11 years ago
Dimitrios Kanellopoulos
81820beefc
Cache path never ends with '/'
11 years ago
Dimitrios Kanellopoulos
95a9ac880b
Check if current dir is writable and if not try the cache dir from settings
11 years ago
Dimitrios Kanellopoulos
9477e015bd
Use cache directory when downloading composer.phar
...
Since there is a cache dir there is no need to populate the project
directory with temp files. Plus the permissions on the project dir
might not allow that.
11 years ago
Jordi Boggiano
348031cc73
Merge pull request #2427 from webfactory/hg-no-working-copy
...
No need to create hg working copies just to parse tags/branches
11 years ago
Matthias Pigulla
f626f55f41
No need to create hg working copies just to parse tags/branches
11 years ago
Jordi Boggiano
dff5e3c542
Fail hard if anything attempts to wipe the entire filesystem/partition, fixes #2409
11 years ago
Jordi Boggiano
f94ec8dd09
Merge pull request #2421 from glensc/patch-3
...
drop ^A
11 years ago
Elan Ruusamäe
847b33da44
drop ^A
...
added probably mistakenly in e34dae4d42
11 years ago