1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 17:12:51 +00:00
Commit graph

150 commits

Author SHA1 Message Date
Jordi Boggiano
98b339e87a Make --keep-vcs imply --prefer-source, closes #4063 2015-05-25 11:28:07 +01:00
Nils Adermann
ec5416f03c loadDev parameter is nonsense, properly load packages in create command 2015-05-05 19:58:03 +02:00
Jordi Boggiano
b80038804f Fix env override regression, fixes #3820 2015-03-06 16:21:40 +00:00
Francis Besset
4f57fafb8d [create-project] Used no progress value for dependencies 2015-03-06 14:09:50 +01:00
Rob Bast
cb336a5416 Implement writeError throughout Composer 2015-02-25 11:00:35 +01:00
Jordi Boggiano
3efed220a6 Clean up event dispatching code and make package events extend installer events 2015-02-23 15:34:49 +00:00
Padraic Brady
510ec6b91c A couple of minor omissions from the merge 2015-01-29 20:57:23 +00:00
Padraic Brady
19e24c5804 Merge branch 'master' into tls-config
Conflicts:
	.travis.yml
	doc/03-cli.md
	src/Composer/Command/ConfigCommand.php
	src/Composer/Command/CreateProjectCommand.php
	src/Composer/Command/DiagnoseCommand.php
	src/Composer/Command/InstallCommand.php
	src/Composer/Command/RequireCommand.php
	src/Composer/Command/SelfUpdateCommand.php
	src/Composer/Command/ShowCommand.php
	src/Composer/Command/UpdateCommand.php
	src/Composer/Config.php
	src/Composer/Downloader/FileDownloader.php
	src/Composer/Factory.php
	src/Composer/Repository/ComposerRepository.php
	src/Composer/Repository/PearRepository.php
	src/Composer/Repository/Vcs/VcsDriver.php
	src/Composer/Util/GitHub.php
	src/Composer/Util/RemoteFilesystem.php
