165 Commits (edf93f1fccaebd8764383dc12016d0a1a9672d89)

Author SHA1 Message Date
Jordi Boggiano 01cb2c5dd7 Fix typo 13 years ago
Jordi Boggiano 256bfedea1 Merge remote-tracking branch 'jalliot/proxy2'
Conflicts:
	src/Composer/Downloader/FileDownloader.php
	src/Composer/Repository/PearRepository.php
13 years ago
Beau Simensen 81d41fc442 Rename --dev to --prefer-source 13 years ago
Justin Rainbow 3a5d09a8b0 Removing the 'writeSection' method from 'DialogHelper' 13 years ago
Justin Rainbow 7a0a1788e3 Moved DialogHelper into the base Application 13 years ago
Justin Rainbow 9ec641659e Validating package name input for init command 13 years ago
Justin Rainbow 950bbcbed9 Init now asks user if they want to ignore the vendor dir 13 years ago
Justin Rainbow cd9c86c70c Adding author defaults to init command 13 years ago
Justin Rainbow 6ff7694de1 Fixing error when no requirements are defined 13 years ago
Justin Rainbow 2fbd9490b1 Adding a requirement definition stage to init command 13 years ago
Justin Rainbow 10ca974f33 Quick change to the help text for InitCommand 13 years ago
Justin Rainbow 34bbfb70d2 Initial version of InitCommand
This command allows a user to create a basic composer.json
definition easily.  The idea is to create a command similar
to the `npm init` command.

This version only has `name` and `description` support.
Additional fields will be added such as `require`, `authors`,
`version`, etc.
13 years ago
Jordi Boggiano 6971657ad0 Merge debug:packages into the show command (if used without package arg) 13 years ago
Jordi Boggiano 247d19e2f8 Add type hints 13 years ago
Jordi Boggiano 93baa38d5c Allow show command to work without a composer.json 13 years ago
Jordi Boggiano f761bf8d99 Simplify install() signature 13 years ago
Beau Simensen e1370be7a0 Continued refactoring of install() method, mainly by way of adding Composite Repository
* Rewritten `install()` method now takes a repository instead of a list of packages (per @nadermen)
 * Added Composite Repository
 * Added tests for Composite Repository
 * Removed "local repository" concept from Platform Repository
 * Removed some `use` statements for Platform Repository where it was not actually being used
13 years ago
Beau Simensen 473f127ff1 Super simplified, works, but needs refactoring w/ Composer Repository 13 years ago
Beau Simensen df72919ba3 @naderman says this is wrong. 13 years ago
Beau Simensen 57ffc9d59b Changed some variable names, continue 2, locked install changed
Changed some some instances of the $package variable name to be
able to be consistent in all branches of the "add to request"
section of code.

Updated an instance of "break" to "continue 2" as it was resulting
in the same package getting both update() and install() called
on request. Seems like this is probably not needed, should be
just one or the other? (could be way wrong on this)

Gave "locked" branch of the update/locked/install code some
logic to handle internally installed packages.
13 years ago
Beau Simensen c1ba2be345 Provide the ability to specify internally installed packages (i.e., embedded in phar) 13 years ago
Beau Simensen c94d867c07 Make install method self contained
Experimental: Updated `install()` method to accept its Composer
and input option dependencies as method arguments.
13 years ago
Jordi Boggiano 385075cda3 Cosmetic fixes 13 years ago
Jordi Boggiano d52feb1a9f Merge remote-tracking branch 'digitalkaoz/issue_209' 13 years ago
Jordi Boggiano 7add1001ae Refactor scripts 13 years ago
François Pluchino f017074655 Remove package trigger
Rename GetTriggerEvent on TriggerEvent
Remove get/set Application in TriggerEvent
Remove get/set Dispatcher in TriggerEvent
Add get/set Composer in TriggerEvent
Add get/set IO in TriggerEvent
Restaure ConsoleIO and IOInterface
Update Faq
13 years ago
François Pluchino 2f6a3ce8b9 Add system trigger 13 years ago
digitalkaoz 3d43bdce45 refactored install 13 years ago
digitalkaoz 4d0fae688e removed replace, reinstalling as install 13 years ago
digitalkaoz 30e89a2402 fixed broken packages on filesystem 13 years ago
Jordan Alliot 9c27e38654 Moved proxy handling to a new class so that it can be reused in other parts of Composer 13 years ago
Jordi Boggiano edf948454b Remove IO from Solver, debug methods don't need it 13 years ago
François Pluchino 8053878b6a Merge branch 'master'
Conflicts:
	src/Composer/Console/Application.php
