1
0
Fork 0
Commit Graph

1483 Commits (f63df842b3febdb9dcc0a915254ae074b2a76636)

Author SHA1 Message Date
Jordi Boggiano 8e6f8ae57e Add prettyVersion to packages, fixes #76 2011-11-20 15:06:12 +01:00
Nils Adermann 46e1001b4b Replaced packages have higher priority, even if wrong version is replaced 2011-11-19 15:00:56 +01:00
Nils Adermann 4140f08d9c Use a map of installed package ids in the solver
The assumption package.repo == installed no longer holds for installed
packages because there are multiple wrapped installed repositories.
2011-11-19 00:27:35 +01:00
Ant Cunningham e0400773f7 Adding support for configurable vendor path in composer.json. 2011-11-18 13:31:50 -05:00
Jordi Boggiano 2e211c4649 Merge pull request #116 from wwwdata/svn
Added an SvnDownloader
2011-11-17 11:09:31 -08: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
Jordi Boggiano 1d5a03eedc Add travis icon to the readme 2011-11-16 13:54:17 +01:00
Jordi Boggiano 761ad6d171 Only allow self-updates when called from within a phar 2011-11-16 13:50:32 +01:00
Jordi Boggiano 5e311303e2 Merge pull request #111 from jmikola/patch-1
Fix reference to invalid branch name variable
2011-11-16 00:26:22 -08:00
Jeremy Mikola be6b748426 Fix reference to invalid branch name variable 2011-11-16 01:03:01 -05:00
Jordi Boggiano f3f94094f3 Clean up travis config 2011-11-15 15:50:20 +01:00
Jordi Boggiano e6710e311c Merge remote-tracking branch 'webfactory/mercurial-support' 2011-11-15 15:12:15 +01:00
Jordi Boggiano 8a2afee55f Rethrow on unexpected failures 2011-11-15 14:59:49 +01:00
Jordi Boggiano b4ec1b36c4 OpenSSL is not required to clone git repos 2011-11-15 13:34:13 +01:00
Jordi Boggiano 22a93e7273 Check we have a driver before using it 2011-11-15 11:54:26 +01:00
Jordi Boggiano 1fd9174c0d Fix auto-date parsing in GitDriver 2011-11-15 11:53:26 +01:00
Jordi Boggiano b350dda0fe Skip GitHub driver if openssl is disabled 2011-11-15 11:29:25 +01:00
Jordi Boggiano 418e2e28f3 Merge remote-tracking branch 'chEbba/tar-phar-downloader'
Conflicts:
	src/Composer/Downloader/PearDownloader.php
2011-11-15 11:20:47 +01:00
Jordi Boggiano 3ad905ae99 Lift openssl requirement for github archives (thanks @pborreli) 2011-11-15 11:07:05 +01:00
Jordi Boggiano 61d17524b8 Merge remote-tracking branch 'origin/master' 2011-11-15 10:51:32 +01:00
Jordi Boggiano 6a47574997 Merge remote-tracking branch 'igorw/self-update' 2011-11-15 10:43:11 +01:00
Jordi Boggiano 3d58cf1d61 Update gitignore 2011-11-15 10:42:23 +01:00
Jordi Boggiano 74760cd7ac Merge pull request #109 from stloyd/patch-3
[ZipDowloader] Proper exception usage
2011-11-15 00:11:51 -08:00
Joseph Bielawski d6cd6a4aef Use `RuntimeException` instead of `UnexpectedValueException` when zip extension is not enabled 2011-11-14 23:05:08 +01:00
Jordi Boggiano 8f2fb353e0 Update travis config 2011-11-13 19:01:46 +01:00
Jordi Boggiano 0314219d2a Add travis build file 2011-11-13 18:48:51 +01:00
Igor Wiedler 3c036428de replace current file in self-update command 2011-11-13 00:31:38 +01:00
Igor Wiedler b2f71dcb6a trim getcomposer.org/version output 2011-11-13 00:23:10 +01:00
Igor Wiedler 6697385ee2 also check for non-zero status code for git command 2011-11-13 00:22:52 +01:00
Igor Wiedler b15ec17a06 implement a self-update command (closes #83) 2011-11-12 19:44:28 +01:00
Per Bernhardt b969309440 Register new drivers... 2011-11-12 13:23:47 +01:00
Per Bernhardt bf21dfeb31 Added drivers for bitbucket (hg and git) 2011-11-12 13:22:41 +01:00
Per Bernhardt ad8e85ab32 Previous change was wrong... We want to update to a specific version, so hg pull -u won't work. 2011-11-12 12:05:27 +01:00
Per Bernhardt ee508725c6 Simpler 2011-11-12 10:27:45 +01:00
Jordi Boggiano e060ead6c2 Use script-safe git argument to check for modifications 2011-11-11 12:02:08 +01:00
Per Bernhardt 38198a5f36 Fixed blank lines. 2011-11-10 13:39:51 +01:00
Per Bernhardt b0d2897af3 Fixed unused variables. 2011-11-10 13:12:19 +01:00
Per Bernhardt 3e5fd85768 Fixed CS and unused variables 2011-11-10 13:10:05 +01:00
Per Bernhardt ee4d4ee3fa Added HgDriver for the VcsRepository 2011-11-10 11:58:48 +01:00
Per Bernhardt 25e86fc6c9 Merge remote-tracking branch 'upstream/master' into mercurial-support 2011-11-10 11:04:42 +01:00
Jordi Boggiano e6c3929ea9 Merge pull request #103 from henrikbjorn/help-command
Rename HelpCommand to AboutCommand
2011-11-08 03:19:58 -08:00
Henrik Bjørnskov 25fa4ec60c Rename HelpCommand to AboutCommand
Because of the native Symfony\Component\Console\Command\HelpCommand it
is not possible to have a custom HelpCommand unless a lot of code is
duplicated. Therefor change the HelpCommand to AboutCommand.
2011-11-08 11:51:01 +01:00
Per Bernhardt c6e4984a62 New downloader for mercurial 2011-11-08 09:14:34 +01:00
Jordi Boggiano d176f4c07e Merge pull request #99 from henrikbjorn/help-command
HelpCommand
2011-11-07 07:08:37 -08:00
Henrik Bjørnskov f85a31e2b0 Change the wording and link directly to packagist.org. 2011-11-07 14:30:01 +01:00
Henrik Bjørnskov 247f237f93 HelpCommand
Simple HelpCommand that displays the same information about Composer
that is availible in the README.md file.
2011-11-07 14:19:15 +01:00
Jordi Boggiano fcde34cd3b Exit nicely if there is no composer.json file 2011-11-07 12:05:15 +01:00
Jordi Boggiano 59206e1a11 Merge pull request #95 from henrikbjorn/autoload-relative
AutoloadGenerator.php miscalculates the path
2011-11-07 00:31:48 -08:00
Henrik Bjørnskov 8180117584 AutoloadGenerator.php miscalculates the path
Add tenary check to make sure relative specified paths arent seen as
absolute.

Fixises #94
2011-11-07 09:29:37 +01:00
Nils Adermann 20db55e3aa Merge pull request #88 from Seldaek/installerinstaller
Add InstallerInstaller, refactored AutoloadGenerator, fixes #59
2011-11-06 16:08:52 -08:00