1372 Commits (fdfdee03c1cb4af7e0cbbfe9b74b8a956c7c6d2f)

Author SHA1 Message Date
Jordi Boggiano 586f4bac87 Make use of prefer-stable/minimum-stability when picking versions in require command, fixes #6219 7 years ago
Jordi Boggiano 5061d90135 Allow setting the channel without running a complete self-update 7 years ago
Alexander Schwenn 527f5b8571 Print error message when json is requested for tree or single package info 7 years ago
Alexander Schwenn 74d82a51e3 Replace latestStyle by status to get style independent json output 7 years ago
Alexander Schwenn c70aaa421d Add json output for show command 7 years ago
Alexander Schwenn 818687849d Extract view logic from data preparation 7 years ago
Alexander Schwenn 64139ba327 Move loop-independent code outside of loop 7 years ago
Alexander Schwenn 086c9d5c56 Separate package warning from view representation 7 years ago
Alexander Schwenn 52ca1bd9c5 Move command termination outside of output loop 7 years ago
Alexander Schwenn e672628565 Separate package type from view representation 7 years ago
Alexander Schwenn 308fa88746 Move $io->write calls together 7 years ago
Alexander Schwenn 77e104bd4d Fix typo in local variable name 7 years ago
Jordi Boggiano eb5495b8e4 Merge branch '1.3' 8 years ago
Jordi Boggiano d6ffe1fd1d Add support for outdated command info without ANSI colors, fixes #6070 8 years ago
Jordi Boggiano cf2838131f Merge pull request #6062 from MoT3rror/master
Add ignore filters option to archive command
8 years ago
Jordi Boggiano 9a26a9e8f8 Make sure alias packages installed with create-project end up with the correct branch checked out, fixes #6082 8 years ago
Ed Reel f29a302391 Return 1 if composer.json exists, but the package doesn't. 8 years ago
jbixler dac51c7f4b Add ignore filters option to archive command 8 years ago
Sven Luijten b4a77e1c0e Add full stop to all command descriptions 8 years ago
Jordi Boggiano ed0829fed1 Simplify code and fix path to composer.json, refs #6001 8 years ago
Ed Reel afdae9c0e2 Do not throw InvalidArgumentException with the 'show' command if the working-dir argument is set and composer.json exists
- This prevents scripts from aborting when looping through a directory of projects
8 years ago
Jordi Boggiano 5ecd9ace59 Forward --minor-only flag to show command 8 years ago
Jordi Boggiano 51cfe3ba73 Fix whitespace in selfupdate output, fixes #5980 8 years ago
Jordi Boggiano 01885777f3 Fix case insensitivity of remove command, fixes #5973 8 years ago
golodnyi 1cced223d8 Not actual parameters 8 years ago
Nicolas Grekas 6d4e60b991 Add --apcu-autoloader option to enable APCu caching of found/not-found classes 8 years ago
Pierre Rudloff 7d52bd6ed5 Non-zero status code when there are outdated packages (fixes #5901) 8 years ago
johnstevenson 379fb70ad9 Use random name for tmp ini and delete after use
Thanks to Patrick Rose for reporting this issue.
8 years ago
Jordi Boggiano 66bb195233 Add zlib warning to diagnose command 8 years ago
Jordi Boggiano 9c8617cd33 Merge branch '1.2' 8 years ago
Jordi Boggiano f7475c6ff6 Merge pull request #5830 from fabpot/logic-refactoring
Refactor some common logic in Command classes
8 years ago
Fabien Potencier 69740bbbee Refactor some common logic in Command classes 8 years ago
Fabien Potencier b823242ae3 Code simplification 8 years ago
Niels Keurentjes 6de7feeb86 Fix crash when listing root package without versions
When using certain parameters together in 'composer show', specifically '-s --outdated', the root package itself is inspected for its latest version. If the git repository it belongs to does not have any tags yet this would return FALSE, while the next call to printMeta requires a PackageInterface or NULL, causing a crash.

Refs #5808
8 years ago
Nicolas Grekas bfbcf03a6b Fix ShowCommand 8 years ago
Konstantin.Myakshin dc70b40d34 Use implode instead of join 8 years ago
Jordi Boggiano 41c3307fc5 Merge branch '1.2' 8 years ago
Jordi Boggiano f23cdf59e3 Make remove command case insensitive, fixes #5754 8 years ago
Jordi Boggiano b171c24101 Merge branch '1.2' 8 years ago
Jordi Boggiano 8e1b90bc08 Allow reading repo.0 in config command, fixes #5692 8 years ago
Jordi Boggiano 2ffa1148a9 Merge branch '1.2' 8 years ago
Den Girnyk 71e0fba216 Pass devMode from RunScriptCommand to Script\Event 8 years ago
Jordi Boggiano 754d4fa1b2 Merge branch '1.2' 8 years ago
Jordi Boggiano a04256810e Change exit code to be 1/2 for warn/fail, refs #5601 8 years ago
Jordi Boggiano b29d810d63 Only treat errors as real failures, fixes #5601 8 years ago
Jordi Boggiano cfdeb61779 Avoid warning when testing for packagist over http 8 years ago
Jordi Boggiano f63f1ff95f Merge remote-tracking branch 'davidolrik/master' 8 years ago
Jordi Boggiano 9b42f16762 Merge pull request #5575 from admonkey/master
update help page on global for COMPOSER_HOME info
8 years ago
Jordi Boggiano cada55dde6 Merge pull request #5491 from moolex/support_gitlab_private_token
Support gitlab private-token for easier access via Gitlab API
8 years ago
Jordi Boggiano 165ff07146 Merge branch '1.2' 8 years ago
Matthew "Juniper" Barlett 09dad8a018 Clean up regex in InitCommand::parseAuthorString
Per comments:
- https://github.com/composer/composer/pull/5638#discussion_r76972844
- https://github.com/composer/composer/pull/5638#discussion_r76973941
8 years ago
Matthew "Juniper" Barlett ac41bb0615 Fix for issue #5631
- Add " ( and ) as valid characters in author name
- Add relavent unit tests
8 years ago
Jordi Boggiano f3af3ede40 Merge pull request #5552 from fvdb/add-minor-only-option
Added minor-only option to show command to only show packages with minor updates
8 years ago
Frank van den Brink e60a7216c6
Clarified minor-only option description 8 years ago
Frank van den Brink cb7377d2cb
Added minor-only option to show command to only show packages with minor updates 8 years ago
Frank van den Brink 28851ecdca
Revert "Added minor-only option to only show packages with minor updates"
This reverts commit 4b0e40d482.
8 years ago
David Jack Wange Olrik 2c84be47c2 Add support for seamless execution of local binaries
Projects that add binaries to `vendor-bin` can now execute those via the same command as projects that consume them without installing them first.

In list overview local commands have a `(local)` tag to distinguish them from commands installed in `vendor-bin`.

Local binaries take precedence over `vendor-bin` which takes precedence over binaries in path.
8 years ago
Jesse Donat 4de11a955a Adds --no-suggest to RequireCommand 8 years ago
Jeff Puckett 9e7d1a4f9e update help page on global for COMPOSER_HOME info
default installation directory for global packages
has changed since adding support for freedesktop.org standards
per confusion from http://stackoverflow.com/q/38703915/4233593
8 years ago
Frank van den Brink 4b0e40d482
Added minor-only option to only show packages with minor updates 8 years ago
Jordi Boggiano 685ff8699b Capture output 8 years ago
Jordi Boggiano a242f7e9ba Use process component instead of passthru, fixes #5501 8 years ago
Jordi Boggiano 7bcd336c95 Disable plugins across the board when --no-plugins is specified, fixes #5509 8 years ago
moyo c4ac59601f Update related docs and config definitions 8 years ago
Jordi Boggiano e53119f806 Make use of pretty version for new references, refs #5328 8 years ago
Jordi Boggiano 44ddcf4da7 Merge remote-tracking branch 'slbmeh/feature/version-status' 8 years ago
bohwaz abcbef4a67 Add Fossil support to Composer 8 years ago
Pierre du Plessis 6a557e45b8 Added --type option to search 8 years ago
Jordi Boggiano 151ed2a0e5 Merge pull request #5392 from donatj/master
Adds --no-suggest to install and update commands
8 years ago
Steve Buzonas 576721946c show pretty version in both scenarios 8 years ago
Steve Buzonas 7b6e06c686 normalize version to provide consistent output from package version vs vcs version 8 years ago
Steve Buzonas 64afdcc2aa remove var_dump 8 years ago
Sven Gerlach 4fd35baf1f Added --no-scripts InputOption for RemoveCommand 8 years ago
Sven Gerlach 28b88dd675 Added --no-scripts InputOption for RequireCommand 8 years ago
Jesse Donat b108ed9484 Adds --no-suggest to UpdateCommand 8 years ago
Jesse Donat cbfd81dc99 Adds flag to allow suggestions to be skipped 8 years ago
Jordi Boggiano 04ae1584dc Add docs about package type to prompt, fixes #5378 8 years ago
Jordi Boggiano 57ae6d97b6 Merge branch '1.1' 8 years ago
Jordi Boggiano c47b302a3c Reset composer before loading the modified json, fixes #5346 8 years ago
Steve Buzonas d0c009edf2 fix issue where path repositories would be matched oddly 8 years ago
Steve Buzonas 758e7cab53 fixed issue where detatched head would give null output 8 years ago
Steve Buzonas 8d766c8eb2 cleaner implementation of status output with support for path repositories 8 years ago
Mathias Brodala d9909993b2 Add --prefer-stable and --prefer-lowest to "require" command
Fixes #5314
8 years ago
Bilal Amarni 92207da83a add isProxyCommand() to BaseCommand 8 years ago
Jordi Boggiano 352e467f16 Always show abandoned packages in --outdated as they are outdated in a way 8 years ago
Jordi Boggiano 2bcd723b54 Fix regression in global command, fixes #5266 8 years ago
Kamran Ahmed 78a8a02978 Ignore the unfound packages 8 years ago
Jordi Boggiano 6146f7aded Take into account prefer-stable and dev packages when computing outdated, refs #5251 8 years ago
Jordi Boggiano 2a3b56e82c Fix constraint parsing bug in outdated, fixes #5251 8 years ago
Jordi Boggiano 4319435154 Make sure the --no-plugin is documented as available everywhere and not redefined 8 years ago
Jordi Boggiano fd5f90989f Add --all to oudated command and switch it to show only outdated by default, fixes #5253 8 years ago
Jordi Boggiano 135783299a Add support for editing top level properties and extra values, replaces #2415, fixes #1411, fixes #2384 8 years ago
Jordi Boggiano 3186b5eeca Avoid using the full pretty version for comparisons, fixes #5247 8 years ago
Jordi Boggiano 7def8cf6e5 Refactor to use ArrayInput instead of StringInput 8 years ago
Jordi Boggiano aabe21d84d Add --direct and --outdated flags to ShowCommand & OutdatedCommand, fixes #5240 8 years ago
Jordi Boggiano 17f23f5c43 Write abandoned warning on stderr to avoid breaking the flow of the list 8 years ago
Jordi Boggiano 6c94cb89d1 Fix outdated command on linux 8 years ago
Jordi Boggiano 313dd14f1e Add coloring to the colors 8 years ago
Jordi Boggiano c5f734dbf9 Merge remote-tracking branch 'barryvdh/show-latest' 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 9206c646a2 Merge remote-tracking branch 'barryvdh/show-outdated' 8 years ago
Jordi Boggiano b6680b6f2a Fix why-not command to dig deeper when it is given a specific version it checks installed packages against that version's requirements 8 years ago
Jordi Boggiano f13e0f975f Add --no-secure-http flag to temporarily disable secure-http in create-project installation of the root package, fixes #5121 8 years ago
Jordi Boggiano 467ece15ed Skip regex engine when not necessary 8 years ago
Jordi Boggiano 21a9f21cc8 Add package filtering in show command, fixes #5212, closes #5215 8 years ago
Jordi Boggiano fc33e0835e Merge branch '1.0' 8 years ago
Michael Aherne 830644f374 Observe COMPOSER environment variable in init command 8 years ago
Jordi Boggiano 30ef73f7b2 Merge branch '1.0' 8 years ago
Peter Rehm bdd90a49c4 Show channel even if there is no new version on the current channel 8 years ago
Jordi Boggiano b31052fcde composer status now includes untracked files in git repos, fixes #2664 8 years ago
Jordi Boggiano dabad42cf9 Show channel used to perform self-update 8 years ago
Jordi Boggiano 3b0a1c6f70 Run cs fixer and update config to latest master 8 years ago
Jordi Boggiano b9ce06f46b Minor tweaks, refs #5162 8 years ago
Jordi Boggiano da9b43dcc8 Merge remote-tracking branch 'curry684/code-quality' into 1.0 8 years ago
Jordi Boggiano 6df85163f4 Make use of global platform config if available, and improve error reporting, fixes #5165 8 years ago
David Zuelke cf43244f85 fix config add/remove/unset/merge for bitbucket 8 years ago
Niels Keurentjes eb77c0b7f5 phpDoc cleanup, removed unused imports, variables and parameters. 8 years ago
Niels Keurentjes 818c3e707a Ton of phpDoc fixes. 8 years ago
Niels Keurentjes e6f21137ad Undefined or default return points fixed. 8 years ago
Jordi Boggiano 2c9326bacb Merge remote-tracking branch 'wenkepaul/master' 8 years ago
Paul.Wenke 59ae2716aa Fixed typo in exception message for Bitbucket config command. 8 years ago
Jordi Boggiano 95c263284a Merge pull request #5064 from Seldaek/update-channels
Add update channels support to self-update and diagnose
8 years ago
vlakoff 47d196f37f Fix missing argument for getLastBackupVersion() 8 years ago
Jordi Boggiano e0fa2ed9c6 Merge remote-tracking branch 'vlakoff/clean-backups' 8 years ago
Barry vd. Heuvel fd46c7e4ba Reduce line length 8 years ago
Barry vd. Heuvel 54d86ebfc9 Use latest package for deprecations, cache latest packages 8 years ago
Barry vd. Heuvel 80be9a2c98 Add deprecated notice to show command 8 years ago
Barry vd. Heuvel ac606e4dc1 Add recommended version to show command 8 years ago
Jordi Boggiano 0db8bbfda3 Add update channels support to self-update and diagnose, fixes #4960 8 years ago
Jordi Boggiano e8abc90b92 Merge pull request #5026 from curry684/issue-4392
Simulate dummy Composer when searching in uninitialized folder
8 years ago
Niels Keurentjes a2d2c4ddd5 Simulate dummy Composer when searching in uninitialized folder, fixes #4392 8 years ago
Niels Keurentjes fbbde23fb3 Improved error message when adding a package that is disallowed by PHP version, fixes #4686 8 years ago
vlakoff f7757c606d Move instruction to delete corrupted file 8 years ago
vlakoff 9532a0129c Correct error message to match actual behavior 8 years ago
vlakoff 93e08fd78e Also clean backups if no Composer update actually performed 8 years ago
vlakoff 496d29a793 Move code to new method cleanBackups() 8 years ago
vlakoff 4b79ca6ba2 Remove duplicate variable 8 years ago
Jordi Boggiano 8344c6d3d7 Merge pull request #4993 from hkdobrev/create-project-suggests
List project suggestions in create-project command
8 years ago
Paul Wenke d5332a1b5c Developed bitbucket-oauth functionality. 8 years ago
Jordi Boggiano 3933a7f404 Add conflict detection in why-not, fixes #5013 8 years ago
Jordi Boggiano a15779cf53 Fix issue handling false children in why-not command 8 years ago
Haralan Dobrev cc389d6c1a List project suggestions in create-project command
Resolves https://github.com/composer/composer/issues/2752
8 years ago
Rick Guyer 2a35486d7d Check for --ignore-platform-reqs flag during create-project
During `create-project`, the installed PHP version was used to determine
the best root package install candidate, but failed to take into account
the `--ignore-platform-reqs` flag.
8 years ago
Jordi Boggiano 3cea62b6ed Merge pull request #5001 from curry684/issue-4999
Show -t incorrectly expanded self.version constraints. Fixes #4999
8 years ago
Jordi Boggiano bf283cee66 Merge pull request #5002 from barryvdh/change-remove-deps
Make remove with dependencies default
8 years ago
Niels Keurentjes 1017ab817f Corrected parameter handling. 8 years ago
Barry vd. Heuvel eae6d8017a Make remove with dependencies default 8 years ago
Niels Keurentjes a3b2628748 Show -t incorrectly expanded self.version constraints. Fixes #4999 8 years ago
Jordi Boggiano 27e1c4358e Fix show/depends commands to display and abort when a circular dep was reached, fixes #4983 8 years ago
Jordi Boggiano b93b73e836 Rewrite git unpushed status checks, fixes #4987 8 years ago
Jordi Boggiano 8cfbe7023d CS fixes 8 years ago
Jordi Boggiano 4b0624a93a Fix regression in create-project 8 years ago
Jordi Boggiano bf1ddaa298 Fix method name for php5 8 years ago
Jordi Boggiano 1aec1c1fc8 Add --repository flag to init command, and rename --repository-url to --repository in create-project, fixes #4200, closes #4207, closes #2604, fixes #2920 8 years ago
Jordi Boggiano b6b2635f42 Merge pull request #4970 from barryvdh/list-installed-default
Change default behavior of show/list to --installed by default
8 years ago
Jordi Boggiano 0ed5b541a9 Fix CS 8 years ago
Niels Keurentjes b059cbe37c Removed unused variables and includes, fixed functions being called with more arguments than declared. 8 years ago
Barry vd. Heuvel 2d2affdf56 Keep --installed option for BC 8 years ago
Barry vd. Heuvel 5fdb4c8af3 Make --installed default for show/list 8 years ago
Jordi Boggiano 823266407f Rollback changes in case the installer fails in remove/require commands, fixes #3464 8 years ago
Jordi Boggiano b9a3ef73c0 Allow skipping author, fixes #4969 8 years ago
Jordi Boggiano 269e545921 Make sure we can probe http requests, fixes #4965 8 years ago
Jordi Boggiano 249d97f7cb Fix undefined var 8 years ago
Jordi Boggiano be4d385942 Fix uncommitted change detection, refs #3633 8 years ago
Jordi Boggiano 9f4f8a9578 Merge remote-tracking branch 'greg0ire/improve-status-for-unpushed-branches' 8 years ago
Jordi Boggiano 12b860733f -v should not show everything twice, refs #4846 8 years ago
Jordi Boggiano 44cfad36b7 Merge remote-tracking branch 'curry684/sort-suggestions' 8 years ago
Jordi Boggiano cd3c3ac56d Merge pull request #4843 from remicollet/issue-diagphar
skip diag. which are only for phar mode
8 years ago
Jordi Boggiano 04a1085d47 Rename new flag to --root-reqs, refs #4938 8 years ago
Jordi Boggiano f039407420 Merge remote-tracking branch 'davidbarratt/issue/4729' 8 years ago
Jordi Boggiano 79b7f5f77a Merge remote-tracking branch 'cinamo/issue-4777' 8 years ago
Jordi Boggiano 35d26db704 Add docs for exec command, refs #4887 8 years ago
Jordi Boggiano 934be204a2 Simplify exec implementation and add full PATH support, refs #4887 8 years ago
Jordi Boggiano f4f66be6f6 Merge remote-tracking branch 'dshafik/add-exec-command' 8 years ago
Rob Bast a245c4618b php-cs-fixer 8 years ago
Rob Bast dc2f201152 add trailing / and updated diagnose command 8 years ago
Jordi Boggiano 00d12526ec Restore OutputInterface type hint 8 years ago
Jordi Boggiano d7855d03c7 Fix some formatting and prettify the tree, refs #4917 8 years ago
Jordi Boggiano f681dbc51e Merge remote-tracking branch 'curry684/rewrite-depends' 8 years ago
Jordi Boggiano c9436438ff Add memoization to parseConstraints, saves some (6-7% here) RAM and marginal CPU time 8 years ago
David Barratt df8675f6c3 Fix variable name. 8 years ago
David Barratt 93b246e681 Use single quotes insted of double and fix typo 8 years ago
David Barratt 63cb357a6e Clean up coding standards 8 years ago
David Barratt 28599b22f6 Add the --root-require option to the update command 8 years ago
Peter Michaux 32eb156153 add example showing alternate syntax for specifying version 8 years ago
Niels Keurentjes 22a6f6c612 phpdoc consistency. 8 years ago
Niels Keurentjes 75bb0d9b10 Implemented Prohibits and Depends correctly now. 8 years ago
Niels Keurentjes 692a3ed300 Renamed Composer\Console\Command to BaseCommand for consistency with other abstract base classes. 8 years ago
Niels Keurentjes 9bc2ee02e4 Process feedback, code cleanup. 8 years ago
Jordi Boggiano 1716a346e6 Add mbstring/iconv check, fixes #4929 9 years ago
Jordi Boggiano 93501a5e3f Merge pull request #4920 from curry684/issue-4918
Add a --timeout parameter to run-script to override default timeout
9 years ago
Niels Keurentjes 4fe063b2e5 Added missing deprecation warning in create-project. 9 years ago
Niels Keurentjes 126e71a991 Adds a --timeout parameter to run-script to override default timeout. 9 years ago
Niels Keurentjes 86374034b6 Removed unnecessary state from Depends command. 9 years ago
Niels Keurentjes 9b41495353 Options added and cleaned up. 9 years ago
Niels Keurentjes e38fe67333 Rewrote DependsCommand 9 years ago
Jordi Boggiano d9a7d4c93a Merge pull request #4850 from astehlik/issue-validate_event
Trigger event in validate command
9 years ago
cinamo ef60478926 Added secure-http flag, defaults to true 9 years ago
Niels Keurentjes 93ce87a84e Prefer 'editor' on a system that supports alternatives. 9 years ago
Jordi Boggiano 2609cfdd1d Always set bin-dir into PATH before calling scripts, fixes #4852, closes #4898 9 years ago
Niels Keurentjes 990c07e4db Merge branch 'master' of https://github.com/composer/composer into sort-suggestions 9 years ago
Davey Shafik 43551bc537 Add `composer exec` command 9 years ago
Jordi Boggiano 101fca9071 Merge pull request #4837 from cs278/openssl-version-warning
Warning if OpenSSL does not support TLSv1.2
9 years ago
Niels Keurentjes 0dab63e050 Unified all Windows tests throughout the code. 9 years ago
Jordi Boggiano d93f7b8a10 Remove warnings for non-writable dirs, refs #3588 9 years ago
Niels Keurentjes b20cc22ebb Improved output of SuggestsCommand by correctly filtering installed platform requirements if suggested. 9 years ago
Alexander Stehlik 298e7a218a Trigger event in validate command
This allows plugins to run additional validations.
9 years ago
Jordi Boggiano 49d7d65933 Add verbosity input support to IOInterface 9 years ago
Niels Keurentjes 1b97d07bca Processed PR feedback 9 years ago
Niels Keurentjes d6589ac151 Rewrote SuggestsCommand 9 years ago
Remi Collet 3a750193fd skip diag. which are only for phar mode 9 years ago
Chris Smith 0a25bb0bf3 Simplify for PHP 5.3 9 years ago
Niels Keurentjes b1de2c52a3 Add --no-plugins option to remove/require 9 years ago
Chris Smith 3979abc638 Add warning if OpenSSL does not support TLSv1.2 or TLSv1.1 9 years ago
Rob Bast f829a160fb use a proper tmp directory
this test failed on OSX before, trying to create a directory at the root of the filesystem
9 years ago
Jordi Boggiano 1818b95149 CS fixes 9 years ago
Niels Keurentjes c2e768b8ad Made Silencer invocations safer against exceptions. 9 years ago
Niels Keurentjes 76c1645a0e Merge remote-tracking branch 'upstream/master' into issue-4203 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 c5cb2327cf Merge remote-tracking branch 'bamarni/config-repo-options' 9 years ago
Jordi Boggiano 5b41eaad3a Bundle pubkeys and fail hard if validation can not happen 9 years ago
Jordi Boggiano f4bcf7590b Fix array syntax 9 years ago
Jordi Boggiano 3ef22258e5 Add key fingerprints for easier comparison and debugging via diagnose 9 years ago
Jordi Boggiano a9be7c83f1 Add verification of signatures when running self-update 9 years ago
Bilal Amarni e727f9f5fe [Config command] allow to pass options when adding a repo 9 years ago
Rob Bast c1488f65bf a quick stab at adding capath 9 years ago
aude 0a662a7e42 Remove unused import in UpdateCommand 9 years ago
Jordi Boggiano 96ff17c520 Cleanups of XDG support, refs #1407 9 years ago
Jordi Boggiano 3e9efcfb85 Merge remote-tracking branch 'ntoniazzi/master' 9 years ago
Jordi Boggiano d7c61c50ad Merge branch 'tls-config' 9 years ago
Jordi Boggiano a0398286ba Wording fixes 9 years ago
Jordi Boggiano d2e97eecb2 Replace preg_match by strpos 9 years ago
Jordi Boggiano 03299ff075 Suggest https in docs where it makes sense, closes #4056 9 years ago
Jordi Boggiano fc4d94f160 Code clarity and updates from the getcomposer.org installer 9 years ago
Jordi Boggiano 86a911150b Update bundled CAfile and other cleanups 9 years ago
Jordi Boggiano f8dff0867c Remove --disable-tls/--cafile flags and rely solely on config options plus some wording clarifications 9 years ago
Jordi Boggiano 5d015defb8 Merge remote-tracking branch 'origin/master' into tls-config 9 years ago
Jordi Boggiano 633e9f91a1 Small tweaks for consistency, refs #3639 9 years ago
Jordi Boggiano 721acf3c93 Merge remote-tracking branch 'SofHad/update-interactive' 9 years ago
Jordi Boggiano e8bc9232e0 Add explanation about match args in the "no installed package" output, refs #4663 9 years ago
Jordi Boggiano 42cb3dafc4 Merge remote-tracking branch 'Soullivaneuh/depends-replaces' 9 years ago
Jordi Boggiano 4fbf15e6d6 Tweaks and add new args to docs, refs #4663 9 years ago
Jordi Boggiano 9e42eedf1f Merge remote-tracking branch 'Soullivaneuh/depends-match-constraint' 9 years ago
Jordi Boggiano 47b05eab7a Fix type errors 9 years ago
Jordi Boggiano dbe7f34181 Allow depend command to show results for platform packages, fixes #3836, fixes #4696 9 years ago
Jordi Boggiano fd7267e4ad Show overridden versions (as well as original) in composer show -p 9 years ago
Jordi Boggiano 1a8aedaa9d Assume -i when running composer show --tree without arg 9 years ago
hanov.ruslan b298b9e8c6 Added sort-packages into config 9 years ago
Jordi Boggiano 29312be4df Strict typing fixes 9 years ago
Sullivan SENECHAL e0031ed4a2 Add match-constraint options to depends command 9 years ago
Sullivan SENECHAL 0eb7e2f216 Add --with-replaces option on depends command 9 years ago
Michal Gebauer ce74477899 Configuration of GitLab driver 9 years ago
Sullivan SENECHAL d8975b5cb1 Depends command: Add phpdoc blocks for IDE completion 9 years ago
Jordi Boggiano dc06276179 Remove publish errors from diagnose command output, fixes #4652 9 years ago
Jérémy Romey 94daedde06 Fixed typo in the ShowCommand 9 years ago
Jordi Boggiano 9b8a14179b Only list tree of packages required by root and not every installed package individually, refs #2600 9 years ago
Jordi Boggiano e6e636802f Add support for a simplified pure ASCII version of the tree view, refs #2600 9 years ago
Jordi Boggiano 92ad33d11e Undo some invalid merges and simplify code a little bit, refs #2600 9 years ago
Jérémy Romey 36271a7dd1 Added a tree view of required packages 9 years ago
Jordi Boggiano 966a982738 CS fixes 9 years ago
Jordi Boggiano c0b49d09f3 Merge remote-tracking branch 'cw-ozaki/no-script-dump-autoload'
Conflicts:
	src/Composer/Autoload/AutoloadGenerator.php
	src/Composer/Command/DumpAutoloadCommand.php
9 years ago
Jordi Boggiano dbcf8cae13 Fix depends command to also show when the root package depends on something 9 years ago
Jordi Boggiano f5e0fc14b3 Clarify some error messages, fixes #3770 9 years ago
Jordi Boggiano 4b269f4ded Follow stability option in create-project to select the best possible version, refs #4563 9 years ago
Jordi Boggiano 2a8a9a4592 Revert "Issue #2384 allow 'prefer-stable' and 'minimum-stability' to be set via composer config command"
This reverts commit ed23b1c4db.
9 years ago
Jordi Boggiano ef2856ef55 Take php version into account for create-project command version selection 9 years ago
Jordi Boggiano 8cd6598d8d Simplify php version fetching 9 years ago
Jordi Boggiano 615638c7c3 Simplify bin-compat by removing the nosymlink option, refs #3704 9 years ago
Jordi Boggiano c9b51a5751 Merge remote-tracking branch 'kocsismate/feature-bin-compat' 9 years ago
Jordi Boggiano 507415e404 Make VersionSelector prefer stable by default and allow specifying a PHP version that must be matched, fixes #4318 9 years ago
Boris Momčilović b05b52ff7e InstallationManager: notifyInstalls: append authorization header for repository 9 years ago
npiderman ed23b1c4db Issue #2384 allow 'prefer-stable' and 'minimum-stability' to be set via composer config command 9 years ago
Jordi Boggiano a54f84f05f Merge pull request #4479 from MakiCode/feature#4397
Added --file flag: Feature#4397
9 years ago
MakiCode 63ede6c9dd Fixed issues with PR 9 years ago
Rob 7a9eb02190 Merge pull request #4455 from samsaggace/config_archive
Enable command line configuration for archive-dir and archive-format
9 years ago
Nicolas Toniazzi b6df8549cd Merge remote-tracking branch 'parent/master'
Conflicts:
	src/Composer/Factory.php
9 years ago
MakiCode 0d00338bdb Added better messages and fixed bugs 9 years ago
MakiCode 87b5af60a8 Almost finished adding --file option, need to add unit test 9 years ago
Jordi Boggiano 790a941cba Merge pull request #4470 from alcohol/fix-config-lookup
itteratively expand key and attempt to match
9 years ago
Rob Bast 7bd0c5abdd itteratively expand key and attempt to match
fixes #4459 (also)
9 years ago
Jordi Boggiano 5ccaad92c1 Merge remote-tracking branch 'alcohol/weird-config-listing-issue' 9 years ago
Rob Bast 2dbad30336 fixes #4459 9 years ago
Sebastien Chemin 3896a6c263 Enable cmdline configuration for archive-dir and archive-format
Examples of commands :
composer config --global  archive-dir $HOME/.composer/repo
composer config --global  archive-format zip
9 years ago
Jordi Boggiano ce08582671 Fix CS 9 years ago
Rob Bast ddb1c1e052 these 2 use parseNameVersionPairs 9 years ago
Rob Bast a1427d7fd6 replace all occurences in code and comments 9 years ago
Jordi Boggiano 41a87a3ae7 Adjust file path output, refs #4379 9 years ago
Jordi Boggiano 9b61b808ec Merge remote-tracking branch 'javihgil/master' 9 years ago
Jordi Boggiano 9f2e562e48 Add --strict flag to validate command to treat warnings as failures as well, refs #3202 9 years ago
Jordi Boggiano e61b3a6370 Allow the validate command to validate dependencies with -A/--with-dependencies, refs #3202 9 years ago
Jordi Boggiano 1e8d7255b7 Fix access to undefined var, refs #4422 9 years ago
Jordi Boggiano 8913ac2fff Merge pull request #4362 from bd808/classmap-authoritative-cli
Add cli argument for classmap-authoritative
9 years ago
Olivier Laviale cc522c20bb Optimized this->getIO() 9 years ago
Grégoire Paris 9e30c9b403 use different exit codes for different errors 9 years ago
James Titcumb d85bad29d6 Warn about unpushed changes
`composer status` now prevents overwriting Git package if changes have not been pushed.
9 years ago
Javi Hernández dd7243fc01 Archive command shows created package path 9 years ago
Bryan Davis 71cb587611 Add autoloader cli options to `require` and `remove`
Update the `composer require` and `composer remove` commands to support
the `--optimize-autoloader` and `--classmap-authoritative` cli options
and associated configuration settings. All cli entry points that invoke
`Installer::run()` or `AutoloadGenerator::dump()` now have consistent
support for these autoloader optimization flags.
9 years ago
Bryan Davis cc2b9cfca5 Add cli argument for classmap-authoritative
Add a `--classmap-authoritative (-a)` argument to `composer install`,
`composer update` and `composer dumpautoload`. This enables the same
authoritative classmap behavior as the existing `classmap-authoritative`
configuration setting. The option can be used for creating highly
optimized production autoloaders via `composer install --no-dev
--optimize-autoloader --classmap-authoritative` for projects where
multiple autoloaders are present and unnecessary `file_exists` calls
introduce performance issues.

Closes #4361
9 years ago
Jordi Boggiano 65bb8d99f4 Fix global switch regression on config command, fixes #4344 9 years ago
Jordi Boggiano 5a26b7c102 Merge pull request #4299 from webberwu/master
show change if package directory have changed to symbolic link
9 years ago
Jordi Boggiano 4824b4504e Remove typo 9 years ago
Jordi Boggiano b16c5fbeb9 Shorten ternary and reuse config file instead of the null argument to figure out path to auth.json 9 years ago
Tehem 9e592f19a1 Used shorthand version for ternary operator 9 years ago
Thomas Marcon b35e762354 Updated configFile parsing to first look into -f parameter, then COMPOSER environment variable, then default to composer.json 9 years ago
Tehem 9392adef79 Fixes #4302 allow COMPOSER env with config statements (overrides --file) 9 years ago
Webber Wu 92530e374b Merge remote-tracking branch 'upstream/master' 9 years ago
Kocsis Máté 87c16073ec Merge branch 'master' of https://github.com/composer/composer into feature-bin-compat 9 years ago
Rob Bast 5ae9e7fe22 remove spdx files, introduce external library 9 years ago
Andreas Möller 5828f6202d Enhancement: Also validate lock file 9 years ago
Jordi Boggiano 0964c02acb Use only one level of verbosity 9 years ago
Jordi Boggiano 5ba41514a9 Merge remote-tracking branch 'alcohol/add-suggests-command' 9 years ago
Kunal Mehta f634c6946d Update callers of VersionParser::formatVersion()
Tests were moved to BasePackageTest.
9 years ago
Jordi Boggiano 6a64041055 CS fixes 9 years ago
Andreas Möller eac5fbdee4 Fix: Remove unused imports 9 years ago
Rob Bast 3dffdc8705 don't suggest packages already installed 9 years ago
Rob Bast 680082c5fe output based purely on verbosity 9 years ago
Rob Bast 33f78b2ccc limit suggestions to optional list of packages 9 years ago
Rob Bast 760eeb0b03 reworked suggests command 9 years ago
Gusakov Nikita f1af16984e [Command] Add suggests command 9 years ago
Nicolas Toniazzi 7d63eb5718 Merge remote-tracking branch 'parent/master'
Conflicts:
	doc/04-schema.md
9 years ago
Jordi Boggiano e727ed4d73 --keep-vcs should only imply prefer source for the root package in create-project, refs #4063 9 years ago
Jordi Boggiano c8eca6f198 Remove pool usage from ArchiveCommand 9 years ago
Jordi Boggiano 049f84f21f Remove unnecessary Pool usage in HomeCommand 9 years ago
Nils Adermann 75c501251d Revert "Merge remote-tracking branch 'naderman/load-no-providers'"
This reverts commit 3e85f82373, reversing
changes made to b025d0982b.
9 years ago
Jordi Boggiano 3e85f82373 Merge remote-tracking branch 'naderman/load-no-providers' 9 years ago
Jordi Boggiano b025d0982b Remove some state 9 years ago
Thibault Jamet 25ab752ca6 Map archive command to the archive configuration 9 years ago
Jordi Boggiano 6d15ad08b6 Add http check even if openssl is present, refs #4084 9 years ago
Barys Biankouski a59c46f781 [create-project] If process terminated with SIGINT then 130 IMO will be returned. Remove unused variable 9 years ago
Barys Biankouski 38bc4e6a78 Added Ctrl+C support to create-project command for unix-like systems 9 years ago
Rob Bast dfbee6a532 cleaner solution 9 years ago
Rob Bast 7a50225389 disable path if no composer available, fixes #4101
gracefully remove the option and continue, after informing the user
9 years ago
Jordi Boggiano 98b339e87a Make --keep-vcs imply --prefer-source, closes #4063 9 years ago
Jordi Boggiano 48d8cc6465 Avoid errors when invoking composer global config and there is no global composer.json yet, refs #4002 9 years ago
Possum 29ca21f30e PHP version checks tweaking 9 years ago
Nils Adermann ec5416f03c loadDev parameter is nonsense, properly load packages in create command 9 years ago
Possum 2e99b9fdf5 Use https where possible 9 years ago
Cees-Jan Kiewiet c9d9b5085a Replaced <error> with <warning> for abandoned package as it reflects the intention of this feature better 9 years ago
Rob Bast acd1486406 Mark method as @private 9 years ago
Rob Bast e810a7913e Space after ? (so it doesnt glue answer to ?) 9 years ago
Rob Bast 0fbc00f3fb Switch to QuestionHelper 9 years ago
Rob Bast 290fafa156 Docs and whitespace 9 years ago
Rob Bast bef46a17dc Moved method 9 years ago
Rob Bast 3dae4cd517 Switch to QuestionHelper 9 years ago
Rob Bast 00fcd63c04 Remove redundant helper 9 years ago
Jordi Boggiano a57c51e8d7 Finalize platform override feature
- Added tests, docs
- Persist to lock file
- Add support in config command
- Added to json schema
9 years ago
Marc Bennewitz ff1ce78e6b fixes #3976: drop ext/ctype dependency 9 years ago
Jordi Boggiano 35a9b5dbf9 Merge pull request #3953 from alcohol/allow-numeric-author-name
Allow numeric author name
9 years ago
Evan Mattson ec9eb2b799 update init type question 9 years ago
Evan Mattson 5ed001765f allow package type to be set with init command 9 years ago