1
0
Fork 0
Commit Graph

76 Commits (f73c8c419c3562002e37c1e1bc5138039991f497)

Author SHA1 Message Date
Andreas Möller f7f7883a5e
Fix: Xdebug vs xdebug 2019-11-03 14:08:14 +01:00
Jordi Boggiano d9f873d00e
Abort when HHVM 4.0 is detected to output a clear user message, refs #7990 2019-02-16 17:40:47 +01:00
Michele Locati 04098153c8 Add support for running composer with phpdbg (#7798) 2018-11-26 12:32:31 +01:00
Jordi Boggiano 4ebb747e12 Merge branch '1.6' 2018-05-04 11:18:18 +02:00
Nicolas Grekas 658685744b Force "C" locale to prevent issue with turkish "I" 2018-05-02 17:17:22 -07:00
johnstevenson ed97c2116c Use external XdebugHandler library 2018-03-08 19:20:16 +00:00
Jordi Boggiano 882b82d542 Add COMPOSER_MEMORY_LIMIT env var to force a given memory_limit, fixes #6931 2018-01-04 10:49:41 +01:00
Jordi Boggiano e4840ee413 Add a COMPOSER_BINARY env var so that chdir does not affect @composer script resolvability, fixes #6080 2017-01-22 18:26:49 +01:00
Jordi Boggiano 0bc75c3fb6 Bump memory limit to 1.5G 2016-12-31 16:29:31 +01:00
johnstevenson 896d1d71f8 Use ConsoleOutput to determine color support 2016-09-06 14:57:18 +01:00
johnstevenson e381abeec0 Simplify argv handling 2016-09-03 19:00:41 +01:00
johnstevenson 586eb3bb41 Restart with xdebug disabled 2016-08-08 18:30:56 +01:00
Jordi Boggiano 8e6f62e769 Bump max memory to 1GB, fixes #3785 2015-03-05 14:16:44 +00:00
Jordi Boggiano c1ff6ea62b Just output a warning but don't prevent usage through non-cli SAPIs 2013-04-11 10:23:35 +02:00
Jordi Boggiano 3bec538970 Fail if the CLI SAPI is not used to invoke composer 2013-04-09 10:33:14 +02:00
Jordi Boggiano 16671831ef CS fix 2013-01-10 17:55:41 +01:00
Bryan J. Agee 0db97259ba Adds fallthrough comments to bin/composer (PSR-2 compliance) 2013-01-10 08:20:45 -08:00
Jordi Boggiano 3946a44499 Merge remote-tracking branch 'chEbba/memory_limit'
Conflicts:
	bin/composer
2012-08-24 17:39:49 +02:00
Jordi Boggiano 573aad8801 Check if ini_set exists before calling it 2012-08-24 16:38:01 +02:00
Kirill chEbba Chebunin 21596b2ccd Increase memory to 512M, remove warning 2012-08-24 17:49:35 +04:00
Kirill chEbba Chebunin ba45ef2b70 Remove commented code forom cli script 2012-08-24 17:25:10 +04:00
Kirill chEbba Chebunin 4f129424e1 Increase memory_limit to 256M if it is lower than this value 2012-08-24 17:06:03 +04:00
Kirill chEbba Chebunin 47156103a6 Remove hard coded memory limit. Add troubleshooting doc 2012-08-24 13:53:02 +04:00
Jordi Boggiano 32692e519c Boost memory_limit at runtime if permitted 2012-06-14 14:21:44 +02:00
Jordi Boggiano 3be04fd3b5 CS fix 2012-05-12 09:41:15 +02:00
Tom Klingenberg c4d5819ec4 Compile has a message to tell. 2012-05-11 18:04:13 +02:00
Jordi Boggiano 438cea6363 Regroup bootstrapers 2012-03-15 13:14:02 +01:00
Marcin Chyłek 0e0b5ac222 chache to return (file_exists() && include ); 2012-03-15 11:36:40 +01:00
Marcin Chyłek 768bedc164 Fix xdebug display errors in autoload 2012-03-15 00:58:12 +01:00
Jordi Boggiano 26e909a1a0 Apply nested-autoload support to all relevant files 2012-02-05 21:23:52 +01:00
Beau Simensen 8d0c2e0079 Check for vendor differently for "installs as a dependency" case 2012-01-22 10:37:28 -08:00
Beau Simensen d7714983c3 Fallback to include `vendor/.composer/autoload.php` for `bin/composer`
When Composer is a dependency for a project the `vendor/bin/composer`
script will not run as it is looking for `__DIR__.'/../vendor'` which
likely will not exist. What I believe is intended is for the script
to include the packages `vendor/.composer/autoload.php`.
2012-01-19 22:28:51 -08:00
Jordi Boggiano e91897a59b Restore +x on bin files 2012-01-17 22:34:37 +01:00
François Pluchino f65b34860f Merge branch 'test'
Conflicts:
	src/Composer/Downloader/FileDownloader.php
	src/Composer/Repository/Vcs/HgBitbucketDriver.php
2012-01-12 12:19:13 +01:00
Jordi Boggiano 94e277698e Delay bootstrap until it's really necessary, fixes #121 2011-11-30 21:30:51 +01:00
Jordi Boggiano f5b7e968b2 Minor adjustments to merged PR 2011-11-20 22:03:11 +01:00
Jordi Boggiano 5b87a02767 Merge remote-tracking branch 'prodigitalson/master' 2011-11-20 21:43:31 +01:00
Ant Cunningham e0400773f7 Adding support for configurable vendor path in composer.json. 2011-11-18 13:31:50 -05:00
Ben Bieker 0e6f3834ec Added an SvnDownloader
The Svn Downloader can be used like the already implemented
GitDownloader, for example

{
    "name": "my-project",
    "version": "1.0.0",
    "repositories": {
        "MyRepo": {
            "package": {
                "name": "mypackage",
                "version": "2.0",
                "source": {
                    "url": "https://repo.com/svnrepo",
                    "type": "svn",
                    "reference": "tags/v2.0"
                }
            }
        }
    },
    "require": {
        "mypackage": "2.0"
    }
}
2011-11-17 16:56:01 +01:00
Per Bernhardt c6e4984a62 New downloader for mercurial 2011-11-08 09:14:34 +01:00
Jordi Boggiano fcde34cd3b Exit nicely if there is no composer.json file 2011-11-07 12:05:15 +01:00
Jordi Boggiano c8859240d2 Add InstallerInstaller, refactored AutoloadGenerator, fixes #59 2011-11-05 23:54:01 +01:00
Jordi Boggiano 4002cab25b Merge pull request #87 from Seldaek/vcs
Add VCS Repository and Git + GitHub drivers
2011-11-04 08:15:34 -07:00
Nils Adermann 2b476ce2c4 Merge pull request #80 from Seldaek/inception
Make composer use itself for installing itself to install itself
2011-11-03 15:38:17 -07:00
Jordi Boggiano 82c1170fa1 Allow any package type to be installed by the default installer, fixes #86 2011-11-03 19:41:17 +01:00
Jordi Boggiano 4c2e8596aa Add VCS Repository and Git + GitHub drivers 2011-11-03 19:24:20 +01:00
Jordi Boggiano 0d5f6a8269 Make composer use itself for installing itself to install itself to install itself 2011-11-01 00:08:03 +01:00
Jordi Boggiano e00e6cddbe Warn users of missing composer.json 2011-10-30 21:13:49 +01:00
Jordi Boggiano 6b6d6b6d82 Add --dev flag to InstallCommand to do source installs, fixes #26 2011-10-30 20:59:41 +01:00
Jordi Boggiano 1e0710b32f Move .composer into vendor (hardcoded for now) 2011-10-29 18:13:48 +02:00