10758 Commits (617d63f40ad3e791ffe078d4c53921b1e3abf334)
 

Author SHA1 Message Date
Jordi Boggiano 96acad1e45
Update github token pattern to match their latest updates 3 years ago
BoShurik cc55b56dd7 Allow optional name and description fields for project type 3 years ago
vitman ecc8331312
Add dev mode env var for scripts run (#9793)
Co-authored-by: Vitali Tsyrkin <vitalit@playtika.com>
3 years ago
Jordi Boggiano bf73a20bc0
Merge branch '2.0' 3 years ago
Jordi Boggiano 63c086c208
Add source package name to debug info when enabling plugins 3 years ago
Jordi Boggiano 3b89a9c3b4
Also attempt working around Vagrant filesystem issues when installing plugins initially, refs #9627 3 years ago
Stephan 2f4b99eacd
MaxFileSizeException should reject download job (#9778) 3 years ago
Brandon Kelly 7652408829
Only call sapi_windows_set_ctrl_handler() for CLI requests (#9771) 3 years ago
Jordi Boggiano b6826f3523
Create pull_request_template.md 3 years ago
Jordi Boggiano 44bb82b50f
Make full functional test output more reliable 3 years ago
Jordi Boggiano f10ae542ff
Always mark symlinked path packages for update even during partial updates to make sure they always reflect the current state on disk, fixes #9751 3 years ago
Jordi Boggiano 346356a4dd
Fix phpdoc 3 years ago
Jordi Boggiano 5d6f9b2528
Prefer @phpstan- annotations as that is what we run against 3 years ago
Jordi Boggiano b40b93bc7d
Merge branch '2.0' 3 years ago
Jordi Boggiano 414586ba05
Attempt working around Vagrant filesystem issues, added COMPOSER_RUNTIME_ENV env var (set to vagrant), fixes #9627 3 years ago
Jordi Boggiano 059b5b197d
Merge branch '2.0' 3 years ago
ochorocho 35210d99a9
Add --format json to search command (#9747)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
3 years ago
Jordi Boggiano 17747181d0
Clarify behavior of name in VCS repo, closes #9752 3 years ago
ochorocho 8f315551d4
Remove output "summary" from fund command. Fund does not provide this type of format. (#9748) 3 years ago
Jordi Boggiano c81562b343
Merge branch '1.10' into 2.0 3 years ago
Jordi Boggiano 54889ca109
Document GH token usage and also make sure we redact them in Process debug output, refs #9757 3 years ago
Ayesh Karunaratne dc83ba93f3
Update GitHub token pattern
GitHub is updating the format of auth tokens from `a-z0-9` to `A-Za-z0-9` ([notice](https://github.blog/changelog/2021-03-04-authentication-token-format-updates/)).
I'm not sure why `.` is allowed, but I dare not to remove it. In this PR, the token validation regex is updated to allow `A-Za-z0-9` instead of the current all lower-case `a-z` and disallowed `_`.
3 years ago
Jordi Boggiano 4940009f83
Bump phpstan to level 3 (#9734)
Clean up PackageInterface/CompletePackageInterface, add missing methods, type things in solver as BasePackage, added CompleteAliasPackage, ..
3 years ago
Jordi Boggiano 8392508e23
Merge branch '2.0' 3 years ago
Jordi Boggiano 4f2e0de726
Merge branch '1.10' into 2.0 3 years ago
Jordi Boggiano 06003f4da6
Update release step to use php8 as it produces slightly different output wrt white-space, fixes #9746 3 years ago
Jordi Boggiano ab84916422
Fix unclear error when a package can be found in lock but not in the remote repo, fixes #9750 3 years ago
Jordi Boggiano de8a737015
Fix var shadowing 3 years ago
Jordi Boggiano 4a8e7daf56
Make sure that single files installed via file downloader get the executable bit set if they are a binary file, refs #9742 3 years ago
Jordi Boggiano 4bedd8379a
Fix php-proxying of binaries to avoid proxying phar files, fixes #9742 3 years ago
Jordi Boggiano e9d405ff18
Avoid using str_replace for dev-master replacement as that may be a valid part of a branch name, fixes #9739 3 years ago
Jordi Boggiano b451bcb1ac
Fix issue extracting archives into paths that already exist, fixes composer/installers#479 3 years ago
Jordi Boggiano bcd862c3dc
Add support for @php <abs path to binary from PATH>, fixes #9726 3 years ago
Jordi Boggiano d0b399b788
Merge branch '2.0' 3 years ago
Jordi Boggiano 0879e80d56
Fix functional tests to use the same PHP version as PHPUnit runs with 3 years ago
John Stevenson 4f47a4c667
Proxy handling docs and tweaks (#9735) 3 years ago
John Stevenson 07f59a9162
Preserve file permissions on Windows self-update (#9733)
Windows file operations result in different file permissions depending
if the file is copied or moved. A copy operation applies permissions
from the destination folder (or file if it already exists and does not
use inheritance), while a move operation generally preserves the source
file permissions.

Windows PHP `rename` uses MoveFileEx so if the user is running as an
admin and the destination is in a common (non-user) location, then the
permission for other users will be replaced by the admin user. Likewise
for the UAC elevation feature, which uses the cmd.exe `move` command.

This fix uses copy and delete operations on Windows, so that other users
can continue to run composer.phar
3 years ago
John Stevenson dfc69140fe
Fix compiler on Windows (#9730) 3 years ago
Nils Adermann 41e329a458
Merge pull request #9729 from Seldaek/restrict-why
Remove version argument from why and enforce it for why-not command
3 years ago
Jordi Boggiano 4851f65318
Remove version argument from why and enforce it for why-not command, refs #9693 3 years ago
Jordi Boggiano ed1fe28ab2
Add --format to fund command docs 3 years ago
Jordi Boggiano 40800df6bd
Fix CS 3 years ago
Jordi Boggiano 52967c32cf
Remove unused var 3 years ago
Jordi Boggiano 48d02b479b
Fix output of PathDownloader during upgrades 3 years ago
Jordi Boggiano fd88b3d48d
Fix DownloaderInterface return types 3 years ago
Jordi Boggiano b3951b8804
Fix output of FileDownloader and related to avoid async issues 3 years ago
Jordi Boggiano 9809350753
Fix PathDownloader's remove implementation 3 years ago
Jordi Boggiano 46dde9453b
Fix tests 3 years ago
Jordi Boggiano 67261e8d47
Make package removals async as well, refs #9618 3 years ago
Markus Staab a5fecc4720
Filesystem: added removeDirectoryAsync() and use it in ArchiveDownloader (#9618)
This turns half of the `rm -rf ...` executions during package installs async and therefore improves performance
3 years ago