160 Commits (01fe92905aeb2928318dffe1188dc73cb4213c0f)

Author SHA1 Message Date
Jordi Boggiano 2f4ea3a463
Fix show command, refactor RepositorySet constructor 4 years ago
Jordi Boggiano 8584d15e8c
Merge branch 'master' into 2.0 4 years ago
Patrick Weyck 7d7e3d594b Normalize minimum-stability `rc` to `RC` in `InitCommand`
A `minimum-stability` of `rc` is valid according to
`composer-schema.json` and works fine with install and update and
generally in version comparisons, because it's normalized to `RC`.

This commit makes it work in `InitCommand` and `RequireCommand` too.
5 years ago
Jordi Boggiano 13f1924892
Merge branch 'master' into 2.0 5 years ago
Jordi Boggiano e4b495ca16
Fix 5.3 build 5 years ago
Jordi Boggiano a5b178084c
Merge branch 'master' into 2.0 5 years ago
Jordi Boggiano 669033f1e7
Collect existing packages only once, refs #8372 5 years ago
Jordi Boggiano c0714e5ff8
Merge remote-tracking branch 'xy2z/has-package-name' 5 years ago
xy2z a91c946e27 Hide not-yet installed packages from "require" and "init" suggestions 5 years ago
Nils Adermann 97ec2d7b61 Merge remote-tracking branch 'github-composer/2.0' into solve-without-installed
* github-composer/2.0: (63 commits)
  Fix PSR warnings for optimized autoloader, refs #8397, refs #8403
  Prepare 1.9.1 changelog
  Output a hint that maybe you are not in the right directory, fixes #8404
  Fix PSR warnings for optimized autoloader, refs #8397, refs #8403
  Fix tests for PSR-fix in optimized autoloader, refs #8397
  Fix tests for PSR-fix in optimized autoloader, refs #8397
  Change PSR-fix for optimized autoloader to only warn for now, refs #8397
  Fix output of dump-autoload command to avoid interfering with warnings, refs #8397
  Remove credentials from git remotes in cache and vendor dirs
  Avoid overwriting credentials with existing ones from git repos, refs #8293
  Fix github auth to try https with pwd also, fixes #8356
  Fix gitlab support for basic-auth fallback from ssh URLs
  Avoid clearing the error output during removeDirectory execution, losing git error output, fixes #8351
  Move test file parsing into try/catch block to avoid phpunit swallowing errors
  make optimized autoloader respect PSR standards
  Validate composer show with --tree and --path options set (#8390)
  Don't show root warning for docker containers
  Added phpdoc for ComposerAutoloaderInit$SHA1::getLoader() (#8393)
  Validate schema name, type and version
  Fix require command to allow working on network mounts, fixes #8231
  ...
5 years ago
Nils Adermann bf99f1a341 Fix RepositorySet constructor calls to use new signature 5 years ago
Jordi Boggiano bc2a1d762a
Merge branch 'master' into 2.0 5 years ago
xy2z 1a0d5dfacd Now using findPackage() instead of HasPackageName() 5 years ago
Jordi Boggiano 78b8c365cd
Merge branch '1.9' 5 years ago
xy2z a8abdd9639 Hide installed packages from suggestions when package is not found 5 years ago
Alexander M. Turek 146aa4938f Command::execute() should always return an integer. 5 years ago
Nikita Konstantinov e3b6c67a44 Provide `--fixed` option for the `require` command, fixes #8303 5 years ago
Jordi Boggiano 6c4357a7ed
Merge branch 'master' into 2.0 5 years ago
Jordi Boggiano 3f5e4f0399
Add support for defining a {"packagist.org":false} repo in composer init, fixes #8210 5 years ago
Jordi Boggiano 0317199507
Merge branch 'master' into 2.0 5 years ago
Markus Staab c876613d5c Added "Read more at" links to all commands (#8019) 5 years ago
Jordi Boggiano d96d046209
Fix require of platform packages with --ignore-platform-reqs, fixes #8012 5 years ago
Jordi Boggiano b89720b52a Merge branch 'master' into 2.0 5 years ago
Jordi Boggiano a9aaa25d4c Fix compat with Symfony Process 4.2, fixes #7923 5 years ago
Jordi Boggiano 411dd51f20 Merge branch 'master' into 2.0 6 years ago
Jordi Boggiano b3cbfea36e Merge branch '1.7' 6 years ago
Jordi Boggiano acdf8f83f1 Bypass version check for explicitly versioned packages in require command when --no-update is given, fixes #7800 6 years ago
Jordi Boggiano 6e6fb844dd Avoid validating package name if it has a newline at the end 6 years ago
Shalvah 42e88ac27a Add interactive option to install dependencies after running init command (#7521)
* Add interactive option to install dependencies after running init command

* Only ask to install dependencies when dependencies where defined
6 years ago
Nils Adermann 5c491ecc9b
Merge pull request #7625 from naderman/repository-set
Separate RepositorySet from Package Pool, load only metadata of packages directly required
6 years ago
Nils Adermann 1228bcdffc Internalize pool creation in repository set, store root aliases in set
The pool is still exposed too early in a few places which will require
further refactoring
6 years ago
Nils Adermann 6ef65e5319 Add a new RepositorySet class and restrict pool usage to the solver
Breaking change for the plugin interface so bumping the version of
composer-plugin-api to 2.0.0

First step for a refactoring of the package metadata loading mechanism
6 years ago
Gabriel Caruso 71c8735e11 Use combined assignment operators 6 years ago
Jordi Boggiano ff59bbdab0 CS fixer 6 years ago
Jordi Boggiano c5fa3bdde0 Migrate to repo.packagist.org for package metadata 6 years ago
Jordi Boggiano 2bd34c0534 Merge branch '1.6' 6 years ago
Jordi Boggiano 5460e5d86f Respect current PHP version when figuring out requirements for init command, fixes #7257 6 years ago
Jordi Boggiano 9f34ee9892 Merge branch '1.6' 7 years ago
Jordi Boggiano a61a8d78b1 Fix warning for packages not existing while they exist but not at the required stability, fixes #7044 7 years ago
Gabriel Caruso 3d262bd637 Fixes from PHPStan level 0
More fixes from PHPStan level 0
7 years ago
Jordi Boggiano ab8437ce06 Merge remote-tracking branch 'swumao/feature-6892' 7 years ago
Jordi Boggiano 8a50345df7 Follow ignore-platform-reqs when checking for package requirements, fixes #6859 7 years ago
闫兴茂 e4bb306dfc Fix for CI 7 years ago
闫兴茂 1c0a494c72 Update findBestVersionForPackage method to support return package name 7 years ago
Jordi Boggiano c8aea719b1 CS fixes 7 years ago
Jordi Boggiano 3e1b0c88d7 Merge branch '1.5' 7 years ago
Jordi Boggiano 00f6c0a44a Fix issue when requiring multiple packages once without and once with explicit version, fixes #6859 7 years ago
Jordi Boggiano 224d272a0e Merge branch '1.5' 7 years ago
Jordi Boggiano 3976d9f242 Fix require command picking of specific versions, fixes #6859 7 years ago
Jordi Boggiano 755482ddb1 Merge branch '1.5' 7 years ago