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
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
9d24e17003
Fix workflow & typos
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
bfd2275cb0
Update interface to merge vcs with basic archivers
12 years ago
Matthieu Moquet
2fd17ecff8
Changed Package class due to upstream changes
12 years ago
Matthieu Moquet
20e717f975
Refactored the archiver package
12 years ago
Matthieu Moquet
3d0ce85db2
Moved archive Dumpers into its own Archiver package
12 years ago