Fabien Potencier
91a2aa22fb
Add a run-script command
12 years ago
Gábor Egyed
9358401eed
resolve symbolic link in self-update command
12 years ago
Jordi Boggiano
6da31f7c2b
Add handling of preferred-install config in create-project, fixes #1780
12 years ago
Jordi Boggiano
e82cf6835e
Allow show <package> <constraint> as well as a version
12 years ago
Smasty
a1def50ae4
Fix diagnose command output
12 years ago
Jordi Boggiano
605cd3ddc3
Rename diag to diagnose, fix feedback
12 years ago
Jordi Boggiano
1060d015fb
Add composer diag command to diagnose problems automatically
12 years ago
Jordi Boggiano
ad69d15590
Fix self-update error handling, fixes #1738
12 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.
12 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.
12 years ago
Nils Adermann
14ee67bed4
Output packages in archive command using getPrettyString
12 years ago
Nils Adermann
838edd6e7a
Fix class description of archive command
12 years ago
Nils Adermann
51135468f0
Clarify composer archive argument optionality
12 years ago
Nils Adermann
735b59c1d6
Skip the vendor dir when archiving the current project
12 years ago
Nils Adermann
ba375b6867
Allow archiving the current project with composer archive
12 years ago
Nils Adermann
526f48ecb8
Implement a basic archive command
...
It allows creating archives with the archive manager given a package/version
pair.
12 years ago
Jordi Boggiano
7ae0dd2a2a
Always install dev requirements when using the require command, fixes #1676
12 years ago
Jordi Boggiano
be861f090a
Remove filterPackages and add RepositoryInterface::search, refactor all commands to use new methods and remove all usage of the full package list for Composer repositories that support providers, fixes #1646
12 years ago
Miklós Márton
72a4146383
Scratch 'prefer-source'; 'preferred-install' is the bee's knees
12 years ago
Miklós Márton
9110c6413e
Minor code reorg to reduce duplication
12 years ago
Miklós Márton
0d81ab7f46
Install/update now uses the new config variable 'prefer-source', fixes #553
12 years ago
Miklós Márton
0f8530ef56
Support for 'prefer-source' config setting, refs #553
12 years ago
Miklós Márton
40c9584746
Fixes #1653
12 years ago
Jordi Boggiano
c95127b80e
Merge pull request #1644 from Seldaek/newdevrequires
...
New require-dev handling
12 years ago
Miklós Márton
67e5e0588d
Fixes #1347 (new license argument / dialog for init command)
12 years ago
Jordi Boggiano
542d10d8fd
Remove all occurrences of getLocalDevRepository and getLocalRepositories calls
12 years ago
Jordi Boggiano
caf26ac37c
Enable dev mode by default in update command, add a --no-dev flag, fixes #1005
12 years ago
Jordi Boggiano
f06c0cb580
Code reorgs and make bool values real booleans, refs #1637
12 years ago
Jordi Boggiano
8eb71f5478
Merge remote-tracking branch 'ricardclau/dirty-updates'
12 years ago
Ricard Clau
48ac383599
initial steps with new config value, implementation of discard changes for git and svn
12 years ago
Daniel González
ed590de8dd
typo
...
I see, that exist a typo error.
12 years ago
Jordi Boggiano
8d55b9cced
Merge remote-tracking branch 'ronnylt/script-event-post-dump-autoload'
...
Conflicts:
tests/Composer/Test/Autoload/AutoloadGeneratorTest.php
12 years ago
Jordi Boggiano
518253e150
Show proper repo information and not always the default ones
12 years ago
Jordi Boggiano
8ac4b649c3
Merge remote-tracking branch 'gerryvdm/master'
...
Conflicts:
src/Composer/Command/ShowCommand.php
12 years ago
Jordi Boggiano
2e12993c9c
Make selfupdate use ssl when possible
12 years ago
Jordi Boggiano
d4fb7bd251
Substract 1char from the width to avoid blank lines in the output on windows
12 years ago
Sebastian Krebs
b5c7d97e8c
Pretty "show"-command
12 years ago
Jordi Boggiano
94e99b9c8b
Update docs, config command and schema with all the config values
12 years ago
Jordi Boggiano
5165008be7
Merge remote-tracking branch 'pierredup/master'
12 years ago
Jordi Boggiano
dd372e7635
Add explicit return
12 years ago
Gerry Vandermaesen
77290069a2
Added option to only show package names
...
Added the --name-only (-N) option to the show command to only list
package names (and exclude version and description).
This is useful to produce a list of package names to be parsed by
a shell script for example (bash completion comes to mind).
12 years ago
Gerry Vandermaesen
2552f4c65e
Added option to only show available packages
...
Added the --available (-a) option to the show command to only list
the available packages, similar to the --installed and --platform
options.
Additionally changed the output formatting when limiting the
package result to remove the hierarchy when only one type is being
showed. This facilitates parsing of a list of packages (for example
for shell scripting and completion).
12 years ago
Bilal Amarni
ae9a001053
RequireCommand - check if composer.json is writable
12 years ago
Bilal Amarni
99e4173b3d
RequireCommand - rollback if it fails ( fixes #1469 )
12 years ago
Jordi Boggiano
a7c950cddd
Add support for github-oauth in config command
12 years ago
Pierre du Plessis
91ca7d7493
Make use-include-path default to false
12 years ago
Pierre du Plessis
84b34b70e0
Add config option to set if the PHP include path should automatically be used when generating the autoloader
12 years ago
Igor Wiedler
24611ec919
Add newline because JsonManipulator does not expand {}
12 years ago
Igor Wiedler
a48675005b
Implicitly create composer.json in require command
...
This allows shorteninig install instructions if you do not want to use init
(because it is interactive) and you do not want to use create-project (there
is no skeleton, or you do not want to use a skeleton).
12 years ago
Ronny López
e5cbf83185
Added post-autoload-dump script event.
12 years ago