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