Robert Rhoades
2ced7b0bf8
Fix git init -b being unavailable for older versions
...
On older versions of git init doesn't have the -b flag. That
was introduced in v2.28.0.
Instead switch to using git checkout -b which has much
wider support (2.4.12 was as far back as I could check on
the docs).
4 years ago
Robert Rhoades
e6c7ab693e
Fix running tests with non standard default branch
...
When the global git config has init.defaultbranch set to
something other than master the tests fail. This is because
the tests assume that the default branch is called master
but that may not be the case.
This fixes the tests by ensuring that when running git init
we ensure the default branch is called master regardless of
how git is configured.
4 years ago
Jordi Boggiano
d942c65e0c
Fix more warnings
4 years ago
Jordi Boggiano
a4a617abb4
Reduce amount of Filesystem/ProcessExecutor instantiations, add lots of docblocks
4 years ago
Jordi Boggiano
169fb2347a
Avoid issues with git signatures when running tests
6 years ago
Jordi Boggiano
3dfcae99a9
Add parallel download capability to FileDownloader and derivatives
6 years ago
Jordi Boggiano
713bc4de1d
Minor fixes and updated the rest of the code/tests to use HttpDownloader
6 years ago
Vladimir Reznichenko
c8615358cb
SCA with PHP Inspections (EA Extended)
7 years ago
AnrDaemon
ab70601700
Skip git-related tests if no git found.
8 years ago
Jordi Boggiano
3d9daea6a0
CS fixes
9 years ago
MakiCode
1c0b9cd65f
Removed test for non-string file name check
9 years ago
MakiCode
63ede6c9dd
Fixed issues with PR
9 years ago
MakiCode
0d00338bdb
Added better messages and fixed bugs
9 years ago
MakiCode
906c1c2e66
Added check for filename in archive manager and added test
9 years ago
David Prévot
e5ede671d2
Config Git repository user
...
One can’t assume a Git user is already setup for the tests.
10 years ago
Jordi Boggiano
94926218e8
CS fixes
10 years ago
Morgan BRUNOT
ca7cb68dd5
Check exclude from downloaded composer.json
11 years ago
Jordi Boggiano
11a0d16ccc
CS fixes
11 years ago
Jan Prieser
c6db86e444
cleanup temporary download location when archiving
11 years ago
Jordi Boggiano
8d0b7f278e
CS fixes
11 years ago
Jordi Boggiano
fc54a48b52
Fix archiver tests on windows
12 years ago
Nils Adermann
4af69c85ca
Fix tests by passing proper working directory to processes
12 years ago
Nils Adermann
deae50392f
Respect gitignore, gitattributes and hgignore files in archiving
12 years ago
Nils Adermann
33828b38df
Use a saner file name for package archives
12 years ago
Nils Adermann
ba51027680
Reorder ArchiveManager parameters to make the download manager optional
12 years ago
Matthieu Moquet
a2b404e421
Cleaned archiver tests
12 years ago
Matthieu Moquet
c248115e04
Fix how download manager is constructed
...
This fixes tests due to upstream changes.
The createDownloadManager in the Factory now takes the config as extra
parameter.
12 years ago
Matthieu Moquet
60b1cc7d24
Create ArchiveManager with the Factory
12 years ago
Matthieu Moquet
a733d76b33
Merged zip & tar archivers
12 years ago
Matthieu Moquet
20e717f975
Refactored the archiver package
12 years ago