Jordi Boggiano
bafdf9f705
Merge branch '1.10'
4 years ago
Nicolas Grekas
893fbfcb89
Add support for "extra.branch-version"
4 years ago
Jordi Boggiano
24abd233ec
Merge branch 'master' into code-improvements
4 years ago
Jordi Boggiano
0775e261c5
Merge remote-tracking branch 'lstrojny/apcu-prefix'
4 years ago
Jordi Boggiano
09ef026d43
Remove OperationInterface::getReason, closes #9230 , closes #9263
4 years ago
Jordi Boggiano
03b8c3db3f
Merge branch '1.10'
4 years ago
Jordi Boggiano
6698e0bafa
Merge remote-tracking branch 'naderman/version-guess-remotes' into 1.10
4 years ago
Nicolas Grekas
f9913205dd
Fix VcsRepositoryTest
4 years ago
Nils Adermann
89afb823b6
VersionGuesser: Add test for remote version guess
4 years ago
Nils Adermann
92722a9a4c
VersionGuesser: Fix root package loader test which relies on git cmd in guesser
4 years ago
Nils Adermann
db2f09a361
VersionGuesser: Update tests to match new git command generated
4 years ago
Simon Berger
80d71ccb3f
Merged isset, unset and str_replace calls
4 years ago
Michael Telgmann
a4509d28e7
Introduce constants for Composer\Package\Link types
4 years ago
Simon Berger
80a75e9959
Minor code improvements
4 years ago
Lars Strojny
0b6abf3b96
APCu prefix as a separate option
4 years ago
Lars Strojny
de0085767c
Sanitize prefix
4 years ago
Lars Strojny
dafd225a35
Allow to pass a string for apcu-autoloader to set the APCu prefix
4 years ago
Jordi Boggiano
d942c65e0c
Fix more warnings
4 years ago
Jordi Boggiano
1593b67230
Fix warnings on higher phpunit versions
4 years ago
Simon Berger
f3936b82cd
Added test to cancel ProcessExecutor::asyncExecute
4 years ago
Nils Adermann
976fcd2eb4
PoolBuilderTest: Add case for multiple repositories and partial update with replace
4 years ago
Nils Adermann
6c4ed247dd
Add a pool builder test for replaces across multiple repos
4 years ago
Nils Adermann
1385412748
Merge branch 'master' into filter-packages
...
* master:
Add tests for edge cases of packages providing names which exist as real packages
Add another test verifying that a package may provide an incompatible version of sth that actually exists
Fix provider coexistence test, needs another requirement to install both
Fix test filename to end with .test extension so it gets run
Update config section to note required scope for GitLab tokens
Fix pre/post-package-install/update/uninstall events receiving a partial list of operations, fixes #9079
Also remove credentials from cache dirs in git/svn drivers, fixes #7439 , refs #9155
AuthHelper: Allow fall-through GitLab-specific HTTP headers for auth
Sanitize repo URLs to mask HTTP auth passwords from cache directory
Util/Zip: fix strpos args order
4 years ago
Nils Adermann
43093d0eeb
Add tests for edge cases of packages providing names which exist as real packages
4 years ago
Nils Adermann
140665eadd
Add another test verifying that a package may provide an incompatible version of sth that actually exists
4 years ago
Nils Adermann
85950f8e9a
Fix provider coexistence test, needs another requirement to install both
4 years ago
Nils Adermann
cf8ff2a75d
Fix test filename to end with .test extension so it gets run
4 years ago
Nils Adermann
c9201b8e40
PoolBuilderTest: Allow setting filter options for repositories
4 years ago
Nils Adermann
fcb9ef4899
Allow defining multiple reppos in pool builder tests
4 years ago
Ayesh Karunaratne
931a1ff1f8
AuthHelper: Allow fall-through GitLab-specific HTTP headers for auth
...
Previously, `AuthHelper` consumed the authentication credentials for GitLab domains and added access tokens as GitLab-specific headers.
[Composer repositories now supported in GitLab](https://php.watch/articles/composer-gitlab-repositories ) require standard Authorization headers with a personal access to function, which failed to work due to out GitLab-specific headers.
With this commit, AuthHelper checks if the password is an access token, and falls through to HTTP basic authentication even if the domain name is a GitLab domain name.
4 years ago
Jordi Boggiano
9a04ecefbf
Merge branch 'master' into filter-packages
4 years ago
Jordi Boggiano
6186c7f36f
Fix handling of root aliases in partial updates, fixes #9110
4 years ago
Jordi Boggiano
448daea696
Add support for detecting packages not matching only due to minimum stability
4 years ago
Jordi Boggiano
4d83783641
Fix test to avoid network usage
4 years ago
Oleg Andreyev
e745e59656
updated repositories-priorities4.test
4 years ago
Oleg Andreyev
f262feebec
fixing error message for higher repository priority, when higher repo has only a dev-branch
4 years ago
Lars Strojny
3e750b69f4
Fix name
4 years ago
Lars Strojny
a83588f568
The proper fix
4 years ago
Lars Strojny
99fd5c7b49
Add tests
4 years ago
Jordi Boggiano
4d20e6f5d6
Move Version util to Platform namespace, fix CS nitpicks, make regexes case insensitive for robustness, refs #9093
4 years ago
Jordi Boggiano
7e1ef19a5a
Expand library version checking capabilities ( closes #9093 )
4 years ago
Wissem Riahi
657ae5519e
Add support for TAR in Artifact packages ( #9105 )
4 years ago
Jordi Boggiano
00f712a7c4
Revert "Allow specifying a version requirement for CLDR"
4 years ago
Jordi Boggiano
7bcde1481d
Fix git downloader syntax for windows cmd when updating packages, fixes #9089
4 years ago
Lars Strojny
5a02ea6a96
Check that class exists
4 years ago
Lars Strojny
404dea61c2
Allow specifying a version requirement for the relevant CLDR
4 years ago
Jordi Boggiano
d8fa746433
Merge pull request #9058 from Seldaek/zip-cleanup
...
Clean up Zip Util to be more strict about what is a valid package archive
4 years ago
Wissem Riahi
c353ac835c
Add exception for multiple composer.json files ( #3 )
4 years ago
Jordi Boggiano
22367a68f9
Avoid loading same packages multiple times
4 years ago
Jordi Boggiano
23339e44b8
Fix alias tests to use default-branches
4 years ago