213 Commits (f171d1fd89bf06247dc64c44e28f9d60ded4783e)

Author SHA1 Message Date
Jordi Boggiano 2bcd723b54 Fix regression in global command, fixes #5266 8 years ago
Jordi Boggiano ba909d8795 Avoid duplicate commands, and pass plugin to ctor args for capabilities, refs #3377 8 years ago
Jordi Boggiano 090295dbcb Adjust the CommandProvider to use plugin capabilities and test actual command creation, refs #3377 8 years ago
Jordi Boggiano a9df4acd7d Merge remote-tracking branch 'jderusse/plugin-with-commands' 8 years ago
Jordi Boggiano 35fbf9bc14 Merge branch '1.0' 8 years ago
Derek Marcotte 3a03b51ae3 fix command injection from the environment when run as root 8 years ago
Jordi Boggiano e7069dd5e8 Tweak colors in the output, make sure we load the proper version according to stability flags and add outdated command, refs #5028 8 years ago
Jordi Boggiano 89cfde051d Convert exception to a warning, refs #5205 8 years ago
Jordi Boggiano fa5c73f0d8 Merge remote-tracking branch 'curry684/issue-5186' 8 years ago
Niels Keurentjes 43eb471ec2 Code cleanup and ensure checked file is unique. 8 years ago
Jordi Boggiano 118d8fb52f Output composer/php/os version info in debug mode 8 years ago
Niels Keurentjes 28e9193e9e Check temp folder usability before runtime to prevent weird errors. 8 years ago
Jordi Boggiano 134ce134a2 Rename COMPOSER_DISABLE_ROOT_WARN to COMPOSER_ALLOW_SUPERUSER, refs #5119 8 years ago
Jordi Boggiano cb8587cdad Add COMPOSER_DISABLE_ROOT_WARN env var and skip root warning on self-update command as well, refs #5119 8 years ago
Jordi Boggiano dfd22c641d Bulletproof sudo clobbering, refs #5122 8 years ago
Niels Keurentjes a0070e724b Clobber any existing sudo leases before execution to prevent malicious code gaining root privileges. 8 years ago
Niels Keurentjes 557a55fbe5 Clobber sudo credentials to prevent careless privilege escalations. 8 years ago
Jordi Boggiano f4f66be6f6 Merge remote-tracking branch 'dshafik/add-exec-command' 8 years ago
Niels Keurentjes 75bb0d9b10 Implemented Prohibits and Depends correctly now. 8 years ago
Davey Shafik 43551bc537 Add `composer exec` command 9 years ago
Niels Keurentjes 0dab63e050 Unified all Windows tests throughout the code. 9 years ago
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