1
0
Fork 0
Commit Graph

1547 Commits (c8bd0e6278040e96bb240673038082b0d37a9e9e)

Author SHA1 Message Date
Jordi Boggiano c8bd0e6278
Add --patch-only flag to update command to restrict updates to patch versions and make them safer (#12122)
Fixes #11446
2024-09-21 13:54:03 +02:00
Jordi Boggiano a03331bd21
Add --strict-ambiguous to dump-autoload command (#12119)
Fixes #6221
2024-09-19 11:40:57 +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
Jordi Boggiano 17930441a1
Add a way to control which scripts get args and where (#12086)
Add support for `@no_additional_args` and `@additional_args` tags inside script handlers.
2024-09-18 14:44:55 +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
John Stevenson bb8387e5a0
Remove proxy transition fallback (#11938) 2024-09-17 16:14:47 +02:00
Mohamed Hubail 21bf74d2c7
Add `--abandoned` option (#12091)
* Add `--abandoned` option

* Refactoring

- Use `Auditor::ABANDONEDS` in `Config.php`
- Drop `getAuditAbandoned()` from `BaseCommand.php`

* Modify cli docs
2024-09-17 15:44:55 +02:00
Jordi Boggiano bd4fd2cf94
Alias clarifications, fixes #11301 2024-09-17 15:35:53 +02:00
Jordi Boggiano f9e6214bd9
Fix completion docs, fixes #12099 2024-09-17 11:07:27 +02:00
viktor-kup cbfa298501
Add missing semicolon to code example (#12067) 2024-08-21 18:49:52 +02:00
Jordi Boggiano 9da1948585
Improvements to docker detection (#12062)
* Improvements to docker detection, fixes #11073

* Apply suggestions from code review

Co-authored-by: Dan Wallis <dan@wallis.nz>
2024-08-19 11:01:34 +02:00
Jordi Boggiano 877f1b150f
Add new uninstall alias to docs 2024-04-29 11:03:27 +02:00
John Stevenson 70927f728e
Add FAQ about using a proxy (#11933) 2024-04-19 17:27:54 +02:00
William David Edwards 43955765fd
Link to README instead of duplicating install command. These are currently out of sync. This change fixes that, and prevent this from happening again. Relates to https://github.com/composer/satis/issues/825 (#11931) 2024-04-15 09:45:27 +02:00
SvenRtbg c779570bb7
Update keywords documentation (#11905) 2024-04-03 10:50:28 +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
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