1
0
Fork 0
Commit Graph

71 Commits (24aba5b51fc90d0f15cb21f4f00e55cd1937bc9d)

Author SHA1 Message Date
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
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
Jordi Boggiano 60db5d2c3b Adjust phar compiler to work with composer autoloader 2011-11-04 11:11:06 +01: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
Jordi Boggiano 35849ca227 Allow disabling of the default packagist repository in the main composer.json
Example:

{
    "repositories": {
        "packagist": false
    }
}
2011-10-23 19:40:38 +02:00
Jordi Boggiano aeab3c16fd Add PackageRepository to define inline packages
Example:

{
    "repositories": {
        "Monolog": {
            "package": {
                "source": {
                    "url": "git://github.com/Seldaek/monolog.git",
                    "type": "git",
                    "reference": "1.0.1"
                },
                "version": "1.0.1",
                "name": "monolog/monolog"
            }
        }
    }
}
2011-10-23 19:40:36 +02:00
Jordi Boggiano 450095e61d Adjust RepositoryManager to handle multiple repositories of one type 2011-10-23 19:40:30 +02:00
Jordi Boggiano c33fc80d23 Add supports() to the InstallerInterface 2011-10-23 19:40:24 +02:00
Jordi Boggiano c8cfa15f52 Use wrapped PlatformRepository only in the Solver 2011-10-23 19:40:20 +02:00
Daniele Alessandri 74d7fdfcef Fix missing support for the symfony-bundle package type.
Using Composer\Installer\LibraryInstaller to handle the installation of
packages that specify the "symfony-bundle" type is just a temporary solution
while waiting to better define how packages shipping Symfony bundles should
be treated.
2011-10-15 14:34:16 +02:00
everzet 1cca62dc97 move json parsing instructions into single class object 2011-10-01 16:01:33 +03:00
everzet 96122aada8 refactored install command to use new Locker 2011-10-01 15:34:10 +03:00