2015-01-29 20:31:56 +00:00
Jordi Boggiano
8d0c1a14b3 Add --ignore-platform-reqs to create-project, refs #1426 2015-01-01 16:21:22 +00:00
Jordi Boggiano
3ff8bcffea Allow loading of real composer repos by local path, fixes #1899 2014-12-08 22:04:10 +00:00
Jordi Boggiano
94926218e8 CS fixes 2014-10-17 18:57:27 +01:00
Ryan Weaver
aea2e901a9 Extracting logic into a new class related to selecting the latest version
Also refactored InitCommand slightly so that you can use this "latest version"
functionality when searching for a package as well.
2014-09-12 11:26:51 -04:00
Ryan Weaver
58535a62fa [#2492] Automatically using the latest version when requiring a package
This applies to the init and require commands.

Previously:

If you ommitted the version of a library, it prompted you to enter a version.

New Behavior:

If you omit the version, it automatically selects the latest version that is consistent
with your minimum-stability flag.

Is Jordi mentions, this is consistent with how npm works.
2014-09-12 11:26:51 -04:00
Ryan Weaver
947db97e33 [#2492] Removing an unused variable and use statement, fixing phpdoc 2014-09-12 11:26:51 -04:00
Jordi Boggiano
ac497feaba CS fixes 2014-06-10 16:13:12 +02:00
Stephan Hochdörfer
493ebbaacb Fix to load the auth information before the root package gets installed. 2014-05-30 18:37:47 +02:00
Jordi Boggiano
b437c1cc05 Support github auth directly in the RemoteFilesystem class 2014-04-11 14:29:17 +02:00
Pierre du Plessis
244e865a35 Fix typo 2014-04-02 08:54:24 +02:00
Pádraic Brady
306ba77e93 Implement the RemoteFilesystem Factory everywhere...
- also fixes impacted test
2014-03-01 17:01:44 +00:00
Pádraic Brady
d8cbd9f057 Expand cli TLS options to other commands + misc fixes 2014-02-28 20:35:08 +00:00
Sandy Pleyte
ee62ec60f0 Remove old comment 2014-02-24 16:22:44 +01:00
Sandy Pleyte
ab8f67e8cf Always use rootPackage config 2014-02-24 16:20:10 +01:00
Sandy Pleyte
9af5eaa574 Refactored the code with the switch statement. 2014-02-24 15:27:41 +01:00
Sandy Pleyte
bc7c93ae85 Fix for #1966, use the preferred-install from the rootPackage config to install the dependencies. 2014-02-24 13:34:50 +01:00
Jordi Boggiano
e126c92525 Fix exit codes, cc @tyrael 2013-11-22 16:17:02 +01:00
Bilal Amarni
61cc291c8a [CreateProject] allowed pretty version constraint 2013-11-20 00:47:02 +01:00
Jordi Boggiano
6e4e10620a Merge remote-tracking branch 'gerryvdm/feature'
Conflicts:
	src/Composer/Command/CreateProjectCommand.php
2013-09-26 11:57:05 +02:00
Jordi Boggiano
3f6227a996 Add workaround for php bug 53460 glob() can return false, fixes #2278 2013-09-26 11:38:33 +02:00
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.
2013-09-21 17:35:07 +02:00
Nils Adermann
242c58c789 Merge pull request #2179 from naderman/plugins
Plugins
2013-09-06 04:42:27 -07:00
Jordi Boggiano
80184b87d1 Fix undefined index error, fixes #2224 2013-09-02 11:22:21 +02:00
Nils Adermann
15ac7be6f1 Fix disabling plugins which has to happen in the factory now 2013-08-30 12:51:41 +02:00
Nils Adermann
f0b45099c1 Correct authorship info for files I edited 2013-08-30 12:51:41 +02:00
Nils Adermann
b83535d2d9 Add back --no-custom-installers option with a deprecated warning 2013-08-30 12:51:41 +02:00
Nils Adermann
01a08a2ff3 As preparation for composer plugins, rename custom installers to plugins 2013-08-30 12:51:40 +02:00
Jordi Boggiano
f9ce367c10 Remove dangling vendor/composer dir after create-project, fixes #2025 2013-08-12 01:48:14 +02:00
Jordi Boggiano
22c7d4119f install and create-project now default to dev mode (use --no-dev for production installs) 2013-06-04 15:22:19 +02:00
Tobias Munk
c1cae8d838 updated events to use composer from Factory
PSR-0 autoloading is now handled correctly
2013-06-03 17:20:16 +02:00
Tobias Munk
27b3f338e9 added TODO 2013-06-03 16:22:59 +02:00
Tobias Munk
60f96d5135 fixed post-create-project-cmd event
event occurs after autoloader is generated and refreshed
2013-06-02 23:21:36 +02:00
Jordi Boggiano
f0327caaa1 Cleanups 2013-06-01 13:36:32 +02:00
Tobias Munk
5586fa717b added author 2013-05-31 11:40:38 +02:00
Tobias Munk
337f817ba3 adjusted script event name 2013-05-31 11:38:41 +02:00
Tobias Munk
c0280256bf code refactoring 2013-05-31 10:49:27 +02:00
Tobias Munk
0ac5165f04 updated script events
added new POST_ROOT_PACKGE_INSTALL and POST_CREATE_PROjECT event, triggered only in create-project
changed create-package parameter 'package' to be optional, command now looks in working directory for composer project if no param is given
2013-05-29 00:30:18 +02:00
Jordi Boggiano
bebe86262a Refactor self.version update to work on all link types, refs #1883 2013-05-12 13:50:54 +02:00
Sam Minnee
d3437d6e76 NEW: Rewrite self.version in create-project (Fixes #1351)
When composer create-project is called and the resulting project is disconnected from the
parent repo, self.version references no longer work.  To fix that, this patch rewrites
self.version to the actual version number as part of 'composer create-project' execution
2013-05-09 14:42:42 +12:00
Jordi Boggiano
6da31f7c2b Add handling of preferred-install config in create-project, fixes #1780 2013-04-10 18:17:41 +02:00
Galymzhan
47442b6e39 change parameter order to preserve BC 2012-12-12 11:02:52 +06:00
Galymzhan
f59181d7d5 add support for --no-progress, fixes #621 2012-12-11 20:30:09 +06:00