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
Jordi Boggiano
fd776853a4
Show version for platform/installed packages, fixes #825
12 years ago
Jordi Boggiano
ffecd39d33
Refactor repositories handling in config/factory/loader, fixes #828 , fixes #826
12 years ago
Jordi Boggiano
3ac11b932c
Expose default repositories in system config file
12 years ago
Jordi Boggiano
4a6ae454c2
Merge remote-tracking branch 'dpb587/multiple-repos'
...
Conflicts:
src/Composer/Factory.php
src/Composer/Package/Loader/RootPackageLoader.php
tests/Composer/Test/Package/Loader/RootPackageLoaderTest.php
12 years ago
Jordi Boggiano
66e9dcddf4
CS fixes
12 years ago
Jordi Boggiano
b566ba77ac
Fix behavior broken by #665
12 years ago
Jordi Boggiano
de449aa144
Merge remote-tracking branch 'PSeiffert/master'
...
Conflicts:
src/Composer/Factory.php
src/Composer/Repository/RepositoryManager.php
12 years ago
Jordi Boggiano
6e90c0be51
CS fixes
12 years ago
Jordi Boggiano
6f576d4d4f
Add update <package> example to docs of update
12 years ago
Jordi Boggiano
99e3cad0b5
Soften wording on validation of licenses
12 years ago
Jordi Boggiano
5edb49c067
Show include path in show command
12 years ago
Jordi Boggiano
03ded63924
Root version detection improvement, fixes #748
12 years ago
Jordi Boggiano
56b79125bf
Check out the branch instead of headless commit when creating a project
12 years ago
Jordi Boggiano
31330a739f
Fix CS
12 years ago
Igor Wiedler
a0c90bad0f
Fix normalization in init command with --no-interaction and --require
...
When calling `composer init --no-interaction --require foo/bar:dev-master` it
would fail because in non-interactive mode it would only split on space.
12 years ago
Nils Adermann
242323cba4
Merge pull request #736 from Seldaek/require-update
...
Require command & update <package>
12 years ago
Jordi Boggiano
704b7a655f
Clarity fix
12 years ago
Jordi Boggiano
c694bd57a3
Merge remote-tracking branch 'digitalkaoz/issue_397'
12 years ago
Jordi Boggiano
8ffe3c2e26
Cosmetic fixes
12 years ago
Jordi Boggiano
c580cb8ba8
Add package argument to the update command, fixes #470 , fixes #450
12 years ago
Jordi Boggiano
42c501aaa4
Force the installation of the newly required packages in require command
12 years ago
Jordi Boggiano
1443ea25f9
Make sure a constraint is provided with input requirements
12 years ago
Jordi Boggiano
27f8019dbd
Refactor init & require commands
12 years ago
Jordi Boggiano
b33496c853
Merge remote-tracking branch 'jeremyFreeAgent/master'
...
Conflicts:
doc/03-cli.md
12 years ago
Jordi Boggiano
356a01b480
Switch back to getOption since hasOption always returns true
12 years ago
Jordi Boggiano
1095d84256
Rename --skip-scripts to --no-scripts
12 years ago
Jordi Boggiano
1f2f161508
Merge remote-tracking branch 'pjedrzejewski/feature/skipping-scripts-execution'
...
Conflicts:
src/Composer/Installer.php
12 years ago
Jordi Boggiano
99513ba52b
Adjust output for create project, refs #724
12 years ago
Jordi Boggiano
713309b38c
Show exact version being installed in create-project, fixes #724
12 years ago
Jordi Boggiano
1bd4ccbd54
php-cs-fixer magic
12 years ago
Johannes M. Schmitt
305b9cee9a
added --dev to create-project command ( closes #645 )
12 years ago
Paweł Jędrzejewski
129884ef72
rename skipScripts to runScripts.
12 years ago
Paweł Jędrzejewski
123dec52fb
typos in command option description.
12 years ago
Paweł Jędrzejewski
cc8b33117a
add --skip-scripts option to install/update commands.
12 years ago
Jordi Boggiano
ca558369fc
Fix bug in ValidateCommand
12 years ago
Jordi Boggiano
160d2e0847
Minor style fix
12 years ago
Jordi Boggiano
e84e550df3
Refactor validate command to offer more flexibility in adding validation
12 years ago
Jordi Boggiano
fd38971777
Fix CS & simplify code
12 years ago
Tom Klingenberg
74ca58bcb6
Use of SPDX license identifiers.
12 years ago
Jordi Boggiano
e7dc42a8a2
Order search results by score & highlight matches in description
12 years ago
Jordi Boggiano
4ecf55e180
Minor cleanup
12 years ago
Ryan Weaver
9e1ed5a52f
[Command] Modifying the output of SearchCommand to make evenly-spaced package names for readability of results
12 years ago
Paul Seiffert
1713acf011
Coding standards and Cosmetics
...
Processing feedback given by @stof and @Seldaek.
12 years ago
Paul Seiffert
e4a0de5df4
When using composer commands outside a Composer\Console\Application, one does not have an IOInterface object
12 years ago
Paul Seiffert
51e165c6c5
Composer\Command dependencies (application and io) should can now be injected. This way, Composer\Command objects can be used in a regular symfony2 Console\Application.
12 years ago
Jordi Boggiano
8ff497ac6f
Skip filter_var on 5.3.2 since it is buggy
12 years ago
Danny Berger
8d6d155153
Add internal support for multiple default composer repositories.
13 years ago
Jordi Boggiano
4a55d85a2d
Respect umask in chmod calls
13 years ago
Jordi Boggiano
120171ff5a
Fix create project
13 years ago
Jordi Boggiano
7837be0621
Fix creation of ComposerRepository, refs #587
13 years ago
Jordi Boggiano
4cc45d3c37
Add require-dev and other missing links in show command
13 years ago
Povilas Balzaravicius Pawka
443ce65765
Fix fatal on show command
13 years ago
Jordi Boggiano
7f0a0857c0
Catch PharException as well in self-update failures
13 years ago
Jordi Boggiano
a9ccfeb548
chmod new file when running self-update
13 years ago
Jordi Boggiano
7b87d2b573
Fix self-update saying the download is corrupt when it isn't
13 years ago
Jordi Boggiano
d1f66073ca
Update depends command
13 years ago
Jordi Boggiano
53191eb0fe
Remove recommend, make suggest informational, add require-dev, fixes #78 , fixes #510
13 years ago
H. Westphal
397fa05c5b
Validate the integrity of the downloaded phar before overwriting
13 years ago
Jordi Boggiano
48ae8bf3ec
Use pathinfo instead of substr
13 years ago
Jordi Boggiano
61708a1bb1
Code cleanup
13 years ago
Jordi Boggiano
278f0ec350
Fix git config parsing, fixes #525
13 years ago
Peter O'Callaghan
579b86ec27
Allows apostrophe (and single quote, since this is often used in lieu) in author name.
13 years ago
Jérémy Romey
260d7d434f
Add a command for adding package to composer.json
...
Updated doc for require command
13 years ago
Luis Cordova
f76c65914c
cleaned up some getApplication()->getIO() into getIO()s
13 years ago
Igor Wiedler
0fe90c5d87
update some links to point to getcomposer.org
13 years ago
Jordi Boggiano
ea2d46bcff
Fix ComposerRepository calls, fixes #475
13 years ago
Nils Adermann
366e98288e
Merge pull request #473 from Seldaek/gzip
...
Automatic gzip encoding support
13 years ago
Jordi Boggiano
b12e73792c
Handle SolverProblemException nicer
13 years ago
Jordi Boggiano
7f65dd7409
Use RemoteFilesystem everywhere we do http requests
13 years ago
Jordi Boggiano
d291d65faf
Add getIO proxy to base Command class
13 years ago
digitalkaoz
7cdb793b40
added support section to composer.json
13 years ago
Michael Wallner
f65fe27097
fixed create-project with json file
...
the create-project command tried to instantiate a FilesystemRepository
with the json file as string instead of an JsonFile instance
13 years ago
Jérôme Tamarelle
dd6608e4c2
Allow unicode characters for author in "composer init" command.
13 years ago
Igor Wiedler
cd6eb49427
fix notice when running show command on package without keywords
13 years ago
Jordi Boggiano
09083089ff
Merge remote-tracking branch 'digitalkaoz/show_command_keywords'
...
Conflicts:
src/Composer/Command/ShowCommand.php
13 years ago
Jordi Boggiano
6b453906f0
Merge pull request #432 from digitalkaoz/issue_428
...
fluent api for installer options
13 years ago
Jordi Boggiano
b024615e41
Merge pull request #433 from simensen/InstallerCleanup
...
Remove unneeded code from UpdateCommand
13 years ago
Jordi Boggiano
5dba49af54
Show package descriptions in show/search commands, merge similar packages in show, fixes #366
13 years ago
Jordi Boggiano
33c926c303
Show/Search command cleanups
13 years ago
digitalkaoz
3d56a5645e
fixed cs
13 years ago
digitalkaoz
741a66e504
added description to show command, searching in description aswell
13 years ago
digitalkaoz
a4f6314daa
reverted command interfaces for installer refactoring
13 years ago
Beau Simensen
8fde0379ed
Cleanup, not needed here.
13 years ago
digitalkaoz
673dd6312b
fluent api for installer options
13 years ago
digitalkaoz
e6e90bb174
added keywords to show command
13 years ago
Jordi Boggiano
5f2e42ec46
CS fixes, made EventDispatcher optional in factory method
13 years ago
Jordi Boggiano
2b2f7e1748
Merge remote-tracking branch 'simensen/Install'
13 years ago
digitalkaoz
38f866f1dd
fixes #373 aswell
13 years ago
digitalkaoz
202ca60559
modified search listing (grouping packages)
13 years ago
Martin Hasoň
98d7e31c74
Sort versions before print
13 years ago
Beau Simensen
b1c93d1f0a
Fixed unused `use` per @stof and horrible bug that made this class no longer work.
13 years ago
Beau Simensen
3352066ece
Use Installer for Create Project Command.
13 years ago
Beau Simensen
8a7d31706d
Renamed Composer\Install to Composer\Installer
13 years ago
Beau Simensen
9404d8d593
Constructor, factory
13 years ago
Beau Simensen
d1dea702c9
Moving install related code to Composer\Install
13 years ago
Jordi Boggiano
ea593fdb10
Allow autodetection of the version
13 years ago
Jordi Boggiano
347f8feeec
Update docs
13 years ago
Jordi Boggiano
cb57c7bf42
Merge branch 'InstallAppCommand' of https://github.com/beberlei/composer
13 years ago
Jordi Boggiano
82dd1c1f7f
Add relaxed schema for application packages that do not need to be distributed
13 years ago
Jordi Boggiano
bd54e43d37
Rework JsonFile API slightly, avoid tokenizing in php if the syntax is valid
13 years ago
Jordi Boggiano
07a82c9223
Merge remote-tracking branch 'digitalkaoz/json_schema_validator'
13 years ago
Jordi Boggiano
774e9d0da6
Remove dependency on filter_var
13 years ago
Jordi Boggiano
30f612f672
Fix undef variable in search, fixes #374
13 years ago
Benjamin Eberlei
36ccd38aa7
Directly install dependencies
13 years ago
Benjamin Eberlei
24de082fd5
Refactored
13 years ago
Benjamin Eberlei
db64917a83
Renamed install-project to create-project to differentiate from just "install".
13 years ago
Benjamin Eberlei
23719b3b1d
Rename packagist url to repository url
13 years ago
Benjamin Eberlei
f60fe5622a
Add missing use stmt.
13 years ago
Benjamin Eberlei
1c67633c70
Refactored downloader code and made packagist configuration flexible and validated.
13 years ago
Benjamin Eberlei
bbf745f3e6
Add command to install a package as a new project into a non-existant directory. This fetches the given package from packagist or a different packagist-source and installs it into a given path.
13 years ago
Jordi Boggiano
0e6cf61b67
Avoid showing duplicates versions
13 years ago
Jordi Boggiano
1228c04984
Add support for extra.branch-alias config to remap master on 2.1.x for example
13 years ago
digitalkaoz
6929c42848
added schema/syntax validation for composer.json
13 years ago
Jordi Boggiano
956b54e516
Use policy rule instead of stacking up another repo to prioritize aliased packages
13 years ago
Jordi Boggiano
59d2b1145c
Add lock file alias support and a bunch of fixes
13 years ago
Jordi Boggiano
f9fc9695e9
Wrap the package in an aliased package instead of replacing
13 years ago
Jordi Boggiano
82054f2060
Add aliasing: `foo as bar` will require foo and automatically make it replace the bar version
13 years ago
Jordi Boggiano
5eb333680b
Rename findPackagesByName to findPackages and allow version arg
13 years ago
Nils Adermann
de1765aa48
Remove workaround error detection in install command
13 years ago
Jordi Boggiano
621388e3be
Fix warning when no package to update is found
13 years ago
Nils Adermann
39aa5c0752
Merge pull request #329 from Seldaek/new_dev
...
[BC Break] New dev handling
13 years ago
Jordi Boggiano
2976bd82b0
Simplify code
13 years ago
Nils Adermann
509188c112
Use updateAll request method in upddate mode in install command
13 years ago
Jordi Boggiano
c95b4d05fd
Fix forcing of the source-ref from lock file
13 years ago
Jordi Boggiano
4233a4823d
Skip platform repo and only force-update packages that have a new source ref
13 years ago
Jordi Boggiano
646d01658a
Rename source_ref to source-ref
13 years ago
Jordi Boggiano
88b018068c
Force dev packages to update to latest ref on update
13 years ago
Jordi Boggiano
496188f714
Force installs from lock to reinstall dev packages from the exact locked reference
13 years ago
Jordi Boggiano
fd0bf14eb2
Support both require and requires as depends link-type arg
13 years ago
Jordi Boggiano
1e6633b3c3
Allow search command to work without a composer.json
13 years ago
Jordi Boggiano
ee7b68c049
Allow people to manually enter requirements
13 years ago
Jordi Boggiano
9a2204cd74
Improve username detection and other minor fixes
13 years ago
Jordi Boggiano
f48cfb4fdf
Avoid requirement on composer.json to search for requirements
13 years ago
Jordi Boggiano
23aade21f0
Show empty default value when one is specified
13 years ago
Jordi Boggiano
95883f058c
Merge remote-tracking branch 'justinrainbow/init_command'
13 years ago
Jordi Boggiano
01cb2c5dd7
Fix typo
13 years ago
Jordi Boggiano
256bfedea1
Merge remote-tracking branch 'jalliot/proxy2'
...
Conflicts:
src/Composer/Downloader/FileDownloader.php
src/Composer/Repository/PearRepository.php
13 years ago
Beau Simensen
81d41fc442
Rename --dev to --prefer-source
13 years ago
Justin Rainbow
3a5d09a8b0
Removing the 'writeSection' method from 'DialogHelper'
13 years ago
Justin Rainbow
7a0a1788e3
Moved DialogHelper into the base Application
13 years ago
Justin Rainbow
9ec641659e
Validating package name input for init command
13 years ago
Justin Rainbow
950bbcbed9
Init now asks user if they want to ignore the vendor dir
13 years ago
Justin Rainbow
cd9c86c70c
Adding author defaults to init command
13 years ago
Justin Rainbow
6ff7694de1
Fixing error when no requirements are defined
13 years ago
Justin Rainbow
2fbd9490b1
Adding a requirement definition stage to init command
13 years ago
Justin Rainbow
10ca974f33
Quick change to the help text for InitCommand
13 years ago
Justin Rainbow
34bbfb70d2
Initial version of InitCommand
...
This command allows a user to create a basic composer.json
definition easily. The idea is to create a command similar
to the `npm init` command.
This version only has `name` and `description` support.
Additional fields will be added such as `require`, `authors`,
`version`, etc.
13 years ago
Jordi Boggiano
6971657ad0
Merge debug:packages into the show command (if used without package arg)
13 years ago
Jordi Boggiano
247d19e2f8
Add type hints
13 years ago
Jordi Boggiano
93baa38d5c
Allow show command to work without a composer.json
13 years ago
Jordi Boggiano
f761bf8d99
Simplify install() signature
13 years ago
Beau Simensen
e1370be7a0
Continued refactoring of install() method, mainly by way of adding Composite Repository
...
* Rewritten `install()` method now takes a repository instead of a list of packages (per @nadermen)
* Added Composite Repository
* Added tests for Composite Repository
* Removed "local repository" concept from Platform Repository
* Removed some `use` statements for Platform Repository where it was not actually being used
13 years ago
Beau Simensen
473f127ff1
Super simplified, works, but needs refactoring w/ Composer Repository
13 years ago
Beau Simensen
df72919ba3
@naderman says this is wrong.
13 years ago
Beau Simensen
57ffc9d59b
Changed some variable names, continue 2, locked install changed
...
Changed some some instances of the $package variable name to be
able to be consistent in all branches of the "add to request"
section of code.
Updated an instance of "break" to "continue 2" as it was resulting
in the same package getting both update() and install() called
on request. Seems like this is probably not needed, should be
just one or the other? (could be way wrong on this)
Gave "locked" branch of the update/locked/install code some
logic to handle internally installed packages.
13 years ago
Beau Simensen
c1ba2be345
Provide the ability to specify internally installed packages (i.e., embedded in phar)
13 years ago
Beau Simensen
c94d867c07
Make install method self contained
...
Experimental: Updated `install()` method to accept its Composer
and input option dependencies as method arguments.
13 years ago
Jordi Boggiano
385075cda3
Cosmetic fixes
13 years ago
Jordi Boggiano
d52feb1a9f
Merge remote-tracking branch 'digitalkaoz/issue_209'
13 years ago
Jordi Boggiano
7add1001ae
Refactor scripts
13 years ago