1
0
Fork 0
Commit Graph

435 Commits (f6ce8349c511f6ce991b9cff763c16f8c3f1e070)

Author SHA1 Message Date
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
Jordi Boggiano a8ed352b31
Add docs for the new bin-dir access and bump runtime-api, refs #10402 2021-12-28 22:04:32 +01:00
gnito-org 239638e687
Fix minor spelling & grammar issues in docs (#10370) 2021-12-19 15:15:21 +01:00
Helmut Hummel ace8a1776c
Add composer platform package with exact Composer version (#10313)
Co-authored-by: Lars Strojny <lars.strojny@internations.org>
Co-authored-by: Nils Adermann <naderman@naderman.de>
2021-11-27 14:26:57 +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
Bruno Baguette 0f5f0fb9e1
(Probable) typo fix (#10286)
Isn't "to" missing before "raise awareness" ?
2021-11-17 11:03:48 +01:00
Yanick Witschi 34183f49f9
Implemented PoolOptimizer 2021-11-11 16:13:24 +01:00
Jordi Boggiano 8542321a31
Updates to the troubleshooting docs, refs #10129 2021-11-11 15:18:16 +01:00
Matthias Pigulla abf832aa49
Update what GitHub token scope is needed and what it implies (#10257)
Follows up on https://github.com/composer/composer/pull/10256.
2021-11-08 10:53:12 +01:00
Jordi Boggiano c65d09dff7
Fix @inheritDoc annotations 2021-10-27 16:18:53 +02:00
Wouter de Jong bb128c465c Capitalize Composer in the docs 2021-10-25 13:11:56 +02:00
Wouter de Jong 6aec6ecbfa Use `composer.phar` consistently in the examples 2021-10-25 13:11:41 +02:00
Jordi Boggiano 0868245589
Rename master branch to main 2021-10-14 16:21:47 +02:00
Rodrigo 131d6ade5d
Add alternative to custom installers (#10149)
Taken from composer/installers readme
2021-10-13 22:48:58 +02:00
Ian Dunn b78570055d
Docs: Place general troubleshooting steps in a more logical order
* `self-update` should be run first, because it may affect the results of `diagnose`. 
* `clear-cache` should be run before `update`, otherwise `update` would need to be run again after clearing the cache.
2021-08-31 11:44:46 -07:00
Jordi Boggiano a72784c4da
Merge pull request #10057 from nicholsonjf/docs-double-pipe-note
Note in docs about how single pipes are treated
2021-08-18 12:11:09 +02:00
小克 d9a94b376a
Update the Composer plugin API version to 2.1.0 2021-08-17 18:36:08 +08:00
James Nicholson 2d79f3381b Single pipe note 2021-08-13 13:50:38 -04:00