242 Commits (152694b5740b0be0049e2eec15b13e368b494071)

Author SHA1 Message Date
Jordi Boggiano 49d7d65933 Add verbosity input support to IOInterface 9 years ago
Jordi Boggiano 1818b95149 CS fixes 9 years ago
Niels Keurentjes 18cd4f966b Added silencer utility to more gracefully handle error suppression without hiding errors or worse. Fixes #4203, #4683 9 years ago
Jordi Boggiano 2491679ba3 Remove override of renderException, refs #4774 9 years ago
Jordi Boggiano b056d9ae42 Avoid double xdebug warning with global command 9 years ago
Jordi Boggiano 7a06615bf0 Add env var to disable xdebug warnings, refs #4622 9 years ago
Jordi Boggiano 966a982738 CS fixes 9 years ago
Jordi Boggiano cf6cd83335 Use writeError for xdebug warning and fix running test suite with xdebug 9 years ago
Jordi Boggiano 4071b09091 Merge pull request #4615 from staabm/xdebugwarn
add a warning when xdebug is loaded while running composer commands
9 years ago
Markus Staab a59f0a7ca8 add a warning when xdebug is loaded while running composer commands 9 years ago
Markus Staab 9f5efc3091 added a troubleshooting link in case of out-of-memory errors 9 years ago
Jordi Boggiano 2d24ed8e74 Improve error reporting 9 years ago
Jordi Boggiano ce08582671 Fix CS 9 years ago
Olivier Laviale cc522c20bb Optimized this->getIO() 9 years ago
Jordi Boggiano 5ba41514a9 Merge remote-tracking branch 'alcohol/add-suggests-command' 9 years ago
Jordi Boggiano 6a64041055 CS fixes 9 years ago
Gusakov Nikita f1af16984e [Command] Add suggests command 9 years ago
Jordi Boggiano 1753c275ff Handle deprecation notices softer 9 years ago
Possum 29ca21f30e PHP version checks tweaking 9 years ago
Jordi Boggiano ebffb3c179 Move improvements towards reproducible builds, refs #3927 9 years ago
Rob Bast 00fcd63c04 Remove redundant helper 9 years ago
Jérémy Derussé 86e0b847be Allow plugins to register commands 9 years ago
Edward Hartwell Goose bcb5e479b7 Fix reference to getIO as per #3777 9 years ago
Rob Bast cb336a5416 Implement writeError throughout Composer 9 years ago
Jordi Boggiano 0c87048fed Also detect full temp dir, fixes #3559 10 years ago
Jordi Boggiano 0627d846a5 PluginManager refactoring, fixes #3550 10 years ago
Jordi Boggiano aec1af4e11 Point users at troubleshooting if they get known exceptions 10 years ago
Jordi Boggiano fc3c7838b2 CS fixes 10 years ago
Jordi Boggiano d249d0c121 Reset composer to load the new requirements, fixes #3511 10 years ago
Craig Duncan b84c3f0268 Don't display the dev warning time when running self-update
Use the Application::find() method to resolve the command name, as Application::getCommandName() only returns whatever was entered as the first argument.
If the user only entered enough of the command to be unambiguous (eg self-up) then the warning would still show
By calling Application::find() we ensure that if we are going to run the self-update command then we will not show the warning, no matter what the user entered
10 years ago
Jordi Boggiano 373c688f8c Merge pull request #3362 from phansys/composer_version
Added branch-alias to version output when it is aliasing dev-master
10 years ago
Jordi Boggiano 94926218e8 CS fixes 10 years ago
Javier Spagnoletti e36f2ea618 Added branch-alias for dev-master to --version|-V output when current version is actually a revision (a non release/git tag).
This replies the work done in #3352 respecting other uses of ```Composer::VERSION``` constant.

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| Doc PR        | none
10 years ago
Jordi Boggiano 382b6c64d5 Output CWD change, refs #3332 10 years ago
Jordi Boggiano a8adbfeb9f Disallow overriding commands with scripts 10 years ago
Christophe Coevoet e1a3df3dbf Fixed the registration of commands with invalid JSON file
When the JSON file in the current folder is invalid, the registration of custom commands should be ignored rather than breaking the usage of Composer entirely.
Closes #3165
10 years ago
Jordi Boggiano ff844b3e14 Load scripts without preloading a composer instance to avoid side-effects, fixes #3155 10 years ago
Jordi Boggiano 0ce0cf42e8 Merge remote-tracking branch 'francoispluchino/fix-phpdoc'
Conflicts:
	src/Composer/EventDispatcher/EventDispatcher.php
10 years ago
Jordi Boggiano 67a016878e Switch working dir before loading composer, fixes #3146 10 years ago
Jordi Boggiano cec1627acf Add top level aliases for nonstandard scripts and allow parameter passing, refs #2516 10 years ago
Jordi Boggiano e10bf5a172 Merge remote-tracking branch 'digitalkaoz/new_home_command'
Conflicts:
	src/Composer/Console/Application.php
