MakiCode
22e93f110b
Fixed indentation
9 years ago
MakiCode
7005d89847
Fixed bug
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
MakiCode
87b5af60a8
Almost finished adding --file option, need to add unit test
9 years ago
Jordi Boggiano
ce08582671
Fix CS
9 years ago
Jordi Boggiano
8775c94895
Merge pull request #4196 from localheinz/fix/namespace
...
Fix: Import Symfony\Component\Finder\Finder
9 years ago
Andreas Möller
962f5a99ea
Fix: Import Symfony\Component\Finder\Finder
9 years ago
Rob Bast
0298cdc60d
change delimiter to curly braces
9 years ago
Jordi Boggiano
10401d544b
Avoid leftovers in temp dir
10 years ago
Jordi Boggiano
904f2830e7
Archive manager tweaks to reduce file path lengths, fixes #2808
10 years ago
Jordi Boggiano
f53994fcf2
Only lines starting with a # should be treated as comments, fixes #3066
10 years ago
Josef Martinec
24f0f32543
Skip external symlinks when creating PHAR archive
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
hfcorriez
c4a9b9b7d9
Support compress tar.gz and tar.bz2 archiver
11 years ago
Jordi Boggiano
f72066de90
Merge pull request #2649 from zczapran/bugfix/git_exclude_filter_rules_too_broad
...
[Archiver] Rules in GitExcludeFilter are too broad
11 years ago
Nils Adermann
7566315c7a
Don't put dots in archive filenames they cause problems with PharData
...
composer/satis#114
11 years ago
Zbigniew
5afe2f846f
[Archiver] comment for a confusing line
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
a300e1d45b
Fix error on check exclude from download composer.json
11 years ago
Morgan BRUNOT
ca7cb68dd5
Check exclude from downloaded composer.json
11 years ago
Chris Testroet
2a8eb9df34
Remove slashes from package archive filename
11 years ago
Peter Kokot
4748f16091
fix CS
11 years ago
Renan de Lima
e06f0f1233
removes hardcoded "prefer-source" in ArchiveManage when calling
...
DownloadManager
11 years ago
Jan Prieser
290b9307f4
remove unneeded braces
11 years ago
Jan Prieser
c6db86e444
cleanup temporary download location when archiving
11 years ago
Jordi Boggiano
8d0b7f278e
CS fixes
11 years ago
Pavel Savinov
831bd844bd
Almost PHPDoc problems fixed
11 years ago
Peter Smith
8a7e2a3c00
Unbind the filter Closure from ArchivableFilesFinder to allow the object
...
to be garbage collected correctly, and the folder closed.
Fixes https://github.com/composer/satis/issues/64 for PHP 5.4
11 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
Nils Adermann
8803281648
Make sure Phar overwrites files and doesn't load them
12 years ago
Nils Adermann
22044121ce
Callbacks must be accessible publically on PHP 5.3
12 years ago
Nils Adermann
43be72acb4
Follow PSR-2 for method modifier ordering
12 years ago
Nils Adermann
1af2be9d6d
Rename ExcludeFilterBase to BaseExcludeFilter
12 years ago
Nils Adermann
ecf4f42885
Use a FilterIterator rather than a modified IteratorIterator, simpler
12 years ago
Nils Adermann
75d1759e77
Replace DIRECTORY_SEPARATOR in paths, not PATH_SEPARATOR
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
64941b0a64
Make overwriting files an ArchiveManager option, use sourceRef in names
12 years ago
Nils Adermann
6ee08a2046
Remove unecessary unlink before writing archive
12 years ago
Nils Adermann
074af5dc54
Remove unnecessary dist type information from archive files
12 years ago
Nils Adermann
935f7271f8
The ArchiveManager should return the written path for library usage
12 years ago
Nils Adermann
48dd55b759
Generate a properly unique archive filename for dev revisions
12 years ago
Nils Adermann
ba375b6867
Allow archiving the current project with composer archive
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
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
d1d77dd13d
Fixed several typos
...
- break at first archiver supports
- use standard directory separator
- change exception message
- remove the BaseArchiver since tar & zip archivers have been merged
- plus coding style
12 years ago
Matthieu Moquet
a733d76b33
Merged zip & tar archivers
12 years ago
Matthieu Moquet
b21bb1dcc5
Checks support before downloading the package
12 years ago
Matthieu Moquet
bfd2275cb0
Update interface to merge vcs with basic archivers
12 years ago
Matthieu Moquet
3b22791059
Checks process execution
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