1
0
Fork 0
Commit Graph

3866 Commits (040bbaca51b2468224c37f4626161c7cedc57793)

Author SHA1 Message Date
Max Gfeller 040bbaca51 Don't throw an exception if the called script is not one of the
event-scripts. This makes it possible for one to define their own
scripts like "make-release" etc.
2013-12-19 07:54:16 +01:00
Jordi Boggiano 0e9a9a3875 Merge pull request #2509 from glenjamin/opcache-ext
Ensure detected extensions have valid package names
2013-12-16 13:58:46 -08:00
Nils Adermann 95bafebc75 Merge pull request #2510 from simensen/plugin-load-repository-made-public
Make PluginManager::loadRepository public
2013-12-16 07:22:45 -08:00
Beau Simensen 5caee06c44 Make PluginManager::loadRepository public 2013-12-16 09:21:00 -06:00
Nils Adermann b63634396b Merge pull request #2508 from simensen/plugin-manager-skips-alias-packages
Skip aliases packages when looking for plugins.
2013-12-16 06:34:19 -08:00
Glen Mailer 3620796b7d Ensure detected extensions have valid package names 2013-12-16 08:51:19 +00:00
Beau Simensen 9ca884944c Skip aliases packages when looking for plugins. 2013-12-15 23:14:58 -06:00
Jordi Boggiano 80499bb024 Detect ~> misuse and suggest fix, fixes #2476 2013-12-06 13:32:19 +01:00
Jordi Boggiano 45c8d5c817 Merge pull request #2483 from JakubOnderka/patch-2
Check exception code only if class ZipArchive exists
2013-12-06 04:27:25 -08:00
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".
2013-12-05 21:26:02 +01:00
Jordi Boggiano 43fde9177e Merge pull request #2482 from oziks/fix-composer-archive-property
Check exclude from downloaded composer.json
2013-12-05 07:29:59 -08:00
Morgan BRUNOT ca7cb68dd5 Check exclude from downloaded composer.json 2013-12-05 16:03:48 +01:00
Jordi Boggiano f346274f9a Merge pull request #2472 from vuhl/master
Added some error handling and error messages for common errors using Perforce driver
2013-12-02 12:31:02 -08:00
mwhittom dde9c309fd incorporated change to Perforce: Capture output, stopping errors showing up if p4 is not available 2013-12-02 13:34:48 -06:00
mwhittom a8084e46ff Added error handling and error messages around missing perforce driver, invalid username/password 2013-12-02 13:34:47 -06:00
Jordi Boggiano ae3b7ad5c0 Merge pull request #2467 from kimlai/bugfix_githubdriver
fix bug in GitHubDriver
2013-11-29 01:28:48 -08:00
Kim Laï Trinh 691f784f92 fix bug introduced in https://github.com/composer/composer/pull/2375 2013-11-28 17:53:05 +01:00
Jordi Boggiano b7a4d5b239 Merge pull request #2465 from hostnet/feature/linked-events
Added reference to script events in plugins.md
2013-11-27 05:55:18 -08:00
Nico Schoenmaker 14b463da1c Added reference to script events in plugins.md 2013-11-27 12:55:12 +01:00
Jordi Boggiano 10f8e564bb Add warnings for xdebug, fixes #2425 2013-11-25 14:11:49 +01:00
Jordi Boggiano dea246186d Merge pull request #2453 from mirkobeine/#2441-V2
Use 'cache-files-ttl' for cache gc, fixes #2441
2013-11-25 02:56:58 -08:00
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
2013-11-24 10:55:25 +01:00
Jordi Boggiano e126c92525 Fix exit codes, cc @tyrael 2013-11-22 16:17:02 +01:00
Jordi Boggiano 99e260adf0 Update deps 2013-11-22 16:15:18 +01:00
Jordi Boggiano 5b48abe833 Fix previous commit 2013-11-22 15:51:16 +01:00
Jordi Boggiano 8173b42a8a Force unresolvable hosts through proxies, fixes #2449 2013-11-22 15:38:13 +01:00
Jordi Boggiano 730dcbb80a Detect failed gethostbyname, refs #2449 2013-11-22 12:09:24 +01:00
Jordi Boggiano 5156a60216 Add test for RepositoryManager repo creation 2013-11-22 11:10:54 +01:00
Jordi Boggiano 78edca3ad6 Only replace version in Composer.php, fix user agent 2013-11-22 11:06:22 +01:00
Jordi Boggiano 4e4fc257e6 Fix pear ctor, refs #2444 2013-11-22 10:11:04 +01:00
Jordi Boggiano 4fe35ae693 Fix vcs repo constructor, fixes #2444 2013-11-22 10:05:08 +01:00
Jordi Boggiano 1ee30ea592 Merge pull request #2434 from JJK801/extend-pre-file-download
Add preFileDownload event on packages.json fetch
2013-11-22 00:27:27 -08:00
Jordi Boggiano fc3fbdeab3 Rename a few things 2013-11-20 15:17:10 +01:00
Jordi Boggiano e2f7e4871f Merge remote-tracking branch 'AlexeyKupershtokh/cache-version-constraint' 2013-11-20 14:01:01 +01:00
Jordi Boggiano bbd9b7fda8 Merge pull request #2431 from bamarni/create-project-pretty-constraint
[CreateProject] allowed pretty constraint
2013-11-20 04:48:58 -08:00
Alexey Kupershtokh 0e2959cc32 Cache in VersionConstraint 2013-11-20 10:14:44 +07:00
Bilal Amarni 61cc291c8a [CreateProject] allowed pretty version constraint 2013-11-20 00:47:02 +01:00
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
2013-11-19 14:44:41 -08:00
ptarjan 09c0d971d3 don't require the error message have the first line of HTTP output in it 2013-11-19 14:35:24 -08:00
Jérémy JOURDIN fbadc19bf6 Add preFileDownload event on package.json fetch 2013-11-19 17:45:28 +01:00
Jordi Boggiano a1e4ca4f9b Merge remote-tracking branch 'jimmykane/master' 2013-11-19 00:05:33 +01:00
Dimitrios Kanellopoulos 81820beefc Cache path never ends with '/' 2013-11-16 19:34:06 +01:00
Dimitrios Kanellopoulos 95a9ac880b Check if current dir is writable and if not try the cache dir from settings 2013-11-16 18:59:13 +01:00
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.
2013-11-16 14:13:33 +01:00
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
2013-11-15 05:04:24 -08:00
Matthias Pigulla f626f55f41 No need to create hg working copies just to parse tags/branches 2013-11-15 13:05:04 +01:00
Jordi Boggiano dff5e3c542 Fail hard if anything attempts to wipe the entire filesystem/partition, fixes #2409 2013-11-14 21:22:14 +01:00
Jordi Boggiano f94ec8dd09 Merge pull request #2421 from glensc/patch-3
drop ^A
2013-11-14 02:58:51 -08:00
Elan Ruusamäe 847b33da44 drop ^A
added probably mistakenly in e34dae4d42
2013-11-13 22:41:44 +02:00
Jordi Boggiano 8d3c2dc9fc Merge pull request #2417 from glensc/patch-2
Minor typo fix
2013-11-13 03:19:33 -08:00