1
0
Fork 0
Commit Graph

112 Commits (92b25acce05522a98cfd9eef0e42de126f71b326)

Author SHA1 Message Date
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
Bryan Davis ad1f8e6c5a Add classmap-authoritative config setting
Add a "classmap-authoritative" configuration setting that can be used to
disable searching the various prefix and fallback directories for
classes that have not been registered with the
Composer\Autoload\ClassLoader class map. This setting can be used to
optimize performance by avoiding a potentially large number of
`file_exists` calls when Composer is being used in a program with
additional autoloader facilities. Use of the setting implies
"optimize-autoloader" to ensure that the most complete class map
possible is generated.

Closes #3603
2015-01-03 17:35:25 -07:00
Mads Kristensen acf3638762 Converted to draft v4 schema
Editors such as Visual Studio leverages JSON Schema draft v4, but this schema was authored in the old draft v3. With just a few minor changes, the schema is now draft v4.

* Added `$schema` property to state it is using schema draft v4
* Changed `required` properties to arrays instead of strings. This is the only real difference from v3 to v4 in this schema
2014-11-28 14:02:05 -08:00
Jordi Boggiano 494f5698c4 Update SPDX licenses, fixes #3431 2014-11-18 10:30:16 +00:00
Jordi Boggiano 751190aafd Add new github-expose-hostname to docs/schema/config command, refs #3164 2014-10-17 17:21:59 +01:00
David Grudl c03bcf0103 Update SPDX license identifiers to version 1.19 2014-07-20 16:44:30 +02:00
Jordi Boggiano 8035dbd714 Add full timezone date example, fixes #3038 2014-06-07 17:04:06 +02:00
Jordi Boggiano 90d1b6e08a Rename basic-auth to http-basic, add docs/schema/config support, add local auth file support, add storage to auth.json, add store-auths config option, refs #1862 2014-05-27 13:50:47 +02:00
Pádraic Brady 6c7dd39837 Merge branch 'master' of github.com:composer/composer into tls-config 2014-03-02 18:58:31 +00:00
Pádraic Brady 470fb58273 Add a bundled cacert.pem as a last resort option 2014-03-02 14:06:47 +00:00
Bilal Amarni db91454a13 added an autoload-dev section 2014-02-28 00:27:03 +01:00
René Kerner b0ec8ee096 * added exclude-from-classmap feature
* updated to latest master version
2014-01-27 11:42:54 +01:00
Robert Boloc 8a221854b1 changed name of the option to optimize-autoloader 2014-01-17 14:43:54 +01:00
Robert Boloc f67f04adfb added config option to optimize the autoloader always 2014-01-16 20:44:16 +01:00
Jordi Boggiano 8775a89710 deprecate target-dir and update docs to recommend psr-4, refs #2459 2014-01-03 16:46:56 +01:00
Jordi Boggiano 3c5000ad7f CS tweaks and cleanups, allow "" to set fallback dirs, refs #2459 2014-01-03 16:31:23 +01:00
Jordi Boggiano b23742e30c Merge remote-tracking branch 'donquixote/feature/psr4-complete' 2014-01-03 14:56:36 +01:00
Jordi Boggiano f85a366eb9 Finalize new autoloader-suffix config value, refs #2524, fixes #1413 2013-12-26 17:40:52 +01:00
Stan Lemon 5fd3223aec Updates per @stof 2013-12-23 11:27:33 -05:00
Stan Lemon d6c46f2091 Allow the autoloader suffix to be configured from a project's composer.json 2013-12-22 22:01:42 -05:00
Andreas Hennings 39c09d5192 Add psr-4 stuff in a few more places. 2013-12-14 16:28:27 +01:00
Jordi Boggiano 7148b22414 Add github-domains config value for GitHub Enterprise setups, fixes #728
Signed-off-by: Gennady Feldman <gena01@gmail.com>
2013-10-28 12:40:20 -04:00
Jordi Boggiano 34dd0e2850 Add new config option to json schema 2013-10-16 18:35:44 +02:00
Nils Adermann 01a08a2ff3 As preparation for composer plugins, rename custom installers to plugins 2013-08-30 12:51:40 +02:00
Sascha Egerer e31a0f8296 Add pre-status-cmd and post-status-cmd hooks 2013-08-01 08:44:07 +02:00
Tobias Munk dac2f03847 added script events to schema 2013-05-31 11:47:31 +02:00
Taylor Otwell 60cd875cc2 Added "pre-autoload-dump" event.
This event is fired before the autoload file is generated, for either
an install or update command.
2013-05-06 09:37:21 -05:00
Jordi Boggiano b0297ef67a Add prefer-stable flag to pick stable package over unstable ones when possible 2013-04-02 18:40:42 +02:00
Nils Adermann 0b23643a44 Update json schema as archive include was removed 2013-03-28 12:49:53 +01:00
Nils Adermann afcdad4b23 Define an option to exclude files in the archive command 2013-03-28 12:49:52 +01:00
Miklós Márton 72a4146383 Scratch 'prefer-source'; 'preferred-install' is the bee's knees 2013-03-05 12:56:09 +01:00
Miklós Márton c92c69b10e Config option 'prefer-source' added to schema, refs #553 2013-03-04 20:23:55 +01:00
Jordi Boggiano f06c0cb580 Code reorgs and make bool values real booleans, refs #1637 2013-03-01 23:47:24 +01:00
Ricard Clau 48ac383599 initial steps with new config value, implementation of discard changes for git and svn 2013-02-28 19:02:19 +01:00
Jordi Boggiano 5652ce5e55 Update SPDX license identifiers 2013-02-22 19:24:20 +01:00
Jordi Boggiano 8518cd1be8 Add post-autoload-dump event to docs/schema 2013-02-22 18:44:50 +01:00
Jordi Boggiano 94e99b9c8b Update docs, config command and schema with all the config values 2013-02-12 11:16:52 +01:00
Jordi Boggiano e05391dc44 Improve validating array loader to avoid false positives 2012-11-05 14:18:04 +01:00
Jordi Boggiano 7023767501 Update docs and schema for new config option 2012-09-08 00:44:19 +02:00
Benjamin Eberlei 5c5e962b5a Add Files Autoloading key. This is a necessary feature to allow purely or partly functional libraries to be "autoloadable" by composer by calling require_once on every file in the "autoload"."files" list. 2012-06-02 18:18:33 +02:00
Jordi Boggiano 8c16c1bbef Update schema and add docs for support 2012-05-28 01:57:12 +02:00
Jordi Boggiano c694bd57a3 Merge remote-tracking branch 'digitalkaoz/issue_397' 2012-05-28 01:36:19 +02:00
Nils Adermann 7c7cac61b6 Merge remote-tracking branch 'github-seldaek/stability'
* github-seldaek/stability:
  Add stability docs
  Add test for Pool handling and refactor a couple things
  Add support for stabilities in lock file
  Infer stability flags for requirements that have an explicit version required of a lower stability
  Add InstalledArrayRepository to make sure the root package is not purged by the Pool because of a lower stability
  Basic handling of stability flags
  Add list of stabilities to base package
  Add minimum-stability flag on root package to filter packages by stability
  Add CompositeRepo::getRepositories
  Add package stability
