173 Commits (main)

Author SHA1 Message Date
Gabriel Caruso 2ad6f611d7 Allow bin key to receive string 6 years ago
Andreas Möller d034f1e23f
Fix: Add 'sort-packages' to composer-schema.json 6 years ago
Mathias Brodala 7369aba645 Fix some grammar 7 years ago
Mathias Brodala 8424235fac Rename to "scripts-descriptions" 7 years ago
Mathias Brodala ad56577223 Ensure scripts description items are strings 7 years ago
Mathias Brodala 80d0c2029b Move "scripts-description" to toplevel
Fixes #6881
7 years ago
Jordi Boggiano b07be842a0 Remove feature-branches option as it is misnamed and duplicates the non-feature-branches option, refs #6475 7 years ago
Wil Hall f0924fb878 Add htaccess-protect option for disabling the creation of .htaccess files 7 years ago
Claus Due 965f1f42d1 Add support for feature-branches setting
A negative list of non-feature-branches names
is already supported - this patch adds a list of
branches names which *will* be considered as
feature branches.

Allows changing the currently hardcoded set of
expected feature branch names, from:

* master|trunk|default|develop

To any set of names or patterns that you desire.
7 years ago
Jordi Boggiano 95987f4aca Do not validate URLs properly in json schema, fixes #6243 7 years ago
Jordi Boggiano e556649ad9 Allow trunk-path, branches-path and tags-path to be bool as well as string, fixes #6238 7 years ago
Jordi Boggiano 0b27952dec Fix typo 7 years ago
Christophe Coevoet a012311077 Refactor the validation of inline package definitions
Reusing the root schema was a mistake, because the root schema does
not have the dist and source properties (which are populated by repository
objects).
7 years ago
Christophe Coevoet 37505f40f4 Loosen the validation for the URL field of VCS repositories
The URL of the VCS repository may not match the uri pattern of the JSON
schema spec, for instance when using a SSH URL of the repository.
7 years ago
Christophe Coevoet 8cc1859492 Fix the validation of required properties for inline packages 7 years ago
Mike Gladysch 9a38d0a222 Fixed #6021 7 years ago
Christophe Coevoet 40e6d19d73 Implement schema validation for repositories 7 years ago
Nicolas Grekas 6d4e60b991 Add --apcu-autoloader option to enable APCu caching of found/not-found classes 8 years ago
Jordi Boggiano 43903a3979 Merge branch '1.2' 8 years ago
Christophe Coevoet 1882f9a502 Enhance the json schema with validation for map objects 8 years ago
Rob Bast 62a890df5c
add dist/source to package definition 8 years ago
Rob Bast 585773a3cc
changes based on feedback from @stof in #5739 8 years ago
Rob Bast 9437122acc
composer repository json schema 8 years ago
moyo c4ac59601f Update related docs and config definitions 8 years ago
gitname 4f58c24195 Fix typo 8 years ago
Jordi Boggiano 98b0af1386 Add _comment to schema to make it valid, fixes #5364 8 years ago
Jordi Boggiano 592374ea93 Remove cacert copy from composer repo 8 years ago
Marc Würth 0621d0c226 Update bundled cacert.pem
Certificate data from Mozilla as of: Wed Jan 20 04:12:04 2016
8 years ago
Tomáš Markacz bb05ce5c7f Add RSS channel to support section in composer schema (closes #5073) 8 years ago
Serghei Ilin dacb97d6ad Add missing "secure-http" config property
"secure-http" configuration property recently introduced and available in documentation https://getcomposer.org/doc/06-config.md#secure-http is missing in the schema.
8 years ago
Jordi Boggiano 06be9b88c2 Merge remote-tracking branch 'slbmeh/feature/gh-2787' 8 years ago
Rob Bast 474541e9aa apply comments
- add capath to json schema
- simplify factory
- hash_file and sha256 for CA checking
- remove exception as scenario should not occur
- remove executable bit from CA file
- make CA file also group/world writable (we overwrite invalid content anyway)
    to avoid permission errors as much as possible
8 years ago
Jordi Boggiano 96ff17c520 Cleanups of XDG support, refs #1407 8 years ago
Jordi Boggiano 86a911150b Update bundled CAfile and other cleanups 8 years ago
Jordi Boggiano f8dff0867c Remove --disable-tls/--cafile flags and rely solely on config options plus some wording clarifications 8 years ago
Jordi Boggiano 5d015defb8 Merge remote-tracking branch 'origin/master' into tls-config 8 years ago
Michal Gebauer ce74477899 Configuration of GitLab driver 9 years ago
Jordi Boggiano 430c6f3972 Allow string in abandoned format as well, refs #4621 9 years ago
Thiago Carvalho 320533bcf9 Fixes #4610 9 years ago
Jordi Boggiano 084f6de24e Merge remote-tracking branch 'trivago/add_exclude'
Conflicts:
	doc/04-schema.md
	src/Composer/Autoload/AutoloadGenerator.php
9 years ago
Jordi Boggiano 615638c7c3 Simplify bin-compat by removing the nosymlink option, refs #3704 9 years ago
Kocsis Máté 1bfb4faac6 Removed unnecessary type in the JSON schema 9 years ago
Kocsis Máté 87c16073ec Merge branch 'master' of https://github.com/composer/composer into feature-bin-compat 9 years ago
Rob Bast 5ae9e7fe22 remove spdx files, introduce external library 9 years ago
Rob Bast e4118385a0 updated spdx related files 9 years ago
Thibault Jamet 3ab05fb54f Update composer-schema with archive configuration 9 years ago
Rob Bast 95dbb6d9db add docs to support section in composer schema, closes #4055
Note that this does not yet add this attribute @ packagist though
9 years ago
Josh Di Fabio 03b7388eb2 Fix typo in composer-schema.json 9 years ago
Possum 2e99b9fdf5 Use https where possible 9 years ago
Jordi Boggiano a57c51e8d7 Finalize platform override feature
- Added tests, docs
- Persist to lock file
- Add support in config command
- Added to json schema
9 years ago
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