18 Commits (460f2f438e827c3aa48cabe242963414968fc0d3)

Author SHA1 Message Date
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