Jordi Boggiano
89540c5690
Support bg colors and more clearing values in html output formatter
2015-06-12 17:23:18 +01:00
Jordi Boggiano
29dbc3835f
Fix html output formatter to work with latest symfony console
2015-06-12 17:10:19 +01:00
Jordi Boggiano
1753c275ff
Handle deprecation notices softer
2015-05-31 12:26:57 +01:00
Possum
29ca21f30e
PHP version checks tweaking
2015-05-05 20:18:24 +02:00
Jordi Boggiano
ebffb3c179
Move improvements towards reproducible builds, refs #3927
2015-05-01 11:54:55 +01:00
Rob Bast
00fcd63c04
Remove redundant helper
2015-04-30 12:17:56 +02:00
Jérémy Derussé
86e0b847be
Allow plugins to register commands
2015-02-26 09:14:25 +01:00
Edward Hartwell Goose
bcb5e479b7
Fix reference to getIO as per #3777
2015-02-25 18:41:13 +00:00
Rob Bast
cb336a5416
Implement writeError throughout Composer
2015-02-25 11:00:35 +01:00
Nimit Kalra
b2b9688c92
Conform with Symfony Coding Standards
...
According to Symfony Coding Standards, a single space must be added around binary operators excluding the concatenation operator.
"Add a single space around binary operators (==, &&, ...), with the exception of the concatenation (.) operator" (http://symfony.com/doc/current/contributing/code/standards.html )
2015-02-18 15:06:36 -06:00
Jordi Boggiano
0c87048fed
Also detect full temp dir, fixes #3559
2014-12-15 20:22:08 +00:00
Jordi Boggiano
0627d846a5
PluginManager refactoring, fixes #3550
2014-12-13 18:54:42 +00:00
Jordi Boggiano
aec1af4e11
Point users at troubleshooting if they get known exceptions
2014-12-13 11:47:22 +00:00
Jordi Boggiano
fc3c7838b2
CS fixes
2014-12-07 13:54:29 +00:00
Jordi Boggiano
d249d0c121
Reset composer to load the new requirements, fixes #3511
2014-12-05 11:58:21 +00:00
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
2014-11-20 18:21:14 +00:00
Jordi Boggiano
373c688f8c
Merge pull request #3362 from phansys/composer_version
...
Added branch-alias to version output when it is aliasing dev-master
2014-10-17 20:28:38 +01:00
Jordi Boggiano
94926218e8
CS fixes
2014-10-17 18:57:27 +01:00
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
2014-10-16 22:13:17 -03:00
Jordi Boggiano
382b6c64d5
Output CWD change, refs #3332
2014-10-07 10:17:48 +01:00
Jordi Boggiano
a8adbfeb9f
Disallow overriding commands with scripts
2014-09-05 17:28:50 +01:00
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
2014-09-05 15:17:51 +02:00
Jordi Boggiano
ff844b3e14
Load scripts without preloading a composer instance to avoid side-effects, fixes #3155
2014-07-28 12:59:19 +02:00
Jordi Boggiano
0ce0cf42e8
Merge remote-tracking branch 'francoispluchino/fix-phpdoc'
...
Conflicts:
src/Composer/EventDispatcher/EventDispatcher.php
2014-07-23 19:19:39 +02:00
Jordi Boggiano
67a016878e
Switch working dir before loading composer, fixes #3146
2014-07-23 12:20:18 +02:00
Jordi Boggiano
cec1627acf
Add top level aliases for nonstandard scripts and allow parameter passing, refs #2516
2014-07-20 21:55:24 +02:00
Jordi Boggiano
e10bf5a172
Merge remote-tracking branch 'digitalkaoz/new_home_command'
...
Conflicts:
src/Composer/Console/Application.php
2014-07-20 17:25:50 +02:00
Jordi Boggiano
70d9cad549
Merge remote-tracking branch 'pierredup/remove-command'
...
Conflicts:
src/Composer/Console/Application.php
2014-07-19 21:47:28 +02:00
François Pluchino
8b5c00bff0
Fix phpdoc
2014-07-16 15:17:38 +02:00
David Neilsen
421c9453a4
Add clear cache command.
2014-06-04 19:32:28 +12:00
jakoch
8fd82784b2
disable these xdebug settings only, if xdebug is loaded
2014-04-30 11:29:52 +02:00
Robert Schönthal
9a87aa1aaf
added "home" command like the npm one, opens a package in your browser
2014-01-31 22:01:32 +01:00
Pierre du Plessis
5267622bba
Add remove command to remove a package from the list of current installed packages
2013-12-12 21:07:27 +02:00
Jordi Boggiano
5b96caf8ce
Add version release date to -V output, fixes #2267
2013-09-16 14:08:43 +02:00
Nils Adermann
15ac7be6f1
Fix disabling plugins which has to happen in the factory now
2013-08-30 12:51:41 +02:00
Jordi Boggiano
7311bc77e6
Add global command to be able to require/install/update global packages, fixes #1813 , fixes #55
2013-08-17 02:59:17 +02:00
Jordi Boggiano
b0e72f0910
Merge remote-tracking branch 'trompette/license-tools'
2013-08-12 01:24:57 +02:00
bronze1man
9a1f4e4458
fix some files mode bug 755->644
2013-08-06 18:07:26 +08:00
Benoît Merlet
4aa4af73c5
proof of concept regarding licenses
2013-07-10 17:00:18 +02:00
Jordi Boggiano
307c384294
Avoid throwing when checking for disk space, fixes #2039
2013-06-26 13:56:52 +02:00
Jordi Boggiano
eb0f35377e
Fix variable masking
2013-06-18 14:33:16 +02:00
Jordi Boggiano
3057949a2e
Output error if the disk is full, fixes #1952
2013-06-18 14:02:12 +02:00
Jordi Boggiano
8d0b7f278e
CS fixes
2013-06-13 13:28:24 +02:00
Pavel Savinov
831bd844bd
Almost PHPDoc problems fixed
2013-06-13 11:05:44 +11:00
Pascal Borreli
390ac65466
Don't throw an update warning when using selfupdate alias
2013-05-06 18:53:43 +02:00
Fabien Potencier
91a2aa22fb
Add a run-script command
2013-04-15 15:45:32 +02:00
Jordi Boggiano
605cd3ddc3
Rename diag to diagnose, fix feedback
2013-04-04 15:46:08 +02:00
Jordi Boggiano
1060d015fb
Add composer diag command to diagnose problems automatically
2013-04-04 00:43:08 +02:00
Jordi Boggiano
83ea90296e
Add COMPOSER_NO_INTERACTION env var to allow travis & others to easily make sure every composer run is non-interactive
2013-04-02 10:34:49 +02:00
Nils Adermann
526f48ecb8
Implement a basic archive command
...
It allows creating archives with the archive manager given a package/version
pair.
2013-03-28 12:49:52 +01:00
Jordi Boggiano
979db8539d
Do not chdir unless necessary
2013-03-15 15:21:22 +01:00
Jordi Boggiano
b474944155
Add more output to the profiled runs, refs #1659
2013-03-05 15:21:54 +01:00
Shane Auckland
a783727227
adding use statement
2013-02-25 15:55:37 +00:00
Shane Auckland
0ba335730e
Specific schema validation failure messages (fixes issue #1616 )
2013-02-25 15:34:31 +00:00
Jordi Boggiano
514a3cde77
CS fixes
2013-01-05 20:01:58 +01:00
Jordi Boggiano
1a98d9f705
Only inject logo in help page and not in the app name
2013-01-05 18:33:29 +01:00
Romain Neutron
ce4a015579
Add a composer ascii-art logo
2012-12-28 20:24:21 +01:00
Jordi Boggiano
e5ecad7eeb
Enforce a UTC timezone if none is set to prevent misconfigured php from blowing up, refs #923
2012-11-20 14:45:40 +01:00
Jordi Boggiano
87e335aa1b
Update outdated build message, fixes #1305
2012-11-10 21:37:18 +01:00
Jordi Boggiano
e7e04689f1
Add HtmlOutputFormatter
2012-11-05 13:55:23 +01:00
Jordi Boggiano
aecf4ffe91
Move creation of custom styles to the factory
2012-11-05 13:51:43 +01:00
Jordi Boggiano
ee0cd07468
CS fixes
2012-10-18 10:35:06 +02:00
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
2012-10-02 10:42:48 -05:00
Joshua Estes
7be31e12ec
add a repository in either the global config or the local composer.json file
2012-10-01 11:07:53 -05:00
Joshua Estes
ec71674826
added empty configuration command and updated the application class to pull it in for display
2012-10-01 09:19:20 -05:00
Jordi Boggiano
0929f25945
Fix typo
2012-09-16 18:19:46 +02:00
Alexander M. Turek
6f317b7a6b
Switch working directory according to --working-dir option.
2012-09-15 12:29:56 +02:00
Alexander M. Turek
4ac678454d
Added --working-dir to definition.
2012-09-15 11:36:57 +02:00
Jordi Boggiano
573aad8801
Check if ini_set exists before calling it
2012-08-24 16:38:01 +02:00
Jordi Boggiano
456b35ae72
Disable xdebug scream/show_exception_trace, fixes #989
2012-08-24 10:57:38 +02:00
Jordi Boggiano
fbaf6bf5f7
Add --profile flag to display very basic profiling metrics
2012-08-24 01:32:29 +02:00
Jordi Boggiano
5b4c6f6296
Merge remote-tracking branch 'fixe/status-command'
...
Conflicts:
src/Composer/Console/Application.php
2012-08-18 13:45:36 +02:00
Tiago Ribeiro
aba2ab2212
Added status command to display local changes to packages
2012-07-29 17:13:26 +01:00
Robert Schönthal
e21ce860df
fixed issue #627 (autoload dump command)
2012-07-02 09:48:25 +02:00
Sergey Linnik
2448c5a7c2
don't display dev expiration time warning when running self-update command
2012-06-24 14:18:07 +04:00
Jordi Boggiano
66e9dcddf4
CS fixes
2012-06-23 11:58:18 +02:00
Jordi Boggiano
b566ba77ac
Fix behavior broken by #665
2012-06-23 11:47:53 +02:00
Jordi Boggiano
de449aa144
Merge remote-tracking branch 'PSeiffert/master'
...
Conflicts:
src/Composer/Factory.php
src/Composer/Repository/RepositoryManager.php
2012-06-23 11:42:13 +02:00
Jordi Boggiano
9841b6f36e
Extend proper method to register commands at startup
2012-05-28 00:10:02 +02:00
Jordi Boggiano
b33496c853
Merge remote-tracking branch 'jeremyFreeAgent/master'
...
Conflicts:
doc/03-cli.md
2012-05-26 12:40:36 +02:00
Paul Seiffert
b3a5ca93c7
Added comments -> IDE friendliness
2012-05-08 23:26:01 +02:00
Jordi Boggiano
d60188903d
Add warning for PHP <5.3.2 users that didn't use the installer
2012-04-29 16:07:47 +02:00
Jérémy Romey
260d7d434f
Add a command for adding package to composer.json
...
Updated doc for require command
2012-04-03 13:49:42 +02:00
Luis Cordova
1aa9d9af43
removed finder use clause as it is not used
2012-03-23 11:28:40 -05:00
Jordi Boggiano
51447074c2
Fix wording & co
2012-03-18 21:16:36 +01:00
Jordi Boggiano
a5c2c6c07e
Merge remote-tracking branch 'biozshock/issue225'
2012-03-18 21:09:37 +01:00
Benjamin Eberlei
db64917a83
Renamed install-project to create-project to differentiate from just "install".
2012-02-27 20:25:36 +01:00
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.
2012-02-27 20:25:36 +01:00
Justin Rainbow
7a0a1788e3
Moved DialogHelper into the base Application
2012-02-11 17:13:38 -07:00
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.
2012-02-11 17:13:37 -07:00
Beau Simensen
030b81b199
DebugPackagesCommand has been removed.
2012-02-09 08:14:06 -08:00
Jordi Boggiano
93baa38d5c
Allow show command to work without a composer.json
2012-02-08 10:24:36 +01:00
Artem Lopata
7d994b5de4
Added ErrorHandler for handling E_NOTICE, E_WARNING, E_ERROR
2012-01-27 10:37:45 +02:00
Jordi Boggiano
434c9ecdeb
Cleanups of IOInterface
2012-01-17 23:08:12 +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
a5fb4abb36
Fix some improvements
2012-01-17 10:29:54 +01:00
Igor Wiedler
81f9adc596
Refactor Application::bootstrapComposer into a factory class (split from #178 )
2012-01-17 10:00:53 +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
François Pluchino
a10f92aafe
Convert Wrapper class to ConsoleIO class
2012-01-16 14:14:15 +01:00
François Pluchino
9af46ad800
Add Helper Wrapper
2012-01-11 13:55:05 +01:00
François Pluchino
395e2e040d
Add callback download informations
2012-01-10 21:22:52 +01:00
François Pluchino
2f0162053d
Add OutputConsole and format the download output
2012-01-10 20:06:15 +01:00
François Pluchino
013d145bcd
Add InputInterface and OutputInterface
2012-01-10 18:50:16 +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
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
f6b9488bf0
Move root package handling to a dedicated loader and make ArrayLoader more strict
2011-12-13 01:05:29 +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
a193ec9942
Merge remote-tracking branch 'digitalkaoz/validate_command'
2011-12-12 22:07:57 +01:00
Jordi Boggiano
f27926e7b4
Add ENV var support for COMPOSER_VENDOR_DIR and COMPOSER_BIN_DIR, fixes #152
2011-12-12 21:18:15 +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
c7deaa8a1f
Add highlight style
2011-12-06 23:07:06 +01:00
digitalkaoz
6c870e23e0
added search command, colorized ouput, tiny fixes
2011-12-06 21:19:12 +01:00
Jordi Boggiano
9028546c5a
Move bin dir to a subdir of vendor
2011-12-03 20:47:02 +01:00
Jordi Boggiano
aa94918d50
Add binaries support in composer
2011-12-03 15:39:06 +01:00
Jordi Boggiano
456d442f6e
Fix bootstrap
2011-12-03 12:46:28 +01:00
Jordi Boggiano
7fa74f8f8e
Add COMPOSER env var to override the composer.json file name
2011-11-30 21:50:11 +01:00
Jordi Boggiano
94e277698e
Delay bootstrap until it's really necessary, fixes #121
2011-11-30 21:30:51 +01:00
Jordi Boggiano
761ad6d171
Only allow self-updates when called from within a phar
2011-11-16 13:50:32 +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
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
1feebcafe2
Add update command, fixes #28
2011-10-30 23:16:12 +01:00
Jordi Boggiano
d16b928baf
Add DebugPackagesCommand
2011-10-28 01:19:46 +02:00
Jordi Boggiano
b9114e16be
Fix typos, short var names etc
2011-09-25 23:20:31 +02:00
everzet
05ddfde868
Reflect latest refactoring changes in commands
2011-09-25 21:00:44 +03: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
Ryan Weaver
b1fcbe9dde
Simplifying how composer initializes its commands
2011-09-15 06:58:57 -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