1017 Commits (64d29dc6dc01bd1edb38425648a62c1d762daaf9)

Author SHA1 Message Date
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
Rob Bast c7d387f599 Allow numeric characters 9 years ago
Jordi Boggiano 921b3a0eba Fix regression with non-SPDX licenses in show command, refs #3885 9 years ago
Jordi Boggiano 99694a0381 Merge pull request #3940 from phansys/ticket_3859
[bugfix] Fixed undefined var in DiagnoseCommand::execute().
9 years ago
Jordi Boggiano 4aa431025b Merge pull request #3845 from vlakoff/empty-composer.json
Avoid parser error if composer.json existing but empty
9 years ago
Javier Spagnoletti 294185d1d3 [bugfix] Fixed undefined var in DiagnoseCommand::execute(). 9 years ago
Jordi Boggiano 6b3178b169 Merge remote-tracking branch 'isoroku/fix-misspellings'
Conflicts:
	doc/articles/handling-private-packages-with-satis.md
9 years ago
Jordi Boggiano dbfd47eeca CS fixes 9 years ago
Jordi Boggiano 3a06e6f036 Merge pull request #3885 from jakoch/patch-spdx
updated spdx-license handling to include metadata
9 years ago
Javier Spagnoletti 5b2a7e6bad [bugfix] Updated ```DiagnoseCommand::execute()``` and ```DiagnoseCommand::getGithubRateLimit()```
| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #3859
| Doc PR        | none

Fixes #3859.
9 years ago
jakoch 74a077dd3d updated spdx-license handling to include metadata
issue https://github.com/composer/composer/issues/3744

summary of changes
- replaced bin script "fetch-spdx-identifiers" by "update-spdx-licenses"
- "update-spdx-licenses" uses "Composer/Util/SpdxLicensesUpdater" to update "spdx-licenses.json" file with license identifier, fullname and osi-approved-status
- dropped "spdx-identifiers.json" (identifiers only)
- dropped "SpdxLicenseIdentifier", it's just "SpdxLicense" now
- modified "ShowCommand" to output the license with metadata and removed some unused method arguments (cleanup)
9 years ago
Jordi Boggiano ab3622dff1 Merge pull request #3365 from WouterJ/patch-1
Updated validator
9 years ago
isoroku e0657b60a2 Fix misspellings 9 years ago
vlakoff d5ab072ec1 Optimize check for empty file 9 years ago
vlakoff 3a68534d20 Fix parser error if composer.json existing but empty 9 years ago
Jordi Boggiano b80038804f Fix env override regression, fixes #3820 9 years ago
Francis Besset 4f57fafb8d [create-project] Used no progress value for dependencies 9 years ago
Jordi Boggiano b098a2fdde Fix clear cache when a dir does not exist, fixes #3810 9 years ago
Kunal Mehta 05e196893b Add --no-check-publish option to "composer validate"
This is useful when you want to use composer to manage dependencies, but
don't actually want your project to be installable as a composer package.

Any issues that would prevent publishing are still shown, but as a warning
instead of an error.
9 years ago
Jordi Boggiano d5feea83b6 Sync up diagnose command with the installer 9 years ago
Jordi Boggiano e0ce559838 Merge remote-tracking branch 'alcohol/write-errors-to-stderr'
Conflicts:
	src/Composer/Command/LicensesCommand.php
9 years ago
Jordi Boggiano 182cfbc249 Merge remote-tracking branch 'SofHad/licenses'
Conflicts:
	src/Composer/Command/LicensesCommand.php