2012-05-12 18:28:32 +02:00
Tom Klingenberg 74ca58bcb6 Use of SPDX license identifiers. 2012-05-12 10:50:48 +02:00
Jordi Boggiano 66068fedcb Add minimum-stability flag on root package to filter packages by stability 2012-05-09 19:10:03 +02:00
Jordi Boggiano 14f7d10478 Fix typos 2012-05-01 16:03:46 +02:00
Michael Cullum 0edc94cdce Adding role to author information 2012-05-01 16:03:44 +02:00
Jordi Boggiano e88a831bd1 Update JSON schema 2012-04-14 23:38:07 +02:00
Jordi Boggiano 3c07b4338a Rename include-paths to include-path, add deprecated warnings, only generate file if it is needed 2012-04-08 17:42:57 +02:00
Christoph Hochstrasser f369104bb1 Packages can define include paths. 2012-04-04 09:46:31 +02:00
Jordi Boggiano 30cfb69739 Add support for mapping a namespace prefix onto many dirs in the autoload config 2012-03-28 17:09:33 +02:00
Jordi Boggiano f0a0d7ffa7 Add docs for metapackages 2012-03-24 18:20:27 +01:00
Igor Wiedler 0fe90c5d87 update some links to point to getcomposer.org 2012-03-23 09:08:52 +01:00
digitalkaoz 20ae7efa2b fixed CS 2012-03-17 13:07:13 +01:00
digitalkaoz 7bbe60459f added source key, and support section to arraydumper 2012-03-16 08:44:36 +01:00
digitalkaoz 7cdb793b40 added support section to composer.json 2012-03-16 08:44:07 +01:00
Jordi Boggiano 27eb249aab Merge remote-tracking branch 'beberlei/ClassMaps' 2012-03-10 01:22:40 +01:00
Jordi Boggiano 7ceca9b789 Suppress relaxed schema and build it on the fly in php, refs #151 2012-03-08 00:44:09 +01:00
Jordi Boggiano 82dd1c1f7f Add relaxed schema for application packages that do not need to be distributed 2012-03-05 23:24:59 +01:00
Benjamin Eberlei 1af3604303 Add support for class-map generation. 2012-03-05 13:26:46 +01:00
digitalkaoz 6929c42848 added schema/syntax validation for composer.json 2012-02-23 21:54:49 +01:00
Jordi Boggiano a71f9c71f0 Move schema into res folder 2012-02-20 16:35:13 +01:00