1
0
Fork 0
Commit Graph

1532 Commits (bc157ebea90d79fa880b8ee9e027935b55d84cb4)

Author SHA1 Message Date
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
guangwu 7e9bc82017
fix: typo (#11894)
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
2024-03-19 16:27:29 +01:00
Jordi Boggiano 83212118cb
Revert "Remove docs about light-weight packages"
This reverts commit b34220edc8.
2024-03-19 15:30:08 +01:00
8ig8 58276f2bd1
Update scripts.md (#11880)
Updates the 'Setting environment variables' example to call Composer using `@composer` in order to automatically resolve to whatever composer.phar is currently being used as detailed in the previous section on this same page.
2024-03-11 16:41:05 +01:00
Pol Dellaiera a0d474f75c
Add a warning message when Composer is not able to guess the root package version (#11858)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2024-02-23 10:47:36 +01:00
Igor Santos 596a384c97
Explicit the version where script-aliases was included (#11847)
Since this was included in a minor version, it's nice to tell the user if this feature is available on the version they're running or if they need to upgrade. If it's not available, the only hint (besides the missing aliases on `composer list`) is the mild complaint at `composer validate`.
2024-02-15 11:42:14 +01:00
theoboldalex b2910b17f2
Makes note appear in a note section. (#11844) 2024-02-09 15:00:37 +01:00
theoboldalex 9acf6bc0a1
Repositories docs reference (#11840)
* doc: Adds docs for reference field on package repo

* fixes double space

* minor grammar fix
2024-02-09 14:17:21 +01:00
Jordi Boggiano 33335fdfdd
Update plugins api version in docs 2024-02-08 17:41:02 +01:00
Jordi Boggiano 7442981364
Add flag alias to docs 2024-02-08 11:31:44 +01:00
Dezső BICZÓ 7cb92a90c8
Introduce COMPOSER_AUDIT_ABANDONED env var (#11794)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2024-02-07 22:13:36 +01:00
Antoine M d0b465ffd0
chore(doc): add `_comment` documentation inside `composer.json` schema (#11825)
* Update 04-schema.md

* example
2024-02-07 10:10:05 +01:00
Jordi Boggiano e88c7a8987
Add support for wildcards in outdated's --ignore arg, fixes #11831 2024-02-06 17:17:25 +01:00
Jordi Boggiano bff129f4f5
Update require docs, fixes #11823 2024-02-06 13:27:55 +01:00
PrinsFrank 8a69c0555b
Update plugin documentation (#11813) 2024-02-06 12:57:34 +01:00
Jordi Boggiano 3491986ad3
Add IPv4 fallback on connection timeout, and adds COMPOSER_IPRESOLVE env var (#11791)
* Add IPv4 fallback on connection timeout, and adds COMPOSER_IPRESOLVE env var, fixes #530

* Address feedback

* Add warning in diagnose command when COMPOSER_IPRESOLVE is set
2024-01-11 17:13:54 +01:00
Jordi Boggiano ca433076b1
Sync up docs from command, fixes #11787 2024-01-10 10:26:03 +01:00
James 5bc5c174a6
Update 01-basic-usage.md (#11788)
Changed a few clunky phrases
2024-01-09 21:21:34 +01:00
Sam L 44f02a5c86
Add COMPOSER_FUND=0 env var to disable calls for funding (#11779) 2024-01-08 15:10:49 +01:00
Zoli Szabó 6198fc1053
Fix typo in composer-platform-dependencies.md (#11757) 2023-12-20 16:42:45 +01:00
Jordi Boggiano 53a1f32061
Add --sort-by-age to show/outdated commands, and also release date for latest package in --latest mode (#11762) 2023-12-20 15:37:27 +01:00
Jordi Boggiano 83f831b011
Make wildcard path repos more visible in docs, fixes #11732 2023-12-19 15:29:45 +01:00
Maxime Morlet cc2568216c
Update 01-basic-usage.md (#11729)
Broken link!
2023-12-08 18:24:33 +01:00
Marc Würth da83d29d8a
"URL" in caps (#11706) 2023-11-08 12:02:00 +01:00
Travis Carden aefa46dfba
Add support for "scripts-aliases" in composer.json (#11666) 2023-10-27 11:36:59 +02:00
Jordi Boggiano 899dcedf66
Add --minimal-changes mode to perform partial updates --with-dependencies while changing only what is necessary in other dependencies (#11665) 2023-10-26 10:25:04 +02:00
Pol Dellaiera b608b8e87e
feat: improve Composer's output reproducibility (#11663)
* AutoloadGenerator: add `Locker` parameter to the `dump` method
* AutoloadGenerator: do not create a random hash, re-use the one from the lock file if it exists
* FileSystem: make sure `safeCopy` copy also the file time metadata
2023-09-28 11:43:52 +02:00
Valentin Udaltsov 1f9f91cfea
Changed psr/logger to psr/log (#11652) 2023-09-22 09:49:08 +02:00
Jordi Boggiano e3484c8581
Add audit.abandoned warnings for abandoned packages, fixes #11623 (#11639) 2023-09-14 11:30:09 +02:00
abreel 370b394714
updated memory limit distinction for memory limit errors in docs (#11624) 2023-09-11 13:52:05 +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
Fábio 25f4854ad7
Fix typo 03-cli.md (#11587) 2023-08-30 18:03:12 +02:00
Fábio 388485b98a
Update 05-repositories.md (#11603) 2023-08-30 11:46:40 +02:00
Nate Devereux c5baa37cdf
Update Silverstripe casing (#11565) 2023-08-03 11:28:29 +02:00
Michael Voříšek f752a9e358
Unify wording in docs (#11545) 2023-07-21 14:47:54 +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
Pol Dellaiera 69746f699f
docs: add binary dependencies (#11505) 2023-07-01 14:20:19 +02:00
Martin Adler d05f4791cd
Fix outdated package name regex pattern in documentation (#11523) 2023-07-01 14:04:02 +02:00
Jordi Boggiano 6b146f5195
Update plugins testing info
Refs https://github.com/composer/composer/issues/6485#issuecomment-1525807064
2023-06-21 13:54:24 +02:00
Jordi Boggiano 24361ae654
Merge branch '2.5' 2023-05-23 16:25:24 +02:00
James Ryven Valeii 6111ff5cda
Update 05-repositories.md (#11459)
The verb phrase is 'internally' is an adverb describing the sort of seeing that Composer is doing. IE: Composer internally sees. The sentence _is_ much clearer when the adverb is moved earlier in the sentence, but this mutation necessitates a comma separating the adverb from the noun.
2023-05-18 23:11:15 +02:00
Jordi Boggiano 3a48e39375
Return null for install path for metapackages instead of an empty path which then resolves to the root package's path (#11455)
Fixes #11389
2023-05-14 13:46:46 +02:00
Luke Stewart 9555ae13a6
Clarifies COMPOSER_NO_DEV documentation. (#11447)
COMPOSER_NO_DEV applies to composer require as well.
2023-05-02 22:44:29 +02:00
Christian Weiske c23beac9c5
Fix markdown: Move headline out of quote (#11363)
This was caused by
> Add note about issue with caret operator in PowerShell (#11351)

Related: #11288, #11351
2023-03-17 14:12:52 +01: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
Alexander Dmitryuk d1ab1255b5
Add rm alias to composer remove command (#11367)
* rm alias

* review
2023-03-10 22:27:20 +01:00
Jordi Boggiano acc1869742
Clarify readme docs 2023-03-10 17:51:56 +01:00
Willem de Groot de3698f535
Clarify possible credential storage locations (#11358) 2023-03-10 14:13:56 +01:00
Marc Würth 1f164244ab
Add note about issue with caret operator in PowerShell (#11351)
Refers to #11288
2023-02-27 13:34:21 +01:00
Nicolas Grekas 4b94e55b03
Add extra.plugin-optional to auto-disable plugins in non-interactive mode (#11315) 2023-02-10 13:19:41 +01:00