9 years ago
Christian Flothmann fa3ea2a626 remove unused method argument
Unlike the `TableHelper`, the `render()` method of the `Table` class
does not make use of an `$output` argument. The actual `OutputInterface`
to send the table to is passed in the constructor instead.
9 years ago
Rob Bast cb336a5416 Implement writeError throughout Composer 9 years ago
Jordi Boggiano 84d4594278 Merge remote-tracking branch 'alcohol/update-tablehelper-to-table' 9 years ago
Jordi Boggiano 3cff4a3bb9 Check for homepages in local repo first if available to make the home command faster 9 years ago
Jordi Boggiano 3efed220a6 Clean up event dispatching code and make package events extend installer events 9 years ago
Rob Bast 3dd93c91b8 TableHelper is deprecated, switched to Table 10 years ago
Jordi Boggiano 5744981795 Merge pull request #3702 from alcohol/feature/list-scripts
Added --list to run-script command, closes #3671
10 years ago
Jordi Boggiano 0e977e3fde Add more docs to config command 10 years ago
Rob Bast 47d75f77d5 Let's be gentle and allow FALSE too 10 years ago
Rob Bast ef92a06205 composer config repositories.packagist false
closes #3728, closes #3713, closes #3290, not sure about #3025
10 years ago
Rob Bast a34335a9bb github deprecation changes
- added some tests
- minor bug fixes discovered during testing
- resolved two deprecations (rate limit api and authorizations api)
- added some more comments to make the flow more understandable
10 years ago
Kocsis Máté d7437f19ad Changed config key order 10 years ago
Kocsis Máté f503ee2f4e Adding composer config bin-compat command 10 years ago
Rob Bast 1b10740473 Added --list to run-script command, closes #3671 10 years ago
Jordi Boggiano 07c644ac22 Merge remote-tracking branch 'alcohol/modify-diagnose-output' 10 years ago
Rob 27d211096c chmod 644 src/Composer/Command/RemoveCommand.php 10 years ago
Nicolas Toniazzi 865eab602f Merge remote-tracking branch 'parent/master'
Conflicts:
	src/Composer/Factory.php
10 years ago
SofHad f9777bc70a Check if input is interactive 10 years ago
SofHad 1a82ecad91 Refactor the loop + add private method isInteractive 10 years ago
Jordi Boggiano b39e0a271f Merge pull request #3517 from WouterJ/patch-2
Added deprecated warning for the dev option
10 years ago
Padraic Brady 939a4aa9c2 Get tests running to prep for fixes 10 years ago
Padraic Brady 510ec6b91c A couple of minor omissions from the merge 10 years ago
Padraic Brady 19e24c5804 Merge branch 'master' into tls-config
Conflicts:
	.travis.yml
	doc/03-cli.md
	src/Composer/Command/ConfigCommand.php
	src/Composer/Command/CreateProjectCommand.php
	src/Composer/Command/DiagnoseCommand.php
	src/Composer/Command/InstallCommand.php
	src/Composer/Command/RequireCommand.php
	src/Composer/Command/SelfUpdateCommand.php
	src/Composer/Command/ShowCommand.php
	src/Composer/Command/UpdateCommand.php
	src/Composer/Config.php
	src/Composer/Downloader/FileDownloader.php
	src/Composer/Factory.php
	src/Composer/Repository/ComposerRepository.php
	src/Composer/Repository/PearRepository.php
	src/Composer/Repository/Vcs/VcsDriver.php
	src/Composer/Util/GitHub.php
	src/Composer/Util/RemoteFilesystem.php
