Jordi Boggiano
8e6f8ae57e
Add prettyVersion to packages, fixes #76
2011-11-20 15:06:12 +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
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
761ad6d171
Only allow self-updates when called from within a phar
2011-11-16 13:50:32 +01:00
Jeremy Mikola
be6b748426
Fix reference to invalid branch name variable
2011-11-16 01:03:01 -05: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
Joseph Bielawski
d6cd6a4aef
Use `RuntimeException` instead of `UnexpectedValueException` when zip extension is not enabled
2011-11-14 23:05:08 +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
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
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
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
Jordi Boggiano
4b5abaf44f
Fixes in PEAR support
2011-11-06 20:24:52 +01:00
Jordi Boggiano
1a7bf8a7f8
Bugfixes
2011-11-06 01:09:48 +01:00
Jordi Boggiano
b7f6cf69ab
Add tests and fixes some issues
2011-11-05 23:54:05 +01:00
Jordi Boggiano
d4b7f802df
Fix typos
2011-11-05 23:54:03 +01:00
Jordi Boggiano
c8859240d2
Add InstallerInstaller, refactored AutoloadGenerator, fixes #59
2011-11-05 23:54:01 +01:00
Jordi Boggiano
f572bbb0bf
Allow JsonLoader to load by file name
2011-11-05 23:53:40 +01:00
Jordi Boggiano
293c45fabe
Fix unescaped backslash issue
2011-11-05 23:53:20 +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
Jordi Boggiano
f2ab4d08e5
Fetch default HEAD branch from remote
2011-11-04 10:07:31 +01:00
Jordi Boggiano
b6537324ef
Change to GitHub API v3 and fetch default branch
2011-11-04 09:59:55 +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
5e3c55f171
Add support for multiple packages defining the same namespace prefix
2011-11-03 21:10:39 +01:00
Jordi Boggiano
bd712db727
Reverse-orders namespaces by specificity
2011-11-03 21:05:01 +01:00
Jordi Boggiano
0cfbea624e
Add warnings if OpenSSL is not enabled, fixes #84
2011-11-03 19:58:49 +01:00