30 Commits (758e7cab53abc579168345bca9e94652a0a6a810)

Author SHA1 Message Date
Jordi Boggiano bf1ddaa298 Fix method name for php5 8 years ago
Jordi Boggiano 1aec1c1fc8 Add --repository flag to init command, and rename --repository-url to --repository in create-project, fixes #4200, closes #4207, closes #2604, fixes #2920 8 years ago
Niels Keurentjes 692a3ed300 Renamed Composer\Console\Command to BaseCommand for consistency with other abstract base classes. 8 years ago
Jordi Boggiano 29312be4df Strict typing fixes 9 years ago
MakiCode 63ede6c9dd Fixed issues with PR 9 years ago
MakiCode 0d00338bdb Added better messages and fixed bugs 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 41a87a3ae7 Adjust file path output, refs #4379 9 years ago
Javi Hernández dd7243fc01 Archive command shows created package path 9 years ago
Jordi Boggiano c8eca6f198 Remove pool usage from ArchiveCommand 9 years ago
Jordi Boggiano b025d0982b Remove some state 9 years ago
Thibault Jamet 25ab752ca6 Map archive command to the archive configuration 9 years ago
Rob Bast cb336a5416 Implement writeError throughout Composer 9 years ago
Jordi Boggiano 94926218e8 CS fixes 10 years ago
Jordi Boggiano 4f5d979bee ArchiveCommand improvements 10 years ago
Jordi Boggiano ac497feaba CS fixes 10 years ago
James Moran ee7961a0f3 Implemented Pre/Post Archive Script Events
The script events `pre-archive-cmd` and `post-archive-cmd` can be used
to perform any tasks necessary when archiving the composer project.

This functionality can be used to run unit test or and other build
process before archiving, and can be used to distribute the archive
when completed
11 years ago
Renan de Lima 610e272faa use available $io in archive
https://github.com/composer/composer/pull/2099#pullrequestreviewcomment-5318806
11 years ago
Renan de Lima d17935acd2 attach IO to DownloadManager in "package" command 11 years ago
Jordi Boggiano 8d0b7f278e CS fixes 11 years ago
Jordi Boggiano 8a06e461e5 Fix a few bugs, fixes #1867 11 years ago
Nils Adermann cfd7a50f0a Do not hardcode vendor dir exclusion on archive.
For one thing this wouldn't have worked for any custom installers anyway
which can write installed code to other places. This will now allow one
to use composer archive on a clean code checkout to build an archive as
we are used to. Or on one that had composer install run to build an
archive that can be used for deployment which includes the vendors.
11 years ago
Nils Adermann 870a87f6d6 Use null as default values rather than false
Also made archive() in the ArchiveCommand protected as it does not need
to be used from the outside. The ArchiveManager can be used instead.
11 years ago
Nils Adermann 14ee67bed4 Output packages in archive command using getPrettyString 11 years ago
Nils Adermann 838edd6e7a Fix class description of archive command 11 years ago
Nils Adermann 51135468f0 Clarify composer archive argument optionality 11 years ago
Nils Adermann 735b59c1d6 Skip the vendor dir when archiving the current project 11 years ago
Nils Adermann ba375b6867 Allow archiving the current project with composer archive 11 years ago
Nils Adermann 526f48ecb8 Implement a basic archive command
It allows creating archives with the archive manager given a package/version
pair.
11 years ago