10 years ago
Jordi Boggiano 27ce5ec336 Merge pull request #3688 from jeremy-derusse/improve-selfupdate-chmod
Reuse current file permissions in selfupdate
10 years ago
Nils Adermann 71f83599bb Merge pull request #3592 from SofHad/show-homepage
Only show instead of open the repository or homepage URL
10 years ago
shaddag 0b2a31a89d suppress the prefix 10 years ago
Jérémy Derussé e7f4014018 Reuse current file permissions 10 years ago
Wouter J 32218e97d1 Added deprecated warning for the dev option 10 years ago
Nils Adermann 0543a32d39 Merge pull request #3610 from bd808/feature/classmap-authoritative
Add classmap-authoritative config setting
10 years ago
Dmitry Tarasov e047ca9944 #3665 fix exception message coding style 10 years ago
Rob Bast cdcf39b2f0 Don't show download progress 10 years ago
Dmitry Tarasov 506d923e7c #3663 fix error message for config command 10 years ago
Rob Bast 4038477a7f Missed a - 10 years ago
Rob Bast 5b8f9b0390 Altered output of diagnose
- added some docblocks
- added rate limit check for users that have no oauth token configured
- made it 'scream' less (yellow text instead of yellow background)
- reformatted the php ini checks slightly to be more condensed
10 years ago
SofHad dd9e208bc7 update the logic 10 years ago
Alexander Schwenn 395903863b Add 'info' alias for 'show' command 10 years ago
Wouter J 3bf1ee939b Fixed validator to accept 'a/b' and 'a/b ~2.3' 10 years ago
SofHad 6fff09c82a Simplified questionnaire 10 years ago
Carsten Brandt 7e3f4805c0 Updated the documentation of the require command
It did not mention that it is possible to leave out the version constraint.
10 years ago
SofHad aca619e130 Interactive interface with autocompletion 10 years ago
Webber Wu 261a31c149 show change if package directory have changed to symbolic link 10 years ago
Jordi Boggiano c58b7d917c Disable progress when no-ansi is specified, refs #3612 10 years ago
Bryan Davis ad1f8e6c5a Add classmap-authoritative config setting
Add a "classmap-authoritative" configuration setting that can be used to
disable searching the various prefix and fallback directories for
classes that have not been registered with the
Composer\Autoload\ClassLoader class map. This setting can be used to
optimize performance by avoiding a potentially large number of
`file_exists` calls when Composer is being used in a program with
additional autoloader facilities. Use of the setting implies
"optimize-autoloader" to ensure that the most complete class map
possible is generated.

Closes #3603
10 years ago
Jordi Boggiano ddc1d377d7 Merge pull request #3601 from SofHad/unused-parameters
Suppress unused parameters in HomeCommand
10 years ago
Jordi Boggiano 8d0c1a14b3 Add --ignore-platform-reqs to create-project, refs #1426 10 years ago
SofHad 5c43485e57 Suppress unused parameters in HomeCommand 10 years ago
Jordi Boggiano 095dc61295 Rename runAutoloader to dumpAutoloader, refs #3453 10 years ago
Jordi Boggiano b8f4960f0d Merge remote-tracking branch 'mattsah/master' 10 years ago
SofHad 844b57bf7f Fixed render method 10 years ago
SofHad dc9429c82a Remove deprecated TableHelper and update table style 10 years ago
SofHad c93305a805 To show instead of open the repository or homepage URL 10 years ago
Jordi Boggiano c54d6f93e3 Add --absolute to resolve absolute paths in config command, otherwise set default back to relative 10 years ago
Nicolas Toniazzi ad9c3d3b30 Merge branch 'master' of https://github.com/composer/composer
Conflicts:
	src/Composer/Factory.php
10 years ago
Rob Bast 47fd093a44 added --no-progress to self-update
closes composer/composer#3555
10 years ago
Nicolas Grekas 98b254a3ec split update --prefer-lowest and --prefer-stable 10 years ago
Nicolas Grekas 4a0feb0189 add --prefer-lowest-stable to update command 10 years ago
Andreas Möller 6ddd8d4ec7 Enhancement: Add sort-packages option which allows sorting of packages 10 years ago
Jordi Boggiano 3ff8bcffea Allow loading of real composer repos by local path, fixes #1899 10 years ago
Jordi Boggiano d8f043e12c Remove object state from methods to simplify things, refs #3385 10 years ago
Jordi Boggiano dc6da039d5 Merge remote-tracking branch 'gimler/licenses_no_dev' 10 years ago
Jordi Boggiano d249d0c121 Reset composer to load the new requirements, fixes #3511 10 years ago
Nils Adermann 859c8f5bb3 Use the repositories configured in composer.json for the require command 10 years ago
Douglas Greenshields fac3e135e3 fix typo 10 years ago
Nicolas Toniazzi 83a1441285 Added support for backup PHARs 10 years ago
Matthew J. Sahagian 55b2afe9ad Expose no autoloader option to update command 10 years ago
Matthew J. Sahagian 198ac7bc5b Expose no autoloader option to install command 10 years ago
Nils Adermann 6f4be698a5 Merge pull request #3325 from rdohms/implementing-abandoned-packages
Abandoned Package Warnings
10 years ago
Olivier Laurendeau b6b3cf3a49 Add ignore-platform-reqs option to require command 10 years ago
Olivier Laurendeau 6784570691 Add ignore-platform-reqs option to remove command 10 years ago
d060631 cfa8432a60 add no-dev option to licenses command 10 years ago
Jordi Boggiano 94926218e8 CS fixes 10 years ago
Jordi Boggiano 751190aafd Add new github-expose-hostname to docs/schema/config command, refs #3164 10 years ago
Jordi Boggiano 9c32f24cfc Remove original indent if present, fixes #3143 10 years ago
Jordi Boggiano ec0463a400 Add tests for platform packages required by root and avoid creating rules altogether instead of disabling them, refs #3320 10 years ago
Jordi Boggiano 71976a638c Merge remote-tracking branch 'alu/ignore-ext-require'
Conflicts:
	src/Composer/Installer.php
