Jordi Boggiano
a4a617abb4
Reduce amount of Filesystem/ProcessExecutor instantiations, add lots of docblocks
4 years ago
Jordi Boggiano
21ab2f85bb
Fix 7.4 build
5 years ago
Jordi Boggiano
45ecbae8f5
Merge branch 'master' into 2.0
5 years ago
Ion Bazan
a2137d5263
use Symfony PHPUnit Bridge
5 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
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
ff59bbdab0
CS fixer
6 years ago
Gabriel Caruso
afc9a7643e
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase
7 years ago
Vladimir Reznichenko
c8615358cb
SCA with PHP Inspections (EA Extended)
7 years ago
Jordi Boggiano
122e422682
CS fixes
8 years ago
jbixler
dac51c7f4b
Add ignore filters option to archive command
8 years ago
AnrDaemon
ab70601700
Skip git-related tests if no git found.
8 years ago
Rob Bast
a245c4618b
php-cs-fixer
9 years ago
Rob Bast
4600deac68
fix #4925
9 years ago
Jordi Boggiano
7e17fec3b8
Merge pull request #2585 from jaypea/ziparchiver
...
added ZipArchiver to actually compress zip files
9 years ago
Rob Bast
adf3b956d0
try to use unique test directories
...
any tests that use the filesystem should have their own unique directory, as we run our test suite in parallel and
cleanup of tests (removing directories) should not interfere with currently running tests
9 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
Jordi Boggiano
ce08582671
Fix CS
9 years ago
Rob Bast
0298cdc60d
change delimiter to curly braces
9 years ago
Rob Bast
e698636af4
added test to reproduce #4183
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
Sandy Pleyte
3e161e8ea9
Updated the regexp and added an other test case for sub dirs
11 years ago
Sandy Pleyte
1d51e54a31
Updated the regexp and added more test cases.
11 years ago
Sandy Pleyte
21109ada22
Fix for #2739 (and #1755 ), added support for directory excludes in the .gitignore file like /directory or directory/
11 years ago
Zbigniew
a4a9d0f0e4
[Archiver] Rules in GitExcludeFilter are too broad
11 years ago
Jan Prieser
d57e2b9ffb
added ZipArchiver to actually compress zip files
11 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
3aa7843146
Use ExecutableFinder instead of relying on exit codes, refs #1829
12 years ago
Rob Loach
692c63cdd2
Fix for tests when Mercurial or git are not available
12 years ago
Nils Adermann
57c34033ff
Merge pull request #1754 from njam/issue-1754
...
Fix file pattern start matching if no slash
12 years ago
Jordi Boggiano
fc54a48b52
Fix archiver tests on windows
12 years ago
Reto Kaiser
6f72e9570c
Add a / to the beginning of a file matchin pattern if no / in rule.
...
See https://www.kernel.org/pub/software/scm/git/docs/gitignore.html
12 years ago
Reto Kaiser
918a55659e
Call realpath() on result of sys_get_temp_dir()
...
On OSX the temp dir is within /var, which is a symlink to /private/var.
If this is not resolved, the comparison will fail when comparing to the result of `git archive` in testGitExcludes().
12 years ago
Nils Adermann
4af69c85ca
Fix tests by passing proper working directory to processes
12 years ago
Nils Adermann
6066359944
Skip directories in zip generation, empty dirs won't get archived
...
This seems ok as we currently rely on git generating archives which does
not archive empty directories either.
12 years ago
Nils Adermann
deae50392f
Respect gitignore, gitattributes and hgignore files in archiving
12 years ago
Nils Adermann
afcdad4b23
Define an option to exclude files in the archive command
12 years ago
Nils Adermann
3e26502561
Remove Mercurial and Git Archivers as they cannot implement exclude rules
12 years ago
Nils Adermann
33828b38df
Use a saner file name for package archives
12 years ago
Nils Adermann
bcbc50c0d6
Git can handle commit references in git archive just fine so use them
12 years ago