1
0
Fork 0
Commit Graph

90 Commits (eea4098f9800ddb536a907d637b7e084bfe15b7c)

Author SHA1 Message Date
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
Rob Bast 5ae9e7fe22 remove spdx files, introduce external library 2015-07-16 11:42:12 +02:00
Rob Bast e4118385a0 updated spdx related files 2015-07-03 12:22:16 +02:00
Jordi Boggiano fbc0fa9688 Fix line endings 2015-05-28 14:54:42 +01:00
Jordi Boggiano 2a48b0faa0 Make autoloader suffix a reproducible value as well, refs #3927 2015-05-01 14:32:32 +01:00
Jordi Boggiano facdd8a503 Add phar-utils package to update timestamps after the build is done, refs #3927 2015-05-01 13:50:16 +01:00
Jordi Boggiano 92785ac677 Make builds more reproducible, refs #3927 2015-05-01 11:21:44 +01:00
jakoch 74a077dd3d updated spdx-license handling to include metadata
issue https://github.com/composer/composer/issues/3744

summary of changes
- replaced bin script "fetch-spdx-identifiers" by "update-spdx-licenses"
- "update-spdx-licenses" uses "Composer/Util/SpdxLicensesUpdater" to update "spdx-licenses.json" file with license identifier, fullname and osi-approved-status
- dropped "spdx-identifiers.json" (identifiers only)
- dropped "SpdxLicenseIdentifier", it's just "SpdxLicense" now
- modified "ShowCommand" to output the license with metadata and removed some unused method arguments (cleanup)
2015-03-29 22:46:38 +02: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 cfc8bf0730 Make phar build fails more debuggable 2013-03-10 13:58:49 +01:00
Jordi Boggiano 5652ce5e55 Update SPDX license identifiers 2013-02-22 19:24:20 +01: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 fd38971777 Fix CS & simplify code 2012-05-12 17:10:28 +02:00
Tom Klingenberg 74ca58bcb6 Use of SPDX license identifiers. 2012-05-12 10:50:48 +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