10 years ago
Jordi Boggiano 4bdd7adc55 Merge pull request #3319 from desyncr/bugfix/missing-default-author-value-validation
Fix missing validation on default value for author input
10 years ago
alu b7fa302b90 add ignore-platform-package-requirements for update/install commands. 10 years ago
Jordi Boggiano 73e9db5d99 Fix the problem at the source, refs #3322 10 years ago
Jordi Boggiano 5c42cc8c8c Merge remote-tracking branch 'AydinHassan/hotfix/init-virtual-packages' 10 years ago
Jordi Boggiano df7c8915fa Skip notification about matches found in case we have an exact match, refs #3261 10 years ago
Jordi Boggiano d4062a5594 Merge remote-tracking branch 'kayladnls/kayla' 10 years ago
Christophe Coevoet 4685b4bf49 Fixed the resetting of the json file on removal failures
Closes #3329
10 years ago
Jordi Boggiano 2e1373b339 Update require message and delete empty file at the end in case of failure, fixes #3260 10 years ago
Rafael Dohms 5ed01fb60d Abandoned support in `show`
Executing `composer show` on an abandoned package displays the warnings for package status.
10 years ago
Jordi Boggiano 1e4229e22a Adjust APC check, refs #264 10 years ago
Aydin 432cdbcb31 Allow to select virtual packages 10 years ago
DC* c698aa3a2b Fix missing validation on default value for author input
The default author value on the composer init command is not validated against `parseAuthorString` method and thus not being re-prompted, finally throwing an InvalidArgumentException when it tries to generate the composer.json file.

