Jordi Boggiano
95b9b54f0c
JSON schema updates ( #12123 )
...
* Add composer-lock-schema, update composer-repository-schema with new properties, add lock schema validation in diagnose
Fixes #7823
* Add ref to composer.json schema in the lock one
2024-09-26 13:36:25 +02:00
James Titcumb
dfee3dec57
Add support-nts flag for php-ext section ( #12127 )
...
* Add support-nts flag for php-ext section
Ref: https://github.com/ThePHPF/pie-design/pull/25
* Update php-ext getter/setter definition with support-nts
2024-09-25 10:12:58 +02:00
Carlos Granados
c8838f198e
Add option to run bump after update ( #11942 )
...
* Add option to run bump after update
* Convert the option into a bool | string parameter and change a couple of texts
* Apply suggestions from code review
* Fix tests
---------
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2024-09-18 15:34:25 +02:00
Joe
8f455d7c0c
Add allow-missing-requirements config setting to ignore missing requirements ( #11966 )
...
* Add allow-missing-requirements configuration to ignore error during install if there are any missing requirements
* Add test for allow-missing-requirements config
---------
Co-authored-by: Joe <joe@wpj.cz>
2024-09-18 11:00:09 +02:00
James Titcumb
ea931df77d
Update schema for php-ext section to add needs-value flag ( #12050 )
...
Reference: https://github.com/ThePHPF/pie-design/pull/18
2024-07-19 21:41:33 +02:00
James Titcumb
6778f1f79a
Updated array shape of php-ext options ( #11950 )
2024-04-28 17:28:11 +02:00
Jordi Boggiano
07fa4255d6
Add support for php extension packages ( #11795 )
...
* Update schema
* Validate php-ext is only set for php-ext or php-ext-zend packages
* Make sure the pool builder excludes php-ext/php-ext-zend
2024-03-20 22:04:58 +01:00
Travis Carden
aefa46dfba
Add support for "scripts-aliases" in composer.json ( #11666 )
2023-10-27 11:36:59 +02:00
Jordi Boggiano
e3484c8581
Add audit.abandoned warnings for abandoned packages, fixes #11623 ( #11639 )
2023-09-14 11:30:09 +02:00
Dezső BICZÓ
0ab4dfba7c
Change audit.ignore behavior before 2.6.0 ( #11605 )
...
* Still report ignored security advisories
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2023-09-01 10:04:31 +02:00
Jordi Boggiano
0cdabcc4ee
Add audit.ignored config setting to ignore security advisories by id or CVE id, fixes #11298 ( #11556 )
2023-07-21 14:36:38 +02:00
Ben Ramsey
cd137ee29b
Add security to support options ( #11271 )
...
This support option allows projects to specify a URL to the project's
vulnerability disclosure policy (VDP).
2023-03-10 22:28:10 +01:00
Thomas Lüder
41d6467b3b
Added token refresh for GitLab to support GitLab 15+ ( #10988 )
...
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2022-08-16 13:34:18 +02:00
Jordi Boggiano
e1ab520d64
Merge branch '2.2' into 2.3
2022-06-01 21:39:31 +02:00
Jordi Boggiano
3ead6c0119
Backport schema fixes for gitlab-token, fixes #10800
2022-06-01 21:32:29 +02:00
Nicolas Hedger
70a7b592e9
Fix JSON schema regex pattern ( #10811 )
2022-06-01 21:23:07 +02:00
Matronator
313142c6cd
Escape forward slash in `properties.name`
2022-06-01 21:06:22 +02:00
Jordi Boggiano
d70b580899
Merge branch '2.2' into 2.3
2022-05-24 14:41:41 +02:00
Jordi Boggiano
44a52e4157
Fix backtracking in name validation regex
2022-05-24 14:32:18 +02:00
Jordi Boggiano
bd6403a6be
Fix newly surfaced errors
2022-04-28 21:20:40 +02:00
Jordi Boggiano
6fdd9494ef
Implement config type parsing
2022-04-28 15:13:08 +02:00
Jordi Boggiano
cbda47634e
Add missing bitbucket-oauth from composer schema
2022-04-01 11:15:57 +02:00
Jordi Boggiano
dca0a65597
Add source/dist keys to root schema, fixes #10655
2022-03-29 15:57:04 +02:00
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>
2021-12-07 23:00:48 +01:00
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>
2021-12-04 15:00:28 +01:00
Jordi Boggiano
f7525ddf52
Reorder config slightly
2021-11-25 15:55:36 +01:00
Andrey Helldar
613526bab2
Feature proposal: sorting keys by logical blocks ( #10089 )
2021-11-25 15:43:37 +01:00
Jordi Boggiano
91548d178b
Add support for setting platform packages to false to disable them ( #10308 )
...
Fixes #9664
2021-11-25 14:46:25 +01:00
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>
2021-11-25 09:53:03 +01:00
Raphael de Almeida
150acc5559
Removed HgBitbucketDriver support ( #10248 )
2021-11-10 21:58:03 +01:00
Sebastian Blank
a9031e40eb
Add "symlink" option for "bin-compat" config ( #9959 )
2021-06-09 11:33:44 +02:00
Jordi Boggiano
a23f8a3d6c
Add gitlab-protocol to config command and schema
2021-06-01 16:05:53 +02:00
Guilliam Xavier
2d21dd675a
Invert strict/lax schema validation
2021-05-24 11:51:04 +02:00
Guilliam Xavier
9e2cb30dfb
Revert "Merge remote-tracking branch 'BoShurik/schema'"
...
This reverts commit 89c3045e2b
, reversing
changes made to 991985792d
.
2021-05-24 11:46:08 +02:00
Jordi Boggiano
8a3f4a8400
Add secure-svn-domains config option to mark secure svn:// hostnames, fixes #9872
2021-05-20 16:27:58 +02:00
Jordi Boggiano
89c3045e2b
Merge remote-tracking branch 'BoShurik/schema'
2021-05-20 15:42:39 +02:00
Guilliam Xavier
8d8842eb8c
Fix schema minimum-stability pattern
2021-05-20 14:15:39 +02:00
BoShurik
cc55b56dd7
Allow optional name and description fields for project type
2021-03-30 16:51:03 +03:00
Jordi Boggiano
6c31744c04
Disable full platform-check for extensions by default, now set to php-only, refs #9412
2020-11-04 21:50:06 +01:00
Jordi Boggiano
08ad53f9fb
Merge branch '1.10'
2020-10-16 11:28:07 +02:00
Jordi Boggiano
7fda8433b1
Update schema to use anyOf instead of oneOf, fixes #9295
2020-10-16 11:27:59 +02:00
Jordi Boggiano
2a36c3a70a
Minor tweaks
2020-09-21 13:26:53 +02:00
Jordi Boggiano
90332f1dbd
Add a readonly mode to the cache, fixes #9150
2020-08-25 13:55:32 +02:00
Jordi Boggiano
923f198a1f
Fix default-branch attribute on package files, and add it to schema
2020-06-19 15:33:25 +02:00
Jordi Boggiano
ba3df8faea
Merge pull request #8843 from FIDATA/feature/archive-name
...
Add (default) base name of archive into composer.json
2020-05-06 11:06:28 +02:00
Basil Peace
6140897d08
feat: add archive.name config option
2020-04-29 01:01:48 +03:00
Jordi Boggiano
2c8a4a1b93
Add platform-check config option to disable platform_check.php generation, and disable it for Composer
2020-04-21 15:25:35 +02:00
Jordi Boggiano
bd5952c7ff
Merge pull request #8793 from cebe/naming-pattern-json-schema
...
Add package naming pattern to the composer.json JSON schema
2020-04-15 16:36:24 +02:00
Jordi Boggiano
91dcde2059
Revert "Remove the pear repository type from the JSON schema"
2020-04-15 14:09:30 +02:00
Carsten Brandt
3e8021ed06
Add package naming pattern to the composer.json JSON schema
...
fixes #8749
2020-04-15 13:43:05 +02:00