Jordi Boggiano
e85da00dff
Add a way to ignore only some packages in --ignore-platform-reqs, and make the platform check ignore those packages which were ignored as requirements, fixes #8861
4 years ago
Jordi Boggiano
21e708f2c4
Remove upper bound PHP version checks from platform-check as there is not enough value added and it risks causing issues
4 years ago
Jordi Boggiano
a07f9ffba9
Catch SIGINT/Ctrl+C during installs and run cleanups on all packages before exiting
4 years ago
Jordi Boggiano
385655f02a
Mark temp files as such for clarity in case any gets left over
4 years ago
Jordi Boggiano
acf2b15982
Merge branch '1.10'
4 years ago
azjezz
30f994e424
fix deprecations in PHP 8
4 years ago
Jordi Boggiano
c7fb15faf4
Update to MatchAllConstraint
4 years ago
Jordi Boggiano
45d3e133a4
Avoid checking for unbounded constraints in platform checks
4 years ago
Jordi Boggiano
62d0443e07
Avoid checking for readline in non-CLI contexts, fixes #8909
4 years ago
Jordi Boggiano
d42e12c514
Make config non optional, fixes #8896
4 years ago
Jordi Boggiano
b27c4b2472
Merge branch '1.10'
4 years ago
Timo Webler
541692bbfe
Use "getInitialWorkingDirectory" instead of "getWorkingDirectory"
...
Follow-up 8d24b61bef
4 years ago
Jordi Boggiano
1d2df5ef55
Add output to remove/require command to highlight the fact it is running an update command, refs #8910
4 years ago
Jordi Boggiano
af6444353f
Refactor hint generation and whitespace handling in SolverProblemsException
4 years ago
Jordi Boggiano
98e5f81a5f
Fix detection of fixed package problems to include more cases, fixes #8910
4 years ago
Jordi Boggiano
beded906ba
Merge branch '1.10'
4 years ago
Jean-Michel DELEHAYE
42fc372e52
Add function_exists() for 'pcntl_signal'
4 years ago
Matěj Kmínek
a074819a51
Add support for gitlab deploy token ( #8867 )
...
* feat: Added ability to work with GitLab deploy tokens: https://docs.gitlab.com/ee/user/project/deploy_tokens/
Deploy tokens can be specified two ways:
1) GIT CONFIG:
git config --add gitlab.deploytoken.user USERNAME && git config --add gitlab.deploytoken.token TOKEN
2) Auth.json:
"gitlab-token": {
"gitlab.com": {"username": "USERNAME", "token": "TOKEN"}
}
4 years ago
Jordi Boggiano
1ef352751c
Fix display issue in create-project when installing dev-master
4 years ago
Jordi Boggiano
ba3df8faea
Merge pull request #8843 from FIDATA/feature/archive-name
...
Add (default) base name of archive into composer.json
4 years ago
Jordi Boggiano
dd0c8b4278
Merge pull request #8723 from helhum/fix-package-sorting
...
Fix package sorting
4 years ago
Jordi Boggiano
3134466b42
Merge branch '1.10'
4 years ago
Jordi Boggiano
4ce492d01d
Fix detection of gitlab URLs, fixes #8402 , closes #8868
4 years ago
Nils Adermann
5d5515348a
Merge pull request #8860 from Seldaek/update-with
...
Add --with to update command to allow downgrading to a specific version / applying custom temporary constraints
4 years ago
Nils Adermann
ff0717ad66
Merge pull request #8859 from Seldaek/deduplicate-problems
...
Deduplicate require/conflict rules which are the same but for different versions of the same package
4 years ago
Nils Adermann
678abdbc9f
Merge pull request #8873 from Seldaek/version_selector_platform
...
Use all PlatformRepo packages in VersionSelector checks
4 years ago
Jordi Boggiano
1d68e85433
Fix usage
4 years ago
Jordi Boggiano
ef3797cdd6
Cache successful requests to make sure subsequent loadPackages calls do not do the same requests for nothing
4 years ago
Jordi Boggiano
8a2dd1baef
Adjust all usages of VersionSelector to the new API
4 years ago
Jordi Boggiano
419567ba6d
Update VersionSelector to take all platform requirements into account when selecting packages
4 years ago
Jordi Boggiano
b11f43f59e
Merge remote-tracking branch 'origin/1.10'
4 years ago
Jordi Boggiano
92aed041e4
Make the VersionSelector take Composer API/Runtime versions into account, refs getsentry/sentry-php#1008
4 years ago
Markus Staab
11930001fb
Added phpdoc types for PoolBuilder ( #8862 )
4 years ago
Ayesh Karunaratne
aa20413990
Improve regex in \Composer\Downloader\SvnDownloader::getCommitLogs() by removing unnecessary greedy operator
4 years ago
Ayesh Karunaratne
d4c8478df5
Improve regex in \Composer\Repository\ComposerRepository::fetchFile() by removing unnecessary greedy operator
4 years ago
Helmut Hummel
7c891701e6
Fix package sorting
...
PackageSorter weighs the importance of a package
by counting how many times it is required by other packages.
This works by calculating the weight for each package name.
However currently the package index of the package array
is currently passed the weigh function, which basically
disables package sorting.
The reason for that is, that a package repository previously
returned the package list as associative array with package name as keys,
but currently just as an array with integer keys.
Therefore we must extract the package name from the package
before passing it to the weigh function.
4 years ago
Jordi Boggiano
1d077ede70
Merge branch '1.10'
4 years ago
Jordi Boggiano
bfe71fb952
Fix support for --self --name-only, fixes #8844
4 years ago
Jordi Boggiano
4ce3836f51
Fix creation of a php: dir when running create-project, fixes #8849
4 years ago
Jordi Boggiano
7f308d986e
Add --with to update command to allow downgrading to a specific version/applying custom temporary constraints, fixes #8756
4 years ago
Jordi Boggiano
3a64acb53e
Make sure versions are ordered also in the satisfied by package lists
4 years ago
Jordi Boggiano
56a11b9c2c
Deduplicate require/conflict rules which are the same but for different versions of the same package, fixes #8851
4 years ago
Jordi Boggiano
56811b4c8f
Exclude platform require/provides from InstalledVersions as concrete ones are also not listed
4 years ago
Jordi Boggiano
557fb873ee
Add a way to retrieve the Loop instance from Composer to be able to wait on promises to integrate things
4 years ago
Jordi Boggiano
3c593b0d12
Remove duplicate use statement
4 years ago
Jordi Boggiano
74a63b4d6b
Merge branch '1.10'
4 years ago
Jordi Boggiano
81bf47ffa2
Use fully qualified calls in hot classes
4 years ago
Alessandro Lai
ff05150c4e
Add composer-runtime-api version constant
4 years ago
Basil Peace
6140897d08
feat: add archive.name config option
4 years ago
Alessandro Lai
270c7c3262
Backport validation support for composer-runtime-api ( #8842 )
...
Fixes #8841
4 years ago