digitalkaoz
3d43bdce45
refactored install
2012-01-23 16:19:37 +01:00
digitalkaoz
4d0fae688e
removed replace, reinstalling as install
2012-01-23 15:43:42 +01:00
digitalkaoz
30e89a2402
fixed broken packages on filesystem
2012-01-23 15:19:05 +01:00
Jordan Alliot
9c27e38654
Moved proxy handling to a new class so that it can be reused in other parts of Composer
2012-01-21 20:58:36 +01:00
Jordi Boggiano
edf948454b
Remove IO from Solver, debug methods don't need it
2012-01-17 22:46:52 +01:00
François Pluchino
8053878b6a
Merge branch 'master'
...
Conflicts:
src/Composer/Console/Application.php
2012-01-17 17:56:06 +01:00
François Pluchino
0f9dcc9618
Remplace all echo with writeln method of IO
2012-01-16 20:44:06 +01:00
François Pluchino
7888ec5313
Add Authentification in FileDownloader
2012-01-16 20:09:32 +01:00
Christophe Coevoet
1fdb7aef56
Changed the ShowCommand to use the new method
2012-01-16 12:52:17 +01:00
Jordi Boggiano
cc1dbbc36f
Add --link-type option to select link types in DependsCommand
2012-01-15 13:39:48 +01:00
Hugo Hamon
747abf6843
[Command] removed unused local variable $composer in UpdateCommand::execute() method.
2012-01-11 09:05:23 +01:00
Hugo Hamon
c993f3e92d
[Command] removed unused local $recommendedDependencies variable in DependsCommand::getReferences() method.
2012-01-11 09:02:59 +01:00
Jordi Boggiano
83a106bd79
Add recommends and package versions to the depends command
2012-01-08 22:39:42 +01:00
Jordi Boggiano
81d80b2a04
Merge remote-tracking branch 'justinrainbow/depends_command'
2012-01-08 22:27:54 +01:00
Jordi Boggiano
462ebdf752
Detect lock file changes and warn users on install, fixes #75
2012-01-07 17:04:38 +01:00
Nils Adermann
855b1cb9d3
Merge pull request #173 from Seldaek/update
...
Fix update, fixes #125
2012-01-06 04:52:07 -08:00
Justin Rainbow
981477dd17
New 'depends' command added
...
Basic command to display where a given package is referenced.
This helps in figuring out where a package is used, and even
can help in troubleshooting dependency issues.
2012-01-04 20:11:37 -07:00
Jordi Boggiano
9b2694351b
Less confusing error message
2011-12-24 14:57:05 +01:00
Jordi Boggiano
8cfbf9e198
Fix update, fixes #125
2011-12-24 14:15:10 +01:00
Jordi Boggiano
3b9dd59da3
Fix typo
2011-12-22 10:07:39 +01:00
Jordi Boggiano
9452a94e30
Fix regression in previous merge
2011-12-21 16:43:35 +01:00
Igor Wiedler
85ec42bac3
display highest package version by default on show command
2011-12-21 16:43:34 +01:00
Beau Simensen
2791e57930
Updated lockfile message for "composer install" command
...
The behaviour of the lockfile was a little confusing to me.
I assumed if I added a new dependency I should run
'composer install' again. It was not immediately obvious
from the output of the install command what was going on
and I was confused why my new package had not been installed.
I understand that a better fix would be to compare
composer.json to the lockfile, but until that has been
implemented this will maybe help some newbies out.
2011-12-20 12:09:16 -06:00
Jordi Boggiano
a2caa7c5e6
Adjustments to the show command
2011-12-12 22:47:41 +01:00
Jordi Boggiano
7caf61fc66
Set return code to non-zero when validate fails
2011-12-12 22:23:51 +01:00
Jordi Boggiano
666ac623f4
Merge remote-tracking branch 'digitalkaoz/show_command'
...
Conflicts:
src/Composer/Console/Application.php
2011-12-12 22:18:15 +01:00
Jordi Boggiano
d62a1ad1c1
Adjustments to the validate command
2011-12-12 22:14:01 +01:00
digitalkaoz
9a50fd6492
added validate task, closes #81
2011-12-08 11:42:26 +01:00
digitalkaoz
6451087039
added a show command for packages
2011-12-07 22:42:58 +01:00
Jordi Boggiano
283745d76d
Do case-insensitive searches, avoid printing multiple results if multiple tokens match, highlight matched area
2011-12-06 23:07:47 +01:00
Jordi Boggiano
8675d4eb6a
Make search token required
2011-12-06 23:06:49 +01:00
digitalkaoz
6c870e23e0
added search command, colorized ouput, tiny fixes
2011-12-06 21:19:12 +01:00
Jordi Boggiano
aacdcb1570
Allow self-update to be called outside of a project context
2011-12-03 11:57:59 +01:00
jsor
28a8b3e4c5
Fix link collection
2011-11-28 08:51:00 +01:00
jsor
e512e16e35
Rename flags after feedback in #132
2011-11-25 18:01:12 +01:00
jsor
9af21fd461
Install recommended deps by default and introduce flags for including/excluding required/recommended/suggested deps
2011-11-25 16:44:50 +01:00
Jordi Boggiano
eef37c450f
Fix error detection to support replaces and provides
2011-11-24 09:57:08 +01:00
Jordi Boggiano
0d304550b5
Clarify error message when packages are not found, fixes #128
2011-11-22 11:09:59 +01:00
Jordi Boggiano
68512714f4
Fix update command by using remove+install (and for now ignoring uninstalls of non-existing packages)
2011-11-21 18:18:06 +01:00
Jordi Boggiano
f2662b193d
Add --dry-run option and list all operations on --verbose
2011-11-21 17:56:21 +01:00
Jordi Boggiano
5b87a02767
Merge remote-tracking branch 'prodigitalson/master'
2011-11-20 21:43:31 +01:00
Jordi Boggiano
3b8ee5dd54
Use pretty name/version in lock file and debug:packages, fixes #98
2011-11-20 15:42:32 +01:00
Ant Cunningham
e0400773f7
Adding support for configurable vendor path in composer.json.
2011-11-18 13:31:50 -05: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
b15ec17a06
implement a self-update command ( closes #83 )
2011-11-12 19:44:28 +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
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
c8859240d2
Add InstallerInstaller, refactored AutoloadGenerator, fixes #59
2011-11-05 23:54:01 +01:00
Jordi Boggiano
1feebcafe2
Add update command, fixes #28
2011-10-30 23:16:12 +01:00
Jordi Boggiano
9108a3af7f
Fix PlatformRepo packages not being seen as installed
2011-10-30 22:09:00 +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
1ca3e5e5e2
Generate a map separated from the autoloader, fixes #74
...
Also the loader is now returned by the autoload.php
2011-10-30 20:29:06 +01:00
Jordi Boggiano
1e0710b32f
Move .composer into vendor (hardcoded for now)
2011-10-29 18:13:48 +02:00
Jordi Boggiano
d16b928baf
Add DebugPackagesCommand
2011-10-28 01:19:46 +02:00
Jordi Boggiano
220ab7f4ee
Comments
2011-10-28 01:05:56 +02:00
Jordi Boggiano
8b0fee3f35
Fix platform packages not being added to the pool
2011-10-23 21:10:45 +02:00
Jordi Boggiano
33e7001d7e
Fix typo
2011-10-23 19:40:26 +02:00
Jordi Boggiano
c8cfa15f52
Use wrapped PlatformRepository only in the Solver
2011-10-23 19:40:20 +02:00
Igor Wiedler
9d238330b3
[autoload] refactor autoload generation code into a AutoloadGenerator
2011-10-23 19:40:12 +02:00
Igor Wiedler
72a1f66b7a
rename installAs to target-dir
2011-10-23 19:40:10 +02:00
Igor Wiedler
ea31039556
[autoload] autoloading prototype
2011-10-23 19:40:06 +02:00
Jordi Boggiano
2ebc795754
Error out when a package can not be found, refs #30
2011-10-02 21:24:09 +02:00
Jordi Boggiano
cc769af923
Reuse normal installer logic for locked installs
2011-10-02 19:54:53 +02:00
everzet
96122aada8
refactored install command to use new Locker
2011-10-01 15:34:10 +03:00
Jordi Boggiano
b9114e16be
Fix typos, short var names etc
2011-09-25 23:20:31 +02:00
Jordi Boggiano
5623f3e69c
Fix refactoring bugs
2011-09-25 23:07:42 +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
9deb10361f
second batch of refactoring
2011-09-21 00:43:53 +03:00
everzet
6caa77fbbf
installer refactoring
2011-09-21 00:41:16 +03:00
everzet
1e1ecb80b7
initial refactoring
2011-09-21 00:38:23 +03:00
Jordi Boggiano
6b5f61943a
Lowercase package names in Request (fixes tests)
2011-09-17 13:23:17 +02: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
cf11b48306
Making several tweaks per @stof
2011-09-14 10:34:53 -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
Jordi Boggiano
900bed1c32
Normalize package names
2011-09-13 02:24:44 +02:00
Igor Wiedler
1e5aaefaf5
Force empty lock files to contain a JSON object
...
By default it will make it an array, since PHP does not distinguish between
arrays and hash(map)s.
2011-09-12 16:59:05 +02:00
Jordi Boggiano
071fa7a4d7
Merge Solver logic into the install command
2011-08-21 13:33:39 +02:00
Jordi Boggiano
49c3446ac1
Make use of new dist properties, refactored ZipDownloader
2011-07-06 21:06:52 +02:00
Jordi Boggiano
75428d9ad1
Slightly improve reporting when json config files can't be parsed
2011-06-28 20:42:57 +02:00
Jordi Boggiano
75410d13b7
Bugfix
2011-06-28 20:42:55 +02:00
Jordi Boggiano
14fdd4384a
Better reporting during installation
2011-06-06 11:01:04 +02:00
Jordi Boggiano
04783d5c30
CI match on package names
2011-06-06 11:01:02 +02:00
Jordi Boggiano
b53a3086b6
Minor refactorings and changes
2011-04-21 21:13:14 +02:00
Jordi Boggiano
e03983697a
Add base installer/downloader and ComposerRepository
2011-04-18 00:15:05 +02:00