173 Commits (main)

Author SHA1 Message Date
Jordi Boggiano bd6403a6be
Fix newly surfaced errors 2 years ago
Jordi Boggiano 6fdd9494ef
Implement config type parsing 2 years ago
Jordi Boggiano cbda47634e
Add missing bitbucket-oauth from composer schema 2 years ago
Jordi Boggiano dca0a65597
Add source/dist keys to root schema, fixes #10655 2 years ago
Jordi Boggiano a3e91b5be6
Add allow-plugins config value (#10314)
Fixes #5659

- Automatically switch off plugins by default in July 2022
- reword hash into object in schema

Co-authored-by: Nils Adermann <naderman@naderman.de>
2 years ago
Tizian Schmidlin 4f789a5f6d
Add "use-parent-dir" config to configure prompt when no composer.json is present in current dir (#10307)
Fixes #10299

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2 years ago
Jordi Boggiano f7525ddf52
Reorder config slightly 2 years ago
Andrey Helldar 613526bab2
Feature proposal: sorting keys by logical blocks (#10089) 2 years ago
Jordi Boggiano 91548d178b
Add support for setting platform packages to false to disable them (#10308)
Fixes #9664
2 years ago
Helmut Hummel f12a5b8214
Expose path to autoload in a global var for binaries (#10137)
Always create proxy files for package binaries,
to avoid not working binaries in case the package
was installed from a path repository and is itself linked

If the binary is a PHP script, a global variable is now exposed,
which holds the path to the vendor/autoload.php file.
This variable can the be used in the binaries to include this file
without guessing where the path to the vendor folder might be.

Additionally it is now checked on binary creation whether
the reference binary has a shebang and if not, generates
a much simple proxy code, because the stream wrapper code,
that is required for PHP <8 to omit the shebang from the output,
can be skipped.

Fixes: #10119

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2 years ago
Raphael de Almeida 150acc5559
Removed HgBitbucketDriver support (#10248) 3 years ago
Sebastian Blank a9031e40eb
Add "symlink" option for "bin-compat" config (#9959) 3 years ago
Jordi Boggiano a23f8a3d6c
Add gitlab-protocol to config command and schema 3 years ago
Guilliam Xavier 2d21dd675a Invert strict/lax schema validation 3 years ago
Guilliam Xavier 9e2cb30dfb Revert "Merge remote-tracking branch 'BoShurik/schema'"
This reverts commit 89c3045e2b, reversing
changes made to 991985792d.
3 years ago
Jordi Boggiano 8a3f4a8400
Add secure-svn-domains config option to mark secure svn:// hostnames, fixes #9872 3 years ago
Jordi Boggiano 89c3045e2b
Merge remote-tracking branch 'BoShurik/schema' 3 years ago
Guilliam Xavier 8d8842eb8c
Fix schema minimum-stability pattern 3 years ago
BoShurik cc55b56dd7 Allow optional name and description fields for project type 3 years ago
Jordi Boggiano 6c31744c04
Disable full platform-check for extensions by default, now set to php-only, refs #9412 4 years ago
Jordi Boggiano 08ad53f9fb
Merge branch '1.10' 4 years ago
Jordi Boggiano 7fda8433b1
Update schema to use anyOf instead of oneOf, fixes #9295 4 years ago
Jordi Boggiano 2a36c3a70a
Minor tweaks 4 years ago
Jordi Boggiano 90332f1dbd
Add a readonly mode to the cache, fixes #9150 4 years ago
Jordi Boggiano 923f198a1f
Fix default-branch attribute on package files, and add it to schema 4 years ago
Jordi Boggiano ba3df8faea
Merge pull request #8843 from FIDATA/feature/archive-name
Add (default) base name of archive into composer.json
4 years ago
Basil Peace 6140897d08 feat: add archive.name config option 4 years ago
Jordi Boggiano 2c8a4a1b93
Add platform-check config option to disable platform_check.php generation, and disable it for Composer 4 years ago
Jordi Boggiano bd5952c7ff
Merge pull request #8793 from cebe/naming-pattern-json-schema
Add package naming pattern to the composer.json JSON schema
4 years ago
Jordi Boggiano 91dcde2059
Revert "Remove the pear repository type from the JSON schema" 4 years ago
Carsten Brandt 3e8021ed06
Add package naming pattern to the composer.json JSON schema
fixes #8749
4 years ago
Christophe Coevoet 8f489d3d6c
Remove the pear repository type from the JSON schema 4 years ago
Jordi Boggiano 3dd6dbe14a
Merge pull request #8774 from Ayesh/https
Update HTTP URLs to their HTTPS if they already redirect automatically
4 years ago
Ayesh Karunaratne 280f02b4bc
Update HTTP URLs to their HTTPS if they already redirect automatically 4 years ago
Christophe Coevoet 4497046f16
Add the new repository options in the JSON schema 4 years ago
Jordi Boggiano 781cf75191
Fix schema rules to be more strict 4 years ago
Jordi Boggiano f964b83018
Add bearer support in config command and add to docs/schema, refs #8671 4 years ago
Nils Adermann 5c4f524d6a
Add funding field to composer.json
You can specify a list of funding options each with a type and URL. The
type is used to specify the kind of funding or the platform through
which funding is possible.
4 years ago
Jordi Boggiano c5e61f3466
Merge branch '1.9' 4 years ago
Jordi Boggiano b6673612e0
Allow dev-* versions in schema, refs #8262 5 years ago
Jordi Boggiano eea4098f98
Merge branch '1.9' 5 years ago
Andreas Schempp 8cbc595790
Validate schema name, type and version 5 years ago
Arnout Boks 7c5e5e3ede Add option to disable the lock file
When the `lock` option is set to false, composer will not write a
`composer.lock` file to disk. This signals that the package is meant
to be developed with unlocked and always updated dependencies. At the
moment, both `install` and `update` are allowed to install the
dependencies for such a package. If #6822 is implemented, only `update`
should be used for packages without a lockfile.

https://github.com/composer/composer/issues/8354
5 years ago
Kath Young fbb9d20c33 Adjusted config name to be more descriptive, added documentation 5 years ago
Jordi Boggiano b89daf5322 Add support.chat to schema, refs #7714 6 years ago
Jordi Boggiano 464daeebe2 Merge branch '1.6' 6 years ago
Christophe Coevoet 61f54e19ce
Fix the JSON schema for package repositories 6 years ago
Jordi Boggiano 533a1d72f8 Merge branch '1.6' 6 years ago
Thomas Flori 58e4326067
add readme node to composer.json schema 6 years ago
Andreas Möller b85c6a1ca5
Fix: Add type field to schema for inline-package 6 years ago