173 Commits (main)

Author SHA1 Message Date
Jordi Boggiano 6b3178b169 Merge remote-tracking branch 'isoroku/fix-misspellings'
Conflicts:
	doc/articles/handling-private-packages-with-satis.md
9 years ago
jakoch 74a077dd3d updated spdx-license handling to include metadata
issue https://github.com/composer/composer/issues/3744

summary of changes
- replaced bin script "fetch-spdx-identifiers" by "update-spdx-licenses"
- "update-spdx-licenses" uses "Composer/Util/SpdxLicensesUpdater" to update "spdx-licenses.json" file with license identifier, fullname and osi-approved-status
- dropped "spdx-identifiers.json" (identifiers only)
- dropped "SpdxLicenseIdentifier", it's just "SpdxLicense" now
- modified "ShowCommand" to output the license with metadata and removed some unused method arguments (cleanup)
9 years ago
msiebeneicher 7522a33079 Merge branch 'master' of https://github.com/composer/composer into add_exclude
# By Jordi Boggiano (30) and others
# Via Jordi Boggiano (37) and Morgan Campbell (1)
* 'master' of https://github.com/composer/composer: (83 commits)
  Update 01-basic-usage.md
  Revert 331425bcb3 as well, fixes #3612
  Revert "Disable overwrites when no-ansi is present, fixes #3612"
  Update deps
  Use justinrainbow/json-schema 1.4
  Improved wording
  Fix docs basic-auth => http-basic
  Add test for Generics class
  Single variable for traits and enums
  Use HHVM_VERSION instead of HPHP_VERSION
  Add support for using classmap to autoload Hack enums
  Re-use existing autoloader suffix if available, fixes #3701
  Report Travis CI build success early
  Test on HHVM nightly releases. Allow to fail.
  Make parseJson safer
  Use get home from Config instead of factory
  Fix env override regression, fixes #3820
  [create-project] Used no progress value for dependencies
  Add docBlock and fix CS
  Fix output of first line of progress when output is not decorated, refs #3818
  ...
9 years ago
isoroku e0657b60a2 Fix misspellings 9 years ago
Steve Buzonas bf08b6eb90 add support for package based install type preferences 9 years ago
Kocsis Máté ca0b5495b6 Made the type of bin-compat to enum in Composer schema 9 years ago
Jordi Boggiano 53925295c3 Merge pull request #3699 from trivago/non_feature_branches
added non-feature-branches
9 years ago
msiebeneicher f28785a49d Merge branches 'add_exclude' and 'master' of https://github.com/trivago/composer into add_exclude
* 'add_exclude' of https://github.com/trivago/composer:

# By Jordi Boggiano (239) and others
# Via Jordi Boggiano (184) and others
* 'master' of https://github.com/trivago/composer: (638 commits)
  Simplified syntax
  github deprecation changes
  fix bug in GitDriver::supports for remote repo
  strict check, testcase(s)
  Fix regex matching and add more tests for addSubNode, refs #3721, fixes #3716
  solve edge case for `composer remove vendor/pkg`
  chmod 644 src/Composer/Command/RemoveCommand.php
  Avoid failing on composer show of lazy providers
  Show more info when a download fails
  Add notion of autoloader skipping autoload-dev rules
  Satis grammar fix.
  remove unused statements
  removed needless output param
  + limit git ls-remote to heads + escape repo url
  add check for remote Repository in GitDriver::supports
  suppress the prefix
  Improve notice about /usr/local/bin
  Reuse current file permissions
  Add the P character to the regex pattern
  Added deprecated warning for the dev option
  ...

Conflicts:
	src/Composer/Autoload/AutoloadGenerator.php
	src/Composer/Autoload/ClassMapGenerator.php
