224 Commits (6a466a120a404d1c5d492e5ca715841c491517fc)

Author SHA1 Message Date
Jordi Boggiano 6a466a120a
Enable strict types on all files 2 years ago
Jordi Boggiano 7abc8da7d3
Add more types 2 years ago
Jordi Boggiano 6da38f83a0
Add parameter types to all the things 2 years ago
Alexander Schranz 1321bfca36
Add return types to closures (#9) 2 years ago
Jordi Boggiano 88171e409d
Remove superfluous arg 2 years ago
Jordi Boggiano 39cb505d69
Fix phpstan warnings 2 years ago
Jordi Boggiano e7c04e3e12
Improve error reporting when a tag was recreated or a commit is missing, fixes #10484 2 years ago
Jordi Boggiano 24ce1eddbd
Add composer/pcre dependency and use it everywhere instead of preg_* 2 years ago
Stephan 63b5cbe000
GitDownloader: add option for single use git clone to avoid --dissociate when cloning from local copy (#10288) 3 years ago
Jordi Boggiano bd4d624cc7
Read first from $_SERVER and $_ENV before using getenv (#10218) 3 years ago
Jordi Boggiano c65d09dff7
Fix @inheritDoc annotations 3 years ago
Martin Herndl fa4d4e20e9
Add types to `Downloader` (#10193) 3 years ago
Jordi Boggiano b209816056
Type annotations 3 years ago
Jordi Boggiano 40c7a725e1
Merge branch '2.0' 3 years ago
Jordi Boggiano 332c46af8b
Merge pull request from GHSA-h5h8-pc6h-jvvx
* Fix external process calls to avoid user input being able to pass extra parameters

* Tweak some fixes
3 years ago
Jordi Boggiano 5d6f9b2528
Prefer @phpstan- annotations as that is what we run against 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 d0b399b788
Merge branch '2.0' 3 years ago
Jordi Boggiano 40800df6bd
Fix CS 3 years ago
Jordi Boggiano e3af4ee606
Include stdout as well as stderr if git stash/diff/.. fails, fixes #9720 3 years ago
Jordi Boggiano 8d94e25c2f
Minor fixes 3 years ago
Jordi Boggiano 6a869ede77
Fail early if git/hg/svn can not be found on the system, so that download can be retried from dist, fixes #9681 3 years ago
Markus Staab 8dfe45a026 GitDownloader: combine checkout + reset commands into a single process
use a single process instead of 3 to improve performance
3 years ago
Jordi Boggiano 1fb6b03e03
Fix a few edge cases in unpushed change handling 4 years ago
Jordi Boggiano f86b3ad0fe
Make sure all remotes are checked for unpushed changes, fixes #9486 4 years ago
Jordi Boggiano b7d770659b
CS fixes 4 years ago
Simon Berger a6475a7118 Removed unused variables, properties and parameters of private functions 4 years ago
Jordi Boggiano 7bcde1481d
Fix git downloader syntax for windows cmd when updating packages, fixes #9089 4 years ago
Jordi Boggiano 04381c70fe
Merge branch '1.10' 4 years ago
Michael Stucki 0278e7453d
Clean Git repos during discard 4 years ago
Jordi Boggiano 93d4cf6f91
Add --no-show-signature where git supports it, fixes #8966 4 years ago
Jordi Boggiano da6c0635d2
Merge pull request #8980 from stucki/discard-using-git-clean
Discard changes is incomplete if Git project has additional folders
4 years ago
Michael Stucki ae59047166 Clean Git repos during discard 4 years ago
Markus Staab 6f6974df70
added phpdocs (#8754) 4 years ago
Jordi Boggiano 55f122008b
Make sure we avoid cleanup running more than once per package on VcsDownloader 4 years ago
Jordi Boggiano 0b4763e6c7
Make it clear which package the error is for when detecting uncommitted changes 4 years ago
Jordi Boggiano 1e68555e0a
Sanitize URLs in getRepoName and centralize the Url sanitization process 4 years ago
Jordi Boggiano f867c407c7
Merge branch 'master' into 2.0 5 years ago
Jordi Boggiano 149250ab92
Remove credentials from git remotes in cache and vendor dirs
This only removes the credentials if they are managed by composer auth.json or equivalent, if the credentials were present in the package URL to begin with they might remain

Refs #8293
Fixes #3644
Closes #3608
5 years ago
Jordi Boggiano 607b487295
Fix missing use/undefined var 5 years ago
Jordi Boggiano 53d2ab2253
Split up steps on VCS downloaders to allow doing network operations before touching the filesystem on GitDownloader, fixes #7903 5 years ago
Matthew Brown 65903aacfd Fix type issues (#7996)
* Fix type issues found by Psalm
5 years ago
Jordi Boggiano b89720b52a Merge branch 'master' into 2.0 5 years ago
Jordi Boggiano 02ceb74151 Tweak --no-cache option to be available globally and to not break VCS drivers relying on it, refs #7880, refs #6650 5 years ago
Jordi Boggiano 3dfcae99a9 Add parallel download capability to FileDownloader and derivatives 5 years ago
Gabriel Caruso 2a13bb2649 Fixes from PHPStan (#7687)
* fix docblocks

* remove redundant conditional

* fix wrong variable name

* fix wrong namespaces

* add missing private members

* remove unused/redundant arguments

* move testcase class

* exclude TestCase.php

* Tweak RuleWatchGraph type hints

* Tweak doc comment
6 years ago
Jordi Boggiano 79d62cc51c Escape references properly when getting commit logs for verbose update 6 years ago
Jordi Boggiano 50665aa18d Simplify check for current revision, refs #6684 7 years ago
Robert Lu e768e297cd fetch tag,commit form local but not ref 7 years ago
Robert Lu 0ad985122d Don't fetch when ref already on local 7 years ago