Jordi Boggiano
c95127b80e
Merge pull request #1644 from Seldaek/newdevrequires
...
New require-dev handling
11 years ago
Miklós Márton
67e5e0588d
Fixes #1347 (new license argument / dialog for init command)
11 years ago
Jordi Boggiano
542d10d8fd
Remove all occurrences of getLocalDevRepository and getLocalRepositories calls
11 years ago
Jordi Boggiano
caf26ac37c
Enable dev mode by default in update command, add a --no-dev flag, fixes #1005
11 years ago
Jordi Boggiano
f06c0cb580
Code reorgs and make bool values real booleans, refs #1637
11 years ago
Jordi Boggiano
8eb71f5478
Merge remote-tracking branch 'ricardclau/dirty-updates'
11 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
Jordi Boggiano
b51a4a7854
Improve depends output, fixes #1459
12 years ago
Jordi Boggiano
514a3cde77
CS fixes
12 years ago
Jordi Boggiano
4c35f54356
Simplify regex pattern
12 years ago
Grégoire Pineau
fcac93b3f1
Fixed InitCommand::addVendorIgnore
12 years ago
Jordi Boggiano
247b02d077
Fix minimum-stability handling in InitCommand, fixes #1421
12 years ago
Galymzhan
47442b6e39
change parameter order to preserve BC
12 years ago
Galymzhan
f59181d7d5
add support for --no-progress, fixes #621
12 years ago
Jordi Boggiano
9b2e3766c0
Show reference as well in show command overview
12 years ago
Jordi Boggiano
e7f4768668
Only ask for gitignore if the current dir is a git repo, fixes composer/satis#44
12 years ago
Jordi Boggiano
8bbb358e1f
Merge pull request #1380 from bamarni/depends-local
...
added a local option to the depends command
12 years ago
Bilal Amarni
4e02cbd49e
added a local option to the depends command
12 years ago
Beau Simensen
8d1d060d66
Made getComposerFile static.
12 years ago
Igor Wiedler
423728440b
Rename init --minimum-stability to --stability
...
This is consistent with create-project.
12 years ago
Jordi Boggiano
111c42b8fb
Make config command list all values in the config (aggregated defaults + global [+ local])
12 years ago
Jordi Boggiano
365058ee99
Fix CS
12 years ago
Jordi Boggiano
d1956d9d24
Merge remote-tracking branch 'Unister/master'
12 years ago
Jordi Boggiano
a8f74a0983
Allow notification from locked installs, fixes #1368 , fixes #1372 , fixes #1369
12 years ago
go.schmidt
f748fb1953
fixed version output for show command
12 years ago
Jordi Boggiano
dee9bcb9f1
Add --stability and support for package:version and package=version to create-project, fixes #957
12 years ago
Colin Frei
e4b8fe85a1
Check --name value if it's passed in, as that's not validated anywhere
12 years ago
Colin Frei
b4cf3d06fd
Make sure suggested value conforms to allowed values
...
Regex for replacement from https://github.com/composer/packagist/blob/master/src/Packagist/WebBundle/Entity/Package.php#L191
12 years ago
Colin Frei
6c4bdd14cd
require $name to be lowercase
12 years ago
Jordi Boggiano
0d506228d6
Allow the config command to read out values if no new value is provided
12 years ago
Jordi Boggiano
ef68125b3b
Fix config listing
12 years ago
Jordi Boggiano
b05a554883
Add cache-files-ttl setting, and docs for the cache
12 years ago
Jordi Boggiano
6a9215012d
Merge remote-tracking branch 'igorw/dep-manager-consistent-naming'
12 years ago
Igor Wiedler
b250d63fd8
Uppercase first character of dump-autoload description
12 years ago
Igor Wiedler
e7c7e2f70d
Consistently describe composer as dep mgr as opposed to package mgr
...
Closes #1207 .
12 years ago
Jordi Boggiano
85bbf99817
Fix deletion of vcs dirs, fixes #1260
12 years ago
Pascal Borreli
83fd3967f0
Fixed PHPDoc
12 years ago
Pascal Borreli
5eead93250
Fixed typos
12 years ago
Jordi Boggiano
f3bfeb3608
Rename --optimize-autoloaders to --optimize-autoloader since there is just one
12 years ago
Sebastian Krebs
578a216343
Add shorthand '-o'-option for '--optimize-autoloaders'
12 years ago
Sebastian Krebs
86518a22d7
Allow autoloader optimization right from 'update' too
12 years ago
Sebastian Krebs
d3aaeb21da
Allow autoloader optimization right from 'install'
12 years ago
Jordi Boggiano
c53729793b
Make sure the global config file is only readable by the owner
12 years ago
Jordi Boggiano
c7b26c8d82
Return 1 if installation of deps failed, fixes #936
12 years ago
Jordi Boggiano
ba96f9f6b5
Clarify conditional
12 years ago
Jordi Boggiano
c2d9fa43eb
Merge remote-tracking branch 'fortrabbit/frbit-createprojectdist'
12 years ago
Ulrich Kautz
051118c500
Check for necessity of VCS cleanup when --prefer-dist is used (only project package, so far)
12 years ago
Jordi Boggiano
fa89ef75e4
Remove unused use statements
12 years ago
Ulrich Kautz
4f4cbc17d9
Added "--prefer-dist" option to create-project command
12 years ago
Jordi Boggiano
503234451b
Simplify ConfigCommand to use the JsonConfigSource
12 years ago
Jordi Boggiano
ee0cd07468
CS fixes
12 years ago
Jordi Boggiano
852c369575
Improve error reporting on downloads and copies, refs #1228
12 years ago
Jordi Boggiano
8949d43dca
Remove VCS info from the root dir only, fixes #1229
12 years ago
Jordi Boggiano
110044c3ea
Fix up create-project command
12 years ago
Grégoire Pineau
1dd04cb715
Removed useless code
12 years ago
Grégoire Pineau
6f9c3427b6
Create-project command remove all VCS history
...
In fact, there are some issues with create-project command.
When people create project with composer, they do not think to
delete main .git folder. So they embed 3th history in theirs own
repository. (see
https://connect.sensiolabs.com/profile/jmoati/project/gitoliteadmin
for instance)
More over, people may not use git.
12 years ago
Christophe Coevoet
c322476343
Fixed the help of the config command
12 years ago
Jordi Boggiano
59edd4e6d6
Show version in composer show --self
12 years ago
Ismael Ambrosi
18086aa5e7
Added option to display dev-required packages
12 years ago
Jordi Boggiano
4e3f4f24fc
Try to figure out which editor is available on *nix
12 years ago
Jordi Boggiano
a4e5f000d5
Only create the root file empty and error out on missing local files
12 years ago
Jordi Boggiano
5cb9a6ead7
Write in the json directly without reformatting the whole file - skip validation since that is not really the job of the config command
12 years ago
Jordi Boggiano
8403178ddb
config --list should only list relevant sections
12 years ago
Jordi Boggiano
4086c24778
Do or do not, there is no try
12 years ago
Jordi Boggiano
17d8dfba1d
Allow editing all config values
12 years ago
Jordi Boggiano
1b7906e82d
Add --unset flag
12 years ago
Jordi Boggiano
d00d7eef7f
Use default editors if EDITOR is not set, improve windows compatibility
12 years ago
Jordi Boggiano
0615455087
Clean up syntax/docs & simplify some bits of code
12 years ago
Jordi Boggiano
1a638959c2
Merge remote-tracking branch 'JoshuaEstes/feature/config'
12 years ago
Joshua Estes
74c344ffe4
bug fix
12 years ago
Joshua Estes
41bc8fd1b6
updated the help for the command
12 years ago
Joshua Estes
ebc67f3191
added the ablity to allow users the option of telling where the file they want to edit/update is
12 years ago
Joshua Estes
2e34ada3f0
updated some of the core functionality, only supports process timeout and repositories
12 years ago
Joshua Estes
cec8debcdc
added a validate schema function to make sure the user does not enter vomit into the config files
12 years ago
Joshua Estes
7b00dfab4c
updated value argument to be array
12 years ago
Joshua Estes
3c5500aa95
updated a few things, works a little nicer, but still not yet to the point where it should be
12 years ago
Joshua Estes
6386921f99
deleted the repository, added a config command that current will just list the config for either file and open vim to edit the file
12 years ago
Arnaud Le Blanc
0119e80c18
added --prefer-dist option to require command
12 years ago
Joshua Estes
457d0aac94
cleaned up and added more comments
12 years ago
Johannes M. Schmitt
4e769e1100
moved some code to a dedicated class
12 years ago
Joshua Estes
7be31e12ec
add a repository in either the global config or the local composer.json file
12 years ago
Joshua Estes
e416d451c1
blah, don't need that
12 years ago
Joshua Estes
ec71674826
added empty configuration command and updated the application class to pull it in for display
12 years ago
Jordi Boggiano
a9afa8bc1f
Merge remote-tracking branch 'mheleniak/prefer_dist' and fix dists
...
Conflicts:
src/Composer/Installer.php
src/Composer/Package/Locker.php
12 years ago
Ulrich Kautz
ccf2539462
Search only in name
12 years ago
Jordi Boggiano
5b419c76ca
Fix tests
12 years ago
Jordi Boggiano
122f66098e
Merge remote-tracking branch 'hason/git_config'
12 years ago
Martin Hasoň
3b6bd761ec
Set protocols for github in composer config file
12 years ago
Povilas Balzaravicius Pawka
bbac63821c
Search: initialize lowMatches as empty array.
12 years ago
Povilas Balzaravicius Pawka
7154ef9af7
search: fixed output error when no results found.
12 years ago
Jordi Boggiano
0689e24e83
Update command descriptions, fixes #1068
12 years ago
Fabien Potencier
b5897b291d
Fix PHP warning in the show command when using the -s flag
12 years ago
Mateusz Heleniak
aa0ff14be5
added --prefer-dist option
12 years ago
Jordi Boggiano
e2f8098f53
Fix depends command on 5.3, fixes #1034
12 years ago
Nils Adermann
01593e0628
Merge pull request #1015 from Seldaek/memory
...
Reduce memory usage by only loading packages that are actually needed, fixes #456
12 years ago
Jordi Boggiano
41fc6ff9ee
Fix formatRequirements return value, fixes #1026
12 years ago
Jordi Boggiano
f9f86f03ae
Performance improvements to create-project
12 years ago
Jordi Boggiano
e1bd2fd6df
Clean ups after feedback
12 years ago
Jordi Boggiano
a0903d4d35
Update create-project and show commands to use the new filterPackages method
12 years ago
Jordi Boggiano
c31d588b7d
Update init and depends commands to use the new filterPackages method
12 years ago
Jordi Boggiano
012798b179
Convert search command to use the filterPackages method
12 years ago
Jordi Boggiano
d6de4a0036
Rename Package interfaces to reduce BC issues
12 years ago
Jordi Boggiano
ef637c8f1a
CS fixes
12 years ago
Jordi Boggiano
4d84f62cd9
Improve consistency and formatting of verbose output for update/install
12 years ago
Jordi Boggiano
209d3ebfc4
Show detailed changes in verbose mode, refs #842
12 years ago
Jordi Boggiano
756c7a04fd
Add alias to dump-autoload
12 years ago
Jordi Boggiano
5b4c6f6296
Merge remote-tracking branch 'fixe/status-command'
...
Conflicts:
src/Composer/Console/Application.php
12 years ago
Clément Gautier
d87d010c35
Fixed typo
12 years ago
Jordi Boggiano
de4e9c4022
Fix InputOption requirement flags
12 years ago
Beau Simensen
d0773b20df
Added minimum-stability option to init command, minor bug fixes
...
Added the ability to specify `minimum-stability` as an option.
Also added `homepage` and `require-dev` to the whitelist and
added necessary code to format dev requirements only if dev
requirements are present.
12 years ago
Jordi Boggiano
2edb26db65
Add --optimize flag to dump-autoload that allows turning PSR0 into classmaps
12 years ago
Jordi Boggiano
398d97a629
Merge remote-tracking branch 'schmittjoh/disableCustomInstaller'
12 years ago
Jordi Boggiano
9af18880f7
Merge remote-tracking branch 'digitalkaoz/issue_627'
12 years ago
Tiago Ribeiro
aba2ab2212
Added status command to display local changes to packages
12 years ago
Johannes M. Schmitt
f5ce2d577b
fixed typo
12 years ago
Johannes M. Schmitt
ec74e422f4
added no-custom-installers option to install/update command
12 years ago
Johannes M. Schmitt
48662e9b17
added no-scripts option
12 years ago
Johannes M. Schmitt
88a1f27798
added a way to disable custom installers
12 years ago
Hugo Hamon
33306250f0
[Command] fixed typo in "self-update" command class and added a "selfupdate" alias for the command.
12 years ago
Jordi Boggiano
0d31e4c567
Add --no-update flag to require
12 years ago
Jordi Boggiano
5777aa8087
Fix typo in validate command
12 years ago
Jordi Boggiano
c65af3e3a1
Add ValidatingArrayLoader and more validation for the validate command
12 years ago
Jordi Boggiano
f8d671a07a
Tweak exception message
12 years ago
Henrik Bjørnskov
0e73f3187b
Validate the name.
...
If uppercase characters is found suggest a new name with all lowercase
and using - as a seperator where the camelcased characters was found.
12 years ago
Jordi Boggiano
db16f68fbf
Tweak exception messages
12 years ago
Robert Schönthal
fdf30c424b
rebased to latest master
12 years ago
Robert Schönthal
e21ce860df
fixed issue #627 (autoload dump command)
12 years ago
Jordi Boggiano
011db77876
Output message before altering the source ref, fixes #851
12 years ago
Jordi Boggiano
e0edd882c5
Add --self flag to composer show to see the root package info
12 years ago
Jordi Boggiano
9333579ef1
Notify installs via create-project
12 years ago