9 years ago
Rob Bast d02eb8760b strict check, testcase(s) 9 years ago
Kocsis Máté 63b3bc61b2 Added docs for bin-compat 9 years ago
rkerner abc9d60fcc added non-feature-branches to handle non-numeric branches matching configured patterns not been handled as feature branches 9 years ago
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
9 years ago
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
10 years ago
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
10 years ago
Jordi Boggiano 494f5698c4 Update SPDX licenses, fixes #3431 10 years ago
Jordi Boggiano 751190aafd Add new github-expose-hostname to docs/schema/config command, refs #3164 10 years ago
David Grudl c03bcf0103 Update SPDX license identifiers to version 1.19 10 years ago
Jordi Boggiano 8035dbd714 Add full timezone date example, fixes #3038 10 years ago
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 10 years ago
Pádraic Brady 6c7dd39837 Merge branch 'master' of github.com:composer/composer into tls-config 10 years ago
Pádraic Brady 470fb58273 Add a bundled cacert.pem as a last resort option 10 years ago
Bilal Amarni db91454a13 added an autoload-dev section 10 years ago
René Kerner b0ec8ee096 * added exclude-from-classmap feature
* updated to latest master version
10 years ago
Robert Boloc 8a221854b1 changed name of the option to optimize-autoloader 10 years ago
Robert Boloc f67f04adfb added config option to optimize the autoloader always 10 years ago
Jordi Boggiano 8775a89710 deprecate target-dir and update docs to recommend psr-4, refs #2459 11 years ago
Jordi Boggiano 3c5000ad7f CS tweaks and cleanups, allow "" to set fallback dirs, refs #2459 11 years ago
Jordi Boggiano b23742e30c Merge remote-tracking branch 'donquixote/feature/psr4-complete' 11 years ago
Jordi Boggiano f85a366eb9 Finalize new autoloader-suffix config value, refs #2524, fixes #1413 11 years ago
Stan Lemon 5fd3223aec Updates per @stof 11 years ago
Stan Lemon d6c46f2091 Allow the autoloader suffix to be configured from a project's composer.json 11 years ago
Andreas Hennings 39c09d5192 Add psr-4 stuff in a few more places. 11 years ago
Jordi Boggiano 7148b22414 Add github-domains config value for GitHub Enterprise setups, fixes #728
Signed-off-by: Gennady Feldman <gena01@gmail.com>
11 years ago
Jordi Boggiano 34dd0e2850 Add new config option to json schema 11 years ago
Nils Adermann 01a08a2ff3 As preparation for composer plugins, rename custom installers to plugins 11 years ago
Sascha Egerer e31a0f8296 Add pre-status-cmd and post-status-cmd hooks 11 years ago
Tobias Munk dac2f03847 added script events to schema 11 years ago
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.
11 years ago
Jordi Boggiano b0297ef67a Add prefer-stable flag to pick stable package over unstable ones when possible 11 years ago
Nils Adermann 0b23643a44 Update json schema as archive include was removed 11 years ago
Nils Adermann afcdad4b23 Define an option to exclude files in the archive command 11 years ago
Miklós Márton 72a4146383 Scratch 'prefer-source'; 'preferred-install' is the bee's knees 11 years ago
Miklós Márton c92c69b10e Config option 'prefer-source' added to schema, refs #553 11 years ago
Jordi Boggiano f06c0cb580 Code reorgs and make bool values real booleans, refs #1637 11 years ago
Ricard Clau 48ac383599 initial steps with new config value, implementation of discard changes for git and svn 11 years ago
Jordi Boggiano 5652ce5e55 Update SPDX license identifiers 11 years ago
Jordi Boggiano 8518cd1be8 Add post-autoload-dump event to docs/schema 11 years ago
Jordi Boggiano 94e99b9c8b Update docs, config command and schema with all the config values 11 years ago
Jordi Boggiano e05391dc44 Improve validating array loader to avoid false positives 12 years ago
Jordi Boggiano 7023767501 Update docs and schema for new config option 12 years ago
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. 12 years ago
Jordi Boggiano 8c16c1bbef Update schema and add docs for support 12 years ago
Jordi Boggiano c694bd57a3 Merge remote-tracking branch 'digitalkaoz/issue_397' 12 years ago
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
12 years ago
Tom Klingenberg 74ca58bcb6 Use of SPDX license identifiers. 12 years ago
Jordi Boggiano 66068fedcb Add minimum-stability flag on root package to filter packages by stability 12 years ago
Jordi Boggiano 14f7d10478 Fix typos 12 years ago
Michael Cullum 0edc94cdce Adding role to author information 12 years ago
Jordi Boggiano e88a831bd1 Update JSON schema 12 years ago
Jordi Boggiano 3c07b4338a Rename include-paths to include-path, add deprecated warnings, only generate file if it is needed 12 years ago
Christoph Hochstrasser f369104bb1 Packages can define include paths. 12 years ago
Jordi Boggiano 30cfb69739 Add support for mapping a namespace prefix onto many dirs in the autoload config 12 years ago
Jordi Boggiano f0a0d7ffa7 Add docs for metapackages 12 years ago
Igor Wiedler 0fe90c5d87 update some links to point to getcomposer.org 12 years ago
digitalkaoz 20ae7efa2b fixed CS 12 years ago
digitalkaoz 7bbe60459f added source key, and support section to arraydumper 12 years ago
digitalkaoz 7cdb793b40 added support section to composer.json 12 years ago
Jordi Boggiano 27eb249aab Merge remote-tracking branch 'beberlei/ClassMaps' 12 years ago
Jordi Boggiano 7ceca9b789 Suppress relaxed schema and build it on the fly in php, refs #151 12 years ago
Jordi Boggiano 82dd1c1f7f Add relaxed schema for application packages that do not need to be distributed 12 years ago
Benjamin Eberlei 1af3604303 Add support for class-map generation. 12 years ago
digitalkaoz 6929c42848 added schema/syntax validation for composer.json 12 years ago
Jordi Boggiano a71f9c71f0 Move schema into res folder 12 years ago