1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 09:02:59 +00:00
Commit graph

35 commits

Author SHA1 Message Date
vlakoff
d5ab072ec1 Optimize check for empty file 2015-03-17 15:52:44 +01:00
vlakoff
3a68534d20 Fix parser error if composer.json existing but empty 2015-03-14 15:26:53 +01:00
Rob Bast
cb336a5416 Implement writeError throughout Composer 2015-02-25 11:00:35 +01:00
Carsten Brandt
7e3f4805c0 Updated the documentation of the require command
It did not mention that it is possible to leave out the version constraint.
2015-01-10 17:25:31 +01:00
Andreas Möller
6ddd8d4ec7 Enhancement: Add sort-packages option which allows sorting of packages 2014-12-13 00:24:14 +01:00
Jordi Boggiano
d249d0c121 Reset composer to load the new requirements, fixes #3511 2014-12-05 11:58:21 +00:00
Nils Adermann
859c8f5bb3 Use the repositories configured in composer.json for the require command 2014-12-04 16:14:32 +01:00
Olivier Laurendeau
b6b3cf3a49 Add ignore-platform-reqs option to require command 2014-11-14 17:32:42 +01:00
Jordi Boggiano
94926218e8 CS fixes 2014-10-17 18:57:27 +01:00
Jordi Boggiano
2e1373b339 Update require message and delete empty file at the end in case of failure, fixes #3260 2014-10-04 17:31:45 +01:00
Nils Adermann
1e4df0690a Shorter boolean conversion 2014-04-10 12:10:45 -07:00
Nils Adermann
e93eeca13a Merge pull request #2894 from naderman/update-no-dev
Add an --update-no-dev option to the require command
2014-04-09 20:29:46 -07:00
Nils Adermann
a2b227740a Add an --update-no-dev option to the require command 2014-04-09 20:08:10 -07:00
Nils Adermann
465f0e3761 When requiring a package remove it from require-dev and vice versa 2014-04-09 19:46:24 -07:00
Steve Buzonas
3ad47b5d2c add allowing require to update dep chain, fixes composer/composer#2668 2014-02-10 15:30:46 -05:00
Jordi Boggiano
e126c92525 Fix exit codes, cc @tyrael 2013-11-22 16:17:02 +01:00
Nils Adermann
d00ca4bcdb Add a Command event triggered by all comands which load plugins 2013-09-05 14:30:03 +02:00
Jordi Boggiano
51ea1f03f9 Validate constraints in require command, fixes #2197 2013-08-26 13:29:47 +02:00
John Long
4d6910ece6 Remove unused variable $dialog from RequireCommand::configure
I traced the get and getHelperSet to Symfony's Console\Command and Console\Helper\HelperSet, and there was only stored variables being retrieved (no actions being done that'd require these functions to be called).
2013-05-23 23:28:41 -05:00
Jordi Boggiano
7ae0dd2a2a Always install dev requirements when using the require command, fixes #1676 2013-03-10 13:44:54 +01:00
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 2013-03-10 13:40:52 +01:00
Jordi Boggiano
dd372e7635 Add explicit return 2013-02-12 10:14:44 +01:00
Bilal Amarni
ae9a001053 RequireCommand - check if composer.json is writable 2013-02-02 10:49:32 +01:00
Bilal Amarni
99e4173b3d RequireCommand - rollback if it fails (fixes #1469) 2013-02-01 10:24:05 +01:00
Igor Wiedler
24611ec919 Add newline because JsonManipulator does not expand {} 2013-01-13 16:02:50 +01:00
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).
2013-01-13 15:57:03 +01:00
Galymzhan
f59181d7d5 add support for --no-progress, fixes #621 2012-12-11 20:30:09 +06:00
Beau Simensen
8d1d060d66 Made getComposerFile static. 2012-12-02 16:24:39 -08:00
Arnaud Le Blanc
0119e80c18 added --prefer-dist option to require command 2012-10-02 13:42:07 +02:00
Jordi Boggiano
0d31e4c567 Add --no-update flag to require 2012-07-19 17:19:36 +02:00
Jordi Boggiano
31330a739f Fix CS 2012-05-28 16:38:52 +02:00
Jordi Boggiano
8ffe3c2e26 Cosmetic fixes 2012-05-27 23:21:10 +02:00
Jordi Boggiano
42c501aaa4 Force the installation of the newly required packages in require command 2012-05-26 15:17:52 +02:00
Jordi Boggiano
27f8019dbd Refactor init & require commands 2012-05-26 14:45:19 +02:00
Jérémy Romey
260d7d434f Add a command for adding package to composer.json
Updated doc for require command
2012-04-03 13:49:42 +02:00