Lucas D Hedding
3e2163de5c
#8809 : expand context for post file download event
4 years ago
Jordi Boggiano
3f338ee8d9
Make sure versions are sorted before they get trimmed in error output
4 years ago
Jordi Boggiano
424c08d6b2
Fix bug loading ~dev in some circumstances
4 years ago
Jordi Boggiano
b3f46979b0
Merge pull request #8802 from kubawerlos/command-validate-no-check-version
...
Add "no-check-version" option to ValidateCommand
4 years ago
Jordi Boggiano
c12a1a6d64
Update flag description
4 years ago
Kuba Werłos
a54bf0e2d4
Use flags instead of boolean in ConfigValidator for checking version field
4 years ago
Kuba Werłos
4ec73874cb
Add "no-check-version" option to ValidateCommand
4 years ago
Jérôme Tamarelle
bd34ff1328
Remove unused property $httpDownloader
4 years ago
Jordi Boggiano
80a7c40c76
Shorten long lists of similar versions in problem output, fixes #8743
4 years ago
Jordi Boggiano
5b54a93751
Fix phpstan build
4 years ago
Jordi Boggiano
44a4429978
Remove PEAR installer/downloader/repos/..., fixes #8778
4 years ago
Nils Adermann
5e9bf532c1
Merge pull request #8786 from Seldaek/unused-flag
...
Add --unused flag to remove command
4 years ago
Lucas Hedding
1883832ddc
Provides a post download event ( #8655 )
4 years ago
Jordi Boggiano
11765ddfea
Add --unused flag to remove command, fixes #8283
4 years ago
Jordi Boggiano
6bed9d8f13
Implement count and search correctly in FilterRepository
4 years ago
Jordi Boggiano
a0c5d519e9
Restore --no-suggest but mark it deprecated, remove --no-custom-installers and mark --dev also deprecated with stronger wording
4 years ago
Markus Staab
3819b02fea
added phpstan types to `CompletePackageInterface` ( #8782 )
4 years ago
Alexandre D'Eschambeault
e0e2bb11a5
Fix typo: directory instead of directoy
4 years ago
Jordi Boggiano
be1ddcf293
Fix handling of svn trunk in version guesser, fixes #8765
4 years ago
Jordi Boggiano
876136022b
Merge remote-tracking branch 'origin/1.10'
4 years ago
Jordi Boggiano
19902ba6a9
Merge pull request #8772 from villfa/fix/8771
...
Dispatch POST_STATUS_CMD even when there is no changes
4 years ago
Jordi Boggiano
2e7ace238a
Merge pull request #8767 from cebe/package-name-double-dash
...
Allow duplicate dashes in package names (1.10)
4 years ago
Jordi Boggiano
7d3f45cf04
Avoid errors in cleanup, fixes #8766 , fixes #8764
4 years ago
Jordi Boggiano
62fda2ed85
Reorg ComposerRepository to fix tests
4 years ago
Jordi Boggiano
048781c268
Fix whatProvides function declaration
4 years ago
Jordi Boggiano
3dd6dbe14a
Merge pull request #8774 from Ayesh/https
...
Update HTTP URLs to their HTTPS if they already redirect automatically
4 years ago
Jordi Boggiano
4ea6b1ef55
Make all params non-optional
4 years ago
Ayesh Karunaratne
fdb35a6a06
Fix \Composer\Installer\PackageEvent::__construct() and \Composer\Repository\ComposerRepository::isVersionAcceptable() required arguments used after optional, which is deprecated in PHP 8.0
...
1. `Deprecated: Required parameter $name follows optional parameter $constraint in src\Composer\Repository\ComposerRepository.php on line 745`
2. `Deprecated: Required parameter $operation follows optional parameter $operations in src\Composer\Installer\PackageEvent.php on line 73`
Optional parameters with a type declared, and a default value of `null` is excepted from this deprecation. See https://php.watch/versions/8.0/deprecate-required-param-after-optional . This is the case in `ComposerRepository::isVersionAcceptable`, which still has two optional parameters as first two parameters, but this will not raise a deprecation notice.
4 years ago
Ayesh Karunaratne
280f02b4bc
Update HTTP URLs to their HTTPS if they already redirect automatically
4 years ago
Fabien Villepinte
c718579623
Dispatch POST_STATUS_CMD even when there is no changes
4 years ago
Carsten Brandt
960fa4b205
Allow duplicate dashes in package names
...
fixes #8749
1.10 implementation of #8750
4 years ago
Jordi Boggiano
40a35abb94
Resolve options when creating requests to fix 5.3 build
4 years ago
Jordi Boggiano
4cb74d33e6
Forward default HttpDownloader options to RemoteFilesystem/CurlDownloader, fixes #8757
4 years ago
Jordi Boggiano
86cfbdc541
Merge branch '1.10'
4 years ago
Jordi Boggiano
2f7e901940
Fix #8748 in an alternative way to avoid messing with PATH for other binaries, fixes #8758
4 years ago
Jordi Boggiano
b3dbd95332
Fix PHP <5.6 syntax, fixes #8759 , closes #8760
4 years ago
Jordi Boggiano
a7ad186c89
Return early in case a call to the wrapped repo is unnecessary
4 years ago
Jordi Boggiano
096b507050
Merge branch '1.10'
4 years ago
Jordi Boggiano
e121de35a3
Fix variable used for symlinking absolute paths, refs #8700
4 years ago
Jordi Boggiano
f70b3b0152
Avoid warning about --2 usage when no channel is requested
4 years ago
Jordi Boggiano
8e664a37f5
Merge branch '1.10'
4 years ago
Jordi Boggiano
b79f2b5e0f
Make sure scripts calling composer call the correct composer binary even if the project requires composer/composer, fixes #8748
4 years ago
Jordi Boggiano
ccc8829ed9
Allow forcing self-update to stick to 1.x or 2.x using --1 and --2 flags, fixes #8753
4 years ago
Jordi Boggiano
28d26bd3a4
Merge pull request #8755 from Seldaek/repo-filtering
...
Add options to configure repository priorities
4 years ago
Markus Staab
6f6974df70
added phpdocs ( #8754 )
4 years ago
Jordi Boggiano
b6bad4eef6
Add options to configure repository priorities
4 years ago
Jordi Boggiano
59c831c2f8
Add docs to loadPackages
4 years ago
Jordi Boggiano
e34a2a9f45
Remove unused used vars
4 years ago
Jordi Boggiano
8b0da77a1d
Make sure cleanup is called for every package in case any operation fails to execute
4 years ago
Jordi Boggiano
55f122008b
Make sure we avoid cleanup running more than once per package on VcsDownloader
4 years ago
Matthias Van Woensel
067101dbf5
Only send GitHub API token to api.github.com domain ( #8747 )
4 years ago
Jordi Boggiano
0aaa815268
Merge branch '1.10'
4 years ago
Bingqing Wang
46db638678
fix typo
4 years ago
Bingqing Wang
63eb178297
compatible with symfony/console 5.0.0 getVerticalBorderChars() method
4 years ago
Jordi Boggiano
aa6be02c64
Allow COMPOSER_DISABLE_NETWORK to work with GitHubDriver by doing a cache priming pass first
4 years ago
Jordi Boggiano
9575c7623f
Update changelog, add upgrade guide
4 years ago
Jordi Boggiano
ee09b75be3
Clean ups
4 years ago
Jordi Boggiano
8930f1b824
Add color to lock operations and dry run output
4 years ago
Jordi Boggiano
2e64e8dc2e
Avoid generating duplicate aliases in lock file if several aliased packages are installed
4 years ago
Jordi Boggiano
64f907f93f
Fix handling of aliases to use consistent format everywhere
4 years ago
Jordi Boggiano
a695f686c3
Add some docblocks and make sure RepositorySet/PoolBuilder accept regular rootAliases and not pre-normalized ones
4 years ago
Markus Staab
593d5abf27
use more precise phpstan/psam return-types ( #8744 )
4 years ago
Jordi Boggiano
736af4cb58
Add with-all-dependencies and update-with-all-dependencies args to remove command
4 years ago
Jordi Boggiano
52d1b52eb6
Merge branch '1.10'
4 years ago
Jordi Boggiano
11999118a5
Avoid failing on malformed funding info, fixes #8731
4 years ago
Jordi Boggiano
a8eec36931
Merge branch '1.10'
4 years ago
Jordi Boggiano
96c1ba279a
Add infos about plugin install failure
4 years ago
Markus Staab
c30925e68d
extracted `VersionParser::DEV_MASTER_ALIAS` ( #8742 )
4 years ago
Jordi Boggiano
b166ef4b58
Fix more phpstan errors
4 years ago
Jordi Boggiano
bbc4854452
Merge pull request #8740 from renanbr/patch-1
...
Remove duplicated `dry-run` option
4 years ago
Jordi Boggiano
80505e745e
Fix phpstan issues
4 years ago
Adam Žurek
25cd2382cb
Raise phpstan level to 1 ( #8027 )
4 years ago
Nils Adermann
cb68fc3134
Merge pull request #8690 from Seldaek/solver-problems
...
Error reporting improvements
4 years ago
Jordi Boggiano
d34ea60c48
canonicalize providers api url
4 years ago
Jordi Boggiano
3e19e3b0f1
Show alias of version in package lists in problems
4 years ago
Jordi Boggiano
7cca451312
Fix more issues with dev-master normalization in aliases
4 years ago
Jordi Boggiano
e09dd9c10d
Detect packages which are only available in lock file and warn appropriately
4 years ago
Jordi Boggiano
8945936dbd
Deduplicate solver problems which list problems for dev-master AND 9999999-dev
4 years ago
Renan
c4a3e912a1
Remove duplicated `dry-run` option
4 years ago
Nils Adermann
415b36a1a1
Remove match types from Pool as these are no longer used
4 years ago
Nils Adermann
80a5fdf398
Remove obsolete rules and their generation
...
The only automatic conflict we have results from packages using the same name
either by literally having the same name and being different versions or they
replace the same name, so
- removed all types of obsolete rules
- simplified rule generation significantly
- got rid of provide filtering in the pool
- fixed some language in error handling
4 years ago
Nils Adermann
4e3d989978
A package providing a name should not conflict with a package replacing it
...
Simplified whatProvides, mustMatchName is unused, removed unused
function from policy
4 years ago
Jordi Boggiano
2b86df4003
Add a hint about being on v2 when things go wrong
4 years ago
Jordi Boggiano
87757de6bc
Merge branch '2.0'
4 years ago
Jordi Boggiano
1c73f078f7
Remove repository field from getProviders result
4 years ago
Nils Adermann
4fab2c7759
Error wording use "thus cannot" instead of "can thus not"
4 years ago
Jordi Boggiano
51c48b1519
Merge pull request #8729 from naderman/t/partial-update-always-update-replace
...
Give a clearer error message explaining how to update a conflicting locked dependency
4 years ago
Nils Adermann
9858718ef6
Give a clearer error message explaining how to update a conflicting locked dependency
4 years ago
Jordi Boggiano
4e7ff690c6
Revert lock file as well when a require command operation failed to complete
4 years ago
Nils Adermann
1b55b466fb
require: Add with-dependencies and with-all-dependencies as alternative option names
4 years ago
Jordi Boggiano
379baa1560
Merge pull request #8717 from naderman/t/pool-builder-allow-list
...
Move processing of partial update argument list into the pool builder
4 years ago
Nils Adermann
f7b5cbd1fc
Lock file should not contain new aliases for packages which were not updated
4 years ago
Nils Adermann
5ad93959cf
PoolBuilder: On partial update of a new dep with mutual replace, unfix replacer
...
Test also verifies provider does not get uninstalled in partial update
for another package name
4 years ago
Nils Adermann
613450e58a
PoolBuilder: properly clean up alias packages when unfixing packages
...
Prevent aliases to be duplicated: no need to apply root aliases from
composer.json on packages currently locked, they should have their
aliases in the lock file, otherwise request an update.
4 years ago
Nils Adermann
2dfbf3692a
PoolBuilder: Remove null default for io
4 years ago
Nils Adermann
14000e7575
PoolBuilder: Ensure alias references get removed when unfixing a locked package
...
Use the last key + 1 for an index instead of count, since we unset elements somtimes
4 years ago
Nils Adermann
c270d3cfa6
PoolBuilder: make io non-nullable, NullIO can be used instead
4 years ago
Nils Adermann
71c3c63b54
Remove unused variable assignment
4 years ago
Nils Adermann
9fb09049ff
Rename and document constants for partial update behavior
4 years ago
Jordi Boggiano
22a52f5813
Apply suggestions from code review
...
Co-Authored-By: Andreas Möller <am@localheinz.com>
4 years ago