The changes forces the validation of both the entered author string or the default value.
10 years ago
Jordi Boggiano 391a5390f2 Typo fix, cheers @rdlowrey 10 years ago
frederik d1d40502bf ProcessExecutor::escape 10 years ago
frederik 7ae1430689 #3297 ProcessUtil class using ProcessUtil of Symfony Console 10 years ago
Jordi Boggiano b7b0901f87 Allow using new code in the init command and avoid initializing the composer instance too early, refs #3096 10 years ago
Jordi Boggiano cf75ec7763 Merge remote-tracking branch 'weaverryan/require-version-select' 10 years ago
Jordi Boggiano 2cb64c8a72 Merge pull request #3175 from Petah/clear-cache
Clear all the caches
10 years ago
Ryan Weaver 895e62e859 Refactoring selection of the "recommended" version (e.g ~1.2) and adding some tests
This also modifies the behavior slightly (from a recommendation by seldaek) to always
propose the minor version of the recommendation (e.g. ~1.2 instead of ~1.2.1).
10 years ago
Ryan Weaver aea2e901a9 Extracting logic into a new class related to selecting the latest version
Also refactored InitCommand slightly so that you can use this "latest version"
functionality when searching for a package as well.
10 years ago
Ryan Weaver 26179cc4b4 [#2492] Prefixed real versions with ~ when guessing the latest version
2.1.0 > ~2.1.0
v2.1.0 -> ~2.1.0
dev-master -> dev-master
10 years ago
Ryan Weaver 58535a62fa [#2492] Automatically using the latest version when requiring a package
This applies to the init and require commands.

Previously:

If you ommitted the version of a library, it prompted you to enter a version.

New Behavior:

If you omit the version, it automatically selects the latest version that is consistent
with your minimum-stability flag.

Is Jordi mentions, this is consistent with how npm works.
10 years ago
Ryan Weaver 947db97e33 [#2492] Removing an unused variable and use statement, fixing phpdoc 10 years ago
Kayla Daniels ec758d95b0 updated package variable in gathering requirements 10 years ago
Jordi Boggiano a8adbfeb9f Disallow overriding commands with scripts 10 years ago
David Neilsen 957f498419 Update clear cache command to be more verbose 10 years ago
cw-ozaki d649cfc6a1 Add --no-scripts argument for dump-autoload command 10 years ago
David Neilsen be5eae5852 Clear all the caches 10 years ago
Jordi Boggiano 4f5d979bee ArchiveCommand improvements 10 years ago
Jordi Boggiano cec1627acf Add top level aliases for nonstandard scripts and allow parameter passing, refs #2516 10 years ago
Jordi Boggiano d9d8d09fe1 Add support for local binaries in scripts, refs #2516 10 years ago
Jordi Boggiano 33cedda708 Merge remote-tracking branch 'MaxGfeller/run-script-enhancement' 10 years ago
Jordi Boggiano b6ef95ecb8 Add support for opening multiple packages at once, refs #2445 10 years ago
Jordi Boggiano 22afc074a9 Add browse command to docs, add a -H flag and tweak fallback mechanism to maximize chances of opening something, refs #2445 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 e3f32a79f3 Finalize and bring up to speed the remove command, refs #2479 10 years ago
Jordi Boggiano 70d9cad549 Merge remote-tracking branch 'pierredup/remove-command'
Conflicts:
	src/Composer/Console/Application.php
10 years ago
Nils Adermann ea6917c87a Merge pull request #3034 from Petah/clear-cache
Add clear cache command.
10 years ago
Jordi Boggiano e77435cd0c Skip apc check for hhvm, fixes #3081 10 years ago
Maximilian Reichel 845ebdcfd4 alter command help to explain glob usage
hey there! using globs for whitelisting packages is (imo) a very useful feature worth being explained to the user ;)
10 years ago
Jordi Boggiano ac497feaba CS fixes 10 years ago
Jordi Boggiano d97e00643f Fix typo 10 years ago
Jordi Boggiano e890d1bc59 Remove use of glob, fixes #3042 10 years ago
David Neilsen 7fe3426991 Clean up unused 'use' statements 10 years ago
David Neilsen 075c85dd48 Fix typo in src/Composer/Command/ClearCacheCommand.php 10 years ago
David Neilsen 421c9453a4 Add clear cache command. 10 years ago
Jordi Boggiano 56c5af8dc4 realpathGlob tweaks, refs #2932 10 years ago
Richard Quadling 443858dae7 Force all glob results to be realpath'd. 10 years ago
Jordi Boggiano 959cc4d63c Add info about conf file loading to debug output 10 years ago
Stephan Hochdörfer 493ebbaacb Fix to load the auth information before the root package gets installed. 10 years ago
Jordi Boggiano 90d1b6e08a Rename basic-auth to http-basic, add docs/schema/config support, add local auth file support, add storage to auth.json, add store-auths config option, refs #1862 10 years ago
Jordi Boggiano b6981d09e8 Fix handling of origin url in composer repository class 10 years ago
renatbilalov ee142688e1 Corrected description of the option --optimize (-o) 10 years ago
Jérôme Macias 4f417e3985 Add --no-check-all option to composer validate command 10 years ago
Jordi Boggiano 3251f9f1aa Only check phar validity if phar.readonly is false 10 years ago
Jordi Boggiano b437c1cc05 Support github auth directly in the RemoteFilesystem class 10 years ago
Nils Adermann 1e4df0690a Shorter boolean conversion 10 years ago
Nils Adermann e93eeca13a Merge pull request #2894 from naderman/update-no-dev
Add an --update-no-dev option to the require command
10 years ago
Nils Adermann a2b227740a Add an --update-no-dev option to the require command 10 years ago