Jordi Boggiano
fcde34cd3b
Exit nicely if there is no composer.json file
13 years ago
Jordi Boggiano
c8859240d2
Add InstallerInstaller, refactored AutoloadGenerator, fixes #59
13 years ago
Jordi Boggiano
4002cab25b
Merge pull request #87 from Seldaek/vcs
...
Add VCS Repository and Git + GitHub drivers
13 years ago
Jordi Boggiano
60db5d2c3b
Adjust phar compiler to work with composer autoloader
13 years ago
Nils Adermann
2b476ce2c4
Merge pull request #80 from Seldaek/inception
...
Make composer use itself for installing itself to install itself
13 years ago
Jordi Boggiano
82c1170fa1
Allow any package type to be installed by the default installer, fixes #86
13 years ago
Jordi Boggiano
4c2e8596aa
Add VCS Repository and Git + GitHub drivers
13 years ago
Jordi Boggiano
0d5f6a8269
Make composer use itself for installing itself to install itself to install itself
13 years ago
Jordi Boggiano
e00e6cddbe
Warn users of missing composer.json
13 years ago
Jordi Boggiano
6b6d6b6d82
Add --dev flag to InstallCommand to do source installs, fixes #26
13 years ago
Jordi Boggiano
1e0710b32f
Move .composer into vendor (hardcoded for now)
13 years ago
Jordi Boggiano
35849ca227
Allow disabling of the default packagist repository in the main composer.json
...
Example:
{
"repositories": {
"packagist": false
}
}
13 years ago
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"
}
}
}
}
13 years ago
Jordi Boggiano
450095e61d
Adjust RepositoryManager to handle multiple repositories of one type
13 years ago
Jordi Boggiano
c33fc80d23
Add supports() to the InstallerInterface
13 years ago
Jordi Boggiano
c8cfa15f52
Use wrapped PlatformRepository only in the Solver
13 years ago
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.
13 years ago
everzet
1cca62dc97
move json parsing instructions into single class object
13 years ago
everzet
96122aada8
refactored install command to use new Locker
13 years ago
Jordi Boggiano
d455eef82c
Fix pear & zip downloaders
13 years ago
Jordi Boggiano
e5907a3431
Remove WrapperRepository in favor of PlatformRepository wrapping the local repo
13 years ago
Jordi Boggiano
5623f3e69c
Fix refactoring bugs
13 years ago
Jordi Boggiano
7cf86e7ea0
Fix installation process
13 years ago
everzet
05ddfde868
Reflect latest refactoring changes in commands
13 years ago
Jordi Boggiano
d27691a67f
Fix namespace/use/typo issues
13 years ago
everzet
0cc017a395
removed extra vars
13 years ago
everzet
5f4d46f7ae
repository factoring refactoring
13 years ago
everzet
1e1ecb80b7
initial refactoring
13 years ago
Jordi Boggiano
9b70b06bc8
Merge remote-tracking branch 'ryan/use_symfony_command'
...
Conflicts:
bin/composer
src/Composer/Command/InstallCommand.php
13 years ago
Jordi Boggiano
07e181c6eb
Fix lowercase behavior
13 years ago
Ryan Weaver
80d606fb36
Removing uneeded use statement
13 years ago
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.
13 years ago
Igor Wiedler
15b43c2445
change bin/compile to use unix linefeeds
13 years ago
Jordi Boggiano
af392f90c9
Set exec bit on compile script
13 years ago
xaav
1607ac2404
Added phar compiler
13 years ago
Jordi Boggiano
8cc320a2cb
Restore +x mode
13 years ago
xaav
ed139f050a
Edited bin/composer via GitHub
13 years ago
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.
13 years ago
Nils Adermann
9183ce18d9
Use /usr/bin/env instead of /bin/env.
14 years ago
Jordi Boggiano
e03983697a
Add base installer/downloader and ComposerRepository
14 years ago