1
0
Fork 0
Commit Graph

46 Commits (2d721f5792594a2adc54b81315dcf72bca78d1b4)

Author SHA1 Message Date
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
Jordi Boggiano d455eef82c Fix pear & zip downloaders 2011-09-25 23:43:49 +02:00
Jordi Boggiano e5907a3431 Remove WrapperRepository in favor of PlatformRepository wrapping the local repo 2011-09-25 23:42:40 +02:00
Jordi Boggiano 5623f3e69c Fix refactoring bugs 2011-09-25 23:07:42 +02:00
Jordi Boggiano 7cf86e7ea0 Fix installation process 2011-09-25 22:18:24 +02:00
everzet 05ddfde868 Reflect latest refactoring changes in commands 2011-09-25 21:00:44 +03:00
Jordi Boggiano d27691a67f Fix namespace/use/typo issues 2011-09-24 16:55:39 +02:00
everzet 0cc017a395 removed extra vars 2011-09-21 01:22:19 +03:00
everzet 5f4d46f7ae repository factoring refactoring 2011-09-21 00:39:15 +03:00
everzet 1e1ecb80b7 initial refactoring 2011-09-21 00:38:23 +03:00
Jordi Boggiano 9b70b06bc8 Merge remote-tracking branch 'ryan/use_symfony_command'
Conflicts:
	bin/composer
	src/Composer/Command/InstallCommand.php
2011-09-17 12:04:33 +02:00
Jordi Boggiano 07e181c6eb Fix lowercase behavior 2011-09-15 11:50:50 +02:00
Ryan Weaver 80d606fb36 Removing uneeded use statement 2011-09-14 08:06:18 -05:00
Ryan Weaver f5b054985a Integrating the command system with Symfony's command system
Parts are still a WIP, as there are some embedded echo statements that should eventually be run through some sort of output interface.
2011-09-14 07:57:40 -05:00
Igor Wiedler 15b43c2445 change bin/compile to use unix linefeeds 2011-09-05 10:18:32 +02:00
Jordi Boggiano af392f90c9 Set exec bit on compile script 2011-08-04 00:06:17 +02:00
xaav 1607ac2404 Added phar compiler 2011-08-03 23:57:27 +02:00
Jordi Boggiano 8cc320a2cb Restore +x mode 2011-06-29 11:18:46 +02:00
xaav ed139f050a Edited bin/composer via GitHub 2011-06-28 14:46:32 -07:00
Benjamin Eberlei 8afc2ca694 Add support for PEAR repository and downloading, example composer.json would look like {"repositories":{"doctrine": {"pear":"http://pear.doctrine-project.org"},"requires":{"DoctrineORM":"2.0.5"}}. You can use pear repositories this way for now. PEAR packages are not downloaded via pear, only via their .tgz packages in the PEAR repository. Automatically detecting dependencies will require reverse-engineering the PEAR protocol a little bit more, however from looking at a pirum output it looks simple. 2011-06-28 20:42:48 +02:00
Nils Adermann 9183ce18d9 Use /usr/bin/env instead of /bin/env. 2011-04-18 00:39:28 +02:00
Jordi Boggiano e03983697a Add base installer/downloader and ComposerRepository 2011-04-18 00:15:05 +02:00