Jordi Boggiano
a90a05a059
Detect composer install foo/bar misuse and suggest alt
11 years ago
Nils Adermann
0238aaf5ac
Merge pull request #2629 from moranjk/master
...
Implemented Pre/Post Archive Script Events
11 years ago
Robert Boloc
5e5311a224
use optimize-autoloader config param in update and install commands
11 years ago
Robert Boloc
8a221854b1
changed name of the option to optimize-autoloader
11 years ago
Robert Boloc
f67f04adfb
added config option to optimize the autoloader always
11 years ago
Markus Staab
464fa1dedb
added a indicator in the info-message on --optimize
11 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
Eymen Gunay
ad51db7b57
Fixed missing close tags
11 years ago
Gordon Franke
202701c391
Escape env value before passing it to system call
11 years ago
Jordi Boggiano
7c1042eef5
Detect color.ui always git setting as bad, fixes #2544
11 years ago
Jordi Boggiano
b23742e30c
Merge remote-tracking branch 'donquixote/feature/psr4-complete'
11 years ago
Jordi Boggiano
a5c6319d46
Fix uninitialized var, fixes #2539
11 years ago
Jordi Boggiano
6ead35f189
Add version arg, docs for --rollback and reorganize the code, refs #2522
11 years ago
Jordi Boggiano
47a542ea89
Merge remote-tracking branch 'chr0n1x/feature-selfupdate-rollback'
11 years ago
Jordi Boggiano
f85a366eb9
Finalize new autoloader-suffix config value, refs #2524 , fixes #1413
11 years ago
chr0n1x
d26355ef65
SelfUpdateCommand: removed unneeded return
11 years ago
chr0n1x
0c76bba8bb
SelfUpdateCommand: do not delete old snapshots, allow user to clean them
11 years ago
chr0n1x
bc5ce1ce04
SelfUpdateCommand: only use 1 rollback snapshot at a time
11 years ago
chr0n1x
2760221767
SelfUpdateCommand: initial groundwork for --rollback
11 years ago
Andreas Hennings
39c09d5192
Add psr-4 stuff in a few more places.
11 years ago
Jordi Boggiano
10f8e564bb
Add warnings for xdebug, fixes #2425
11 years ago
Jordi Boggiano
e126c92525
Fix exit codes, cc @tyrael
11 years ago
Bilal Amarni
61cc291c8a
[CreateProject] allowed pretty version constraint
11 years ago
Dimitrios Kanellopoulos
81820beefc
Cache path never ends with '/'
11 years ago
Dimitrios Kanellopoulos
95a9ac880b
Check if current dir is writable and if not try the cache dir from settings
11 years ago
Dimitrios Kanellopoulos
9477e015bd
Use cache directory when downloading composer.phar
...
Since there is a cache dir there is no need to populate the project
directory with temp files. Plus the permissions on the project dir
might not allow that.
11 years ago
Gennady Feldman
f8376a5b34
Updating ConfigCommand so that we can set github-domains from the command line.
11 years ago
Phillip Look
07a7284ffc
Change dependency processing for update with whitelisted packages
...
By default dependencies of white listed packages are no longer installed automaticaly.
To Install dependencies of whitelisted packages use --with-dependencies.
- rework after review comments
- precise documentation of option
- add missing punctuation marks
11 years ago
Jordi Boggiano
11a0d16ccc
CS fixes
11 years ago
Jordi Boggiano
57146c12b4
Warn user that commands are being run in another directory
11 years ago
Nicolas Bastien
52711d121c
Remove unused use statement.
11 years ago
Jordi Boggiano
05ffc605f1
Ignore chmod failures, fixes #1854
11 years ago
Jordi Boggiano
6e4e10620a
Merge remote-tracking branch 'gerryvdm/feature'
...
Conflicts:
src/Composer/Command/CreateProjectCommand.php
11 years ago
Jordi Boggiano
3f6227a996
Add workaround for php bug 53460 glob() can return false, fixes #2278
11 years ago
Gerry Vandermaesen
eb72e1692c
Added --no-install option to create-project command
...
Added a --no-install option to the create-project command that
skips installation of the dependencies in the newly created
project.
11 years ago
Haralan Dobrev
4abaaaf76d
Use default description and license from CLI args
...
When running `composer init` with `--description` and `--license` arguments
on the command line they are later suggested as defaults during the
interactive flow. However when you press Enter (to use the default suggesstion)
Composer does not use it, but instead skip them entirely from the `composer.json`
generation.
This change provides a default argument not only to `DialogHelper::getQuestion()`,
but also to `DialogHelper::ask()`.
11 years ago
Romain Neutron
9b7fc0bae7
Update INF to PHP_INT_MAX as recommended by Stof
11 years ago
Romain Neutron
a965642769
Do not use detected width for output formatting if it is not available
11 years ago
Jordi Boggiano
e330763c5f
Fix issue when multiple paths are mapped to one dir in the show command
11 years ago
Jordi Boggiano
0eb2821733
Fix undefined var error, fixes #2241
11 years ago
Nils Adermann
242c58c789
Merge pull request #2179 from naderman/plugins
...
Plugins
11 years ago
Nils Adermann
d00ca4bcdb
Add a Command event triggered by all comands which load plugins
11 years ago
Jordi Boggiano
80184b87d1
Fix undefined index error, fixes #2224
11 years ago
Nils Adermann
15ac7be6f1
Fix disabling plugins which has to happen in the factory now
11 years ago
Nils Adermann
f0b45099c1
Correct authorship info for files I edited
11 years ago
Nils Adermann
b83535d2d9
Add back --no-custom-installers option with a deprecated warning
11 years ago
Nils Adermann
01a08a2ff3
As preparation for composer plugins, rename custom installers to plugins
11 years ago
Jordi Boggiano
ef072ff8c0
Merge pull request #2205 from unn/patch-1
...
Update help docs for the global command
11 years ago
Jordi Boggiano
51ea1f03f9
Validate constraints in require command, fixes #2197
11 years ago
Jordi Boggiano
c2dc433fa4
Improve global command to support short command resolution
11 years ago