10 years ago
Jordi Boggiano 70d9cad549 Merge remote-tracking branch 'pierredup/remove-command'
Conflicts:
	src/Composer/Console/Application.php
10 years ago
François Pluchino 8b5c00bff0 Fix phpdoc 10 years ago
David Neilsen 421c9453a4 Add clear cache command. 10 years ago
jakoch 8fd82784b2 disable these xdebug settings only, if xdebug is loaded 10 years ago
Robert Schönthal 9a87aa1aaf added "home" command like the npm one, opens a package in your browser 11 years ago
Pierre du Plessis 5267622bba Add remove command to remove a package from the list of current installed packages 11 years ago
Jordi Boggiano 5b96caf8ce Add version release date to -V output, fixes #2267 11 years ago
Nils Adermann 15ac7be6f1 Fix disabling plugins which has to happen in the factory now 11 years ago
Jordi Boggiano 7311bc77e6 Add global command to be able to require/install/update global packages, fixes #1813, fixes #55 11 years ago
Jordi Boggiano b0e72f0910 Merge remote-tracking branch 'trompette/license-tools' 11 years ago
bronze1man 9a1f4e4458 fix some files mode bug 755->644 11 years ago
Benoît Merlet 4aa4af73c5 proof of concept regarding licenses 11 years ago
Jordi Boggiano 307c384294 Avoid throwing when checking for disk space, fixes #2039 11 years ago
Jordi Boggiano eb0f35377e Fix variable masking 11 years ago
Jordi Boggiano 3057949a2e Output error if the disk is full, fixes #1952 11 years ago
Jordi Boggiano 8d0b7f278e CS fixes 11 years ago
Pavel Savinov 831bd844bd Almost PHPDoc problems fixed 11 years ago
Pascal Borreli 390ac65466 Don't throw an update warning when using selfupdate alias 11 years ago
Fabien Potencier 91a2aa22fb Add a run-script command 11 years ago
Jordi Boggiano 605cd3ddc3 Rename diag to diagnose, fix feedback 11 years ago
Jordi Boggiano 1060d015fb Add composer diag command to diagnose problems automatically 11 years ago
Jordi Boggiano 83ea90296e Add COMPOSER_NO_INTERACTION env var to allow travis & others to easily make sure every composer run is non-interactive 11 years ago
Nils Adermann 526f48ecb8 Implement a basic archive command
It allows creating archives with the archive manager given a package/version
pair.
11 years ago
Jordi Boggiano 979db8539d Do not chdir unless necessary 11 years ago
Jordi Boggiano b474944155 Add more output to the profiled runs, refs #1659 11 years ago
Shane Auckland a783727227 adding use statement 12 years ago
Shane Auckland 0ba335730e Specific schema validation failure messages (fixes issue #1616) 12 years ago
Jordi Boggiano 1a98d9f705 Only inject logo in help page and not in the app name 12 years ago
Romain Neutron ce4a015579 Add a composer ascii-art logo 12 years ago
Jordi Boggiano e5ecad7eeb Enforce a UTC timezone if none is set to prevent misconfigured php from blowing up, refs #923 12 years ago
Jordi Boggiano 87e335aa1b Update outdated build message, fixes #1305 12 years ago
Jordi Boggiano aecf4ffe91 Move creation of custom styles to the factory 12 years ago
Jordi Boggiano ee0cd07468 CS fixes 12 years ago
Joshua Estes 6386921f99 deleted the repository, added a config command that current will just list the config for either file and open vim to edit the file 12 years ago
Joshua Estes 7be31e12ec add a repository in either the global config or the local composer.json file 12 years ago
Joshua Estes ec71674826 added empty configuration command and updated the application class to pull it in for display 12 years ago
Jordi Boggiano 0929f25945 Fix typo 12 years ago
Alexander M. Turek 6f317b7a6b Switch working directory according to --working-dir option. 12 years ago
Alexander M. Turek 4ac678454d Added --working-dir to definition. 12 years ago
Jordi Boggiano 573aad8801 Check if ini_set exists before calling it 12 years ago
Jordi Boggiano 456b35ae72 Disable xdebug scream/show_exception_trace, fixes #989 12 years ago
Jordi Boggiano fbaf6bf5f7 Add --profile flag to display very basic profiling metrics 12 years ago
Jordi Boggiano 5b4c6f6296 Merge remote-tracking branch 'fixe/status-command'
Conflicts:
	src/Composer/Console/Application.php
12 years ago
Tiago Ribeiro aba2ab2212 Added status command to display local changes to packages 12 years ago
Robert Schönthal e21ce860df fixed issue #627 (autoload dump command) 12 years ago
Sergey Linnik 2448c5a7c2 don't display dev expiration time warning when running self-update command 12 years ago
Jordi Boggiano 66e9dcddf4 CS fixes 12 years ago
Jordi Boggiano b566ba77ac Fix behavior broken by #665 12 years ago
Jordi Boggiano de449aa144 Merge remote-tracking branch 'PSeiffert/master'
Conflicts:
	src/Composer/Factory.php
	src/Composer/Repository/RepositoryManager.php
12 years ago
Jordi Boggiano 9841b6f36e Extend proper method to register commands at startup 12 years ago
Jordi Boggiano b33496c853 Merge remote-tracking branch 'jeremyFreeAgent/master'
Conflicts:
	doc/03-cli.md
12 years ago
Paul Seiffert b3a5ca93c7 Added comments -> IDE friendliness 12 years ago
Jordi Boggiano d60188903d Add warning for PHP <5.3.2 users that didn't use the installer 12 years ago
Jérémy Romey 260d7d434f Add a command for adding package to composer.json
Updated doc for require command
12 years ago
Luis Cordova 1aa9d9af43 removed finder use clause as it is not used 12 years ago
Jordi Boggiano 51447074c2 Fix wording & co 12 years ago
Jordi Boggiano a5c2c6c07e Merge remote-tracking branch 'biozshock/issue225' 12 years ago
Benjamin Eberlei db64917a83 Renamed install-project to create-project to differentiate from just "install". 13 years ago
Benjamin Eberlei bbf745f3e6 Add command to install a package as a new project into a non-existant directory. This fetches the given package from packagist or a different packagist-source and installs it into a given path. 13 years ago
Justin Rainbow 7a0a1788e3 Moved DialogHelper into the base Application 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
Beau Simensen 030b81b199 DebugPackagesCommand has been removed. 13 years ago
Jordi Boggiano 93baa38d5c Allow show command to work without a composer.json 13 years ago
Artem Lopata 7d994b5de4 Added ErrorHandler for handling E_NOTICE, E_WARNING, E_ERROR 13 years ago
Jordi Boggiano 434c9ecdeb Cleanups of IOInterface 13 years ago
François Pluchino 8053878b6a Merge branch 'master'
Conflicts:
	src/Composer/Console/Application.php
13 years ago
François Pluchino a5fb4abb36 Fix some improvements 13 years ago
Igor Wiedler 81f9adc596 Refactor Application::bootstrapComposer into a factory class (split from #178) 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
François Pluchino a10f92aafe Convert Wrapper class to ConsoleIO class 13 years ago
François Pluchino 9af46ad800 Add Helper Wrapper 13 years ago
François Pluchino 2f0162053d Add OutputConsole and format the download output 13 years ago
François Pluchino 013d145bcd Add InputInterface and OutputInterface 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
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 f6b9488bf0 Move root package handling to a dedicated loader and make ArrayLoader more strict 13 years ago
Jordi Boggiano 666ac623f4 Merge remote-tracking branch 'digitalkaoz/show_command'
Conflicts:
	src/Composer/Console/Application.php
13 years ago
Jordi Boggiano a193ec9942 Merge remote-tracking branch 'digitalkaoz/validate_command' 13 years ago
Jordi Boggiano f27926e7b4 Add ENV var support for COMPOSER_VENDOR_DIR and COMPOSER_BIN_DIR, fixes #152 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 c7deaa8a1f Add highlight style 13 years ago
digitalkaoz 6c870e23e0 added search command, colorized ouput, tiny fixes 13 years ago
Jordi Boggiano 9028546c5a Move bin dir to a subdir of vendor 13 years ago
Jordi Boggiano aa94918d50 Add binaries support in composer 13 years ago
Jordi Boggiano 456d442f6e Fix bootstrap 13 years ago
Jordi Boggiano 7fa74f8f8e Add COMPOSER env var to override the composer.json file name 13 years ago
Jordi Boggiano 94e277698e Delay bootstrap until it's really necessary, fixes #121 13 years ago
Jordi Boggiano 761ad6d171 Only allow self-updates when called from within a phar 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 247f237f93 HelpCommand
Simple HelpCommand that displays the same information about Composer
that is availible in the README.md file.
13 years ago
Jordi Boggiano 1feebcafe2 Add update command, fixes #28 13 years ago
Jordi Boggiano d16b928baf Add DebugPackagesCommand 13 years ago
Jordi Boggiano b9114e16be Fix typos, short var names etc 13 years ago
everzet 05ddfde868 Reflect latest refactoring changes in commands 13 years ago
everzet 9deb10361f second batch of refactoring 13 years ago
Ryan Weaver b1fcbe9dde Simplifying how composer initializes its commands 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