859 Commits (1b97d07bcad6e44c52fb9d7bde98955d5c51659d)

Author SHA1 Message Date
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
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