13 years ago
François Pluchino 0f9dcc9618 Remplace all echo with writeln method of IO 13 years ago
François Pluchino 7888ec5313 Add Authentification in FileDownloader 13 years ago
Christophe Coevoet 1fdb7aef56 Changed the ShowCommand to use the new method 13 years ago
Jordi Boggiano cc1dbbc36f Add --link-type option to select link types in DependsCommand 13 years ago
Hugo Hamon 747abf6843 [Command] removed unused local variable $composer in UpdateCommand::execute() method. 13 years ago
Hugo Hamon c993f3e92d [Command] removed unused local $recommendedDependencies variable in DependsCommand::getReferences() method. 13 years ago
Jordi Boggiano 83a106bd79 Add recommends and package versions to the depends command 13 years ago
Jordi Boggiano 81d80b2a04 Merge remote-tracking branch 'justinrainbow/depends_command' 13 years ago
Jordi Boggiano 462ebdf752 Detect lock file changes and warn users on install, fixes #75 13 years ago
Nils Adermann 855b1cb9d3 Merge pull request #173 from Seldaek/update
Fix update, fixes #125
13 years ago
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.
13 years ago
Jordi Boggiano 9b2694351b Less confusing error message 13 years ago
Jordi Boggiano 8cfbf9e198 Fix update, fixes #125 13 years ago
Jordi Boggiano 3b9dd59da3 Fix typo 13 years ago
Jordi Boggiano 9452a94e30 Fix regression in previous merge 13 years ago
Igor Wiedler 85ec42bac3 display highest package version by default on show command 13 years ago
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.
13 years ago
Jordi Boggiano a2caa7c5e6 Adjustments to the show command 13 years ago
Jordi Boggiano 7caf61fc66 Set return code to non-zero when validate fails 13 years ago
Jordi Boggiano 666ac623f4 Merge remote-tracking branch 'digitalkaoz/show_command'
Conflicts:
	src/Composer/Console/Application.php
13 years ago
Jordi Boggiano d62a1ad1c1 Adjustments to the validate command 13 years ago
digitalkaoz 9a50fd6492 added validate task, closes #81 13 years ago
digitalkaoz 6451087039 added a show command for packages 13 years ago
Jordi Boggiano 283745d76d Do case-insensitive searches, avoid printing multiple results if multiple tokens match, highlight matched area 13 years ago
Jordi Boggiano 8675d4eb6a Make search token required 13 years ago
digitalkaoz 6c870e23e0 added search command, colorized ouput, tiny fixes 13 years ago
Jordi Boggiano aacdcb1570 Allow self-update to be called outside of a project context 13 years ago
jsor 28a8b3e4c5 Fix link collection 13 years ago
jsor e512e16e35 Rename flags after feedback in #132 13 years ago
jsor 9af21fd461 Install recommended deps by default and introduce flags for including/excluding required/recommended/suggested deps 13 years ago
Jordi Boggiano eef37c450f Fix error detection to support replaces and provides 13 years ago
Jordi Boggiano 0d304550b5 Clarify error message when packages are not found, fixes #128 13 years ago
Jordi Boggiano 68512714f4 Fix update command by using remove+install (and for now ignoring uninstalls of non-existing packages) 13 years ago
Jordi Boggiano f2662b193d Add --dry-run option and list all operations on --verbose 13 years ago
Jordi Boggiano 5b87a02767 Merge remote-tracking branch 'prodigitalson/master' 13 years ago
Jordi Boggiano 3b8ee5dd54 Use pretty name/version in lock file and debug:packages, fixes #98 13 years ago
Ant Cunningham e0400773f7 Adding support for configurable vendor path in composer.json. 13 years ago
Igor Wiedler 3c036428de replace current file in self-update command 13 years ago
Igor Wiedler b2f71dcb6a trim getcomposer.org/version output 13 years ago
Igor Wiedler b15ec17a06 implement a self-update command (closes #83) 13 years ago
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.
13 years ago
Henrik Bjørnskov f85a31e2b0 Change the wording and link directly to packagist.org. 13 years ago
Henrik Bjørnskov 247f237f93 HelpCommand
Simple HelpCommand that displays the same information about Composer
that is availible in the README.md file.
13 years ago
Jordi Boggiano c8859240d2 Add InstallerInstaller, refactored AutoloadGenerator, fixes #59 13 years ago
Jordi Boggiano 1feebcafe2 Add update command, fixes #28 13 years ago
Jordi Boggiano 9108a3af7f Fix PlatformRepo packages not being seen as installed 13 years ago
Jordi Boggiano 6b6d6b6d82 Add --dev flag to InstallCommand to do source installs, fixes #26 13 years ago
Jordi Boggiano 1ca3e5e5e2 Generate a map separated from the autoloader, fixes #74
Also the loader is now returned by the autoload.php
13 years ago
Jordi Boggiano 1e0710b32f Move .composer into vendor (hardcoded for now) 13 years ago
Jordi Boggiano d16b928baf Add DebugPackagesCommand 13 years ago
Jordi Boggiano 220ab7f4ee Comments 13 years ago
Jordi Boggiano 8b0fee3f35 Fix platform packages not being added to the pool 13 years ago
Jordi Boggiano 33e7001d7e Fix typo 13 years ago
Jordi Boggiano c8cfa15f52 Use wrapped PlatformRepository only in the Solver 13 years ago
Igor Wiedler 9d238330b3 [autoload] refactor autoload generation code into a AutoloadGenerator 13 years ago
Igor Wiedler 72a1f66b7a rename installAs to target-dir 13 years ago
Igor Wiedler ea31039556 [autoload] autoloading prototype 13 years ago
Jordi Boggiano 2ebc795754 Error out when a package can not be found, refs #30 13 years ago
Jordi Boggiano cc769af923 Reuse normal installer logic for locked installs 13 years ago
everzet 96122aada8 refactored install command to use new Locker 13 years ago
Jordi Boggiano b9114e16be Fix typos, short var names etc 13 years ago
Jordi Boggiano 5623f3e69c Fix refactoring bugs 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 9deb10361f second batch of refactoring 13 years ago
everzet 6caa77fbbf installer refactoring 13 years ago
everzet 1e1ecb80b7 initial refactoring 13 years ago