1
0
Fork 0
Commit Graph

452 Commits (b840a0620784fae0db0f55badf9fe4b702c8b479)

Author SHA1 Message Date
Dezső BICZÓ ad3bfb87fd
Add version information to Controlling additional arguments doc (#12143) 2024-10-03 16:17:30 +02:00
Viktor Szépe 8728a75930
Fix typos (#12133) 2024-10-02 12:28:32 +02:00
Jordi Boggiano 5742df97c2
Tweak wording 2024-09-26 13:15:13 +02:00
Jordi Boggiano 1add25fcb5
Add SSL certificate problem hint in troubleshooting page 2024-09-26 13:14:19 +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
Jordi Boggiano bd4fd2cf94
Alias clarifications, fixes #11301 2024-09-17 15:35:53 +02:00
viktor-kup cbfa298501
Add missing semicolon to code example (#12067) 2024-08-21 18:49:52 +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
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
Jordi Boggiano 33335fdfdd
Update plugins api version in docs 2024-02-08 17:41:02 +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
Zoli Szabó 6198fc1053
Fix typo in composer-platform-dependencies.md (#11757) 2023-12-20 16:42:45 +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
abreel 370b394714
updated memory limit distinction for memory limit errors in docs (#11624) 2023-09-11 13:52:05 +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
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
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
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
PrinsFrank 7290f5b437
Document recovering from invalid merges on composer.lock and composer.json (#11154) 2022-12-21 10:16:02 +01:00
Jordi Boggiano 6e55cb36d8
Add support for adding Command classes as scripts, (#11151)
* Add support for adding Command classes as scripts, fixes #11134

* Allow all options to be forwarded and allow using references to other scripts with args

* Fix build

* Add more checks

* Ensure exceptions are not swallowed, and remove naming restriction by using a single-command app

* Update docs

* Add tests, fix issue merging params when combining nested scripts and CLI params
2022-10-28 14:24:55 +02:00
Jordi Boggiano bc29ffa500
Add network timeout issue to troubleshooting docs, fixes #11036 2022-10-27 16:58:21 +02:00
Jeffrey Cafferata ceec6ff8e2
Documentation code syntax highlighting (#11011)
* Add newline at end of file.

* Create a uniformat in the code syntax highlighting by using the main syntax `shell` instead of the alias `bash`/`sh`.

* Added (of corrected) the missing code syntax highlighting.

* Split the shell commands from the text outputs.

* Fix JSON samples formatting.

* Checked the commands and updated the text output.
2022-08-20 12:23:00 +02:00
Ralf Lang 20b3e3e79c
Fix docs for issue composer/satis#656 (#11005) 2022-08-17 23:24:40 +02:00
immeëmosol bbcadcb35e
Hint at improved merge conflict resolving (#10840) 2022-06-22 13:47:15 +02:00
Carsten Brandt 7cf3b01631
Added documentation about HTTP Bearer Auth (#10780)
Bearer Auth has been added here:

- 548505f103
- f964b83018
- #8671
- #8642

but it was not documented in this file.
2022-06-07 14:04:04 +02:00
Jordi Boggiano 367012513d
Merge branch '2.3' into main 2022-06-06 16:49:52 +02:00
Markus Staab ab9e18027e
plugins: mention static analysis support (#10812) 2022-06-06 16:42:24 +02:00
Jordi Boggiano 176d25851d
Fix docs quoting, fixes #10778 2022-05-13 15:55:51 +02:00
James Watts 1c6ba6af47
Minor rewording from autoloader to bin directory (#10776) 2022-05-13 14:37:32 +02:00
Stephan 78d5050832
Docs: clarify caret contraint with ^0.0.x constraint (#10728) 2022-04-14 10:47:28 +02:00
Jordi Boggiano aad2f86edf
Merge branch '2.2' into main 2022-03-15 22:20:21 +01:00
Jordi Boggiano 6b97524b25
Load plugins which modify install path early, fixes #10618 (#10621) 2022-03-15 22:11:19 +01:00
Jordi Boggiano 5122bd42fb
Merge branch '2.2' into main 2022-03-15 13:11:59 +01:00
Jordi Boggiano bf235eba56
Add note about plugin autoloading, refs #10587 2022-03-15 12:24:35 +01:00
Jordi Boggiano 868b75d5e8
Fix broken links, refs #10542 2022-02-19 12:52:00 +01:00
Jordi Boggiano 40de07569d
Merge branch '2.2' into main 2022-02-16 16:05:05 +01:00
Jordi Boggiano acea849c51
Clarify plugin docs slightly wrt pre-operations-exec event 2022-02-16 14:58:24 +01:00
Jordi Boggiano 5c98a2cf8e
Add phpstan-symfony to get type info about console InputInterface, fix many errors (#10476)
Extract common init/require commands functionality into PackageDiscoveryTrait
Extract some helper methods into BaseCommand for better types
2022-02-16 13:24:57 +01:00
Jordi Boggiano ac8fb8cc57
Merge branch '2.2' into main 2022-02-04 17:01:51 +01:00
Jordi Boggiano 4f2e2ec4fc
Update docs for renamed COMPOSER_RUNTIME_BIN_DIR 2022-02-04 16:59:57 +01:00
Jonas Drieghe b9c368a9c3
Use new url for semver testing tool (#10449)
semver.mwl.be returns a permanent redirect to semver.madewithlove.com
2022-01-10 20:58:42 +01:00
Jordi Boggiano f7ce907148
Update plugin-api in docs 2022-01-05 14:50:30 +01:00
Nico Haase 8486b38fef
Update plugins.md API version (#10427)
Fixing the API version, as changed in 1b5b5c48bf
2022-01-04 11:57:12 +01:00