Buk Bukowski
b44e39cc8c
Update 05-repositories.md ( #11180 )
...
* Update 05-repositories.md
consistency with previous example
* Update 05-repositories.md
2022-11-13 15:27:23 +01:00
Jordi Boggiano
5b28754602
Avoid normalizing to absolute paths if base dir is /toplevel to improve docker portability, fixes #11165 , fixes #4404 ( #11169 )
2022-11-10 16:32:18 +01:00
Jordi Boggiano
6c85b875f2
Update to PHPStan 1.9
2022-11-03 21:53:42 +01:00
Grzegorz Korba
7dfe4a38c8
Use binary-only images for installing Composer ( #11170 )
...
Document optimal way of copying Composer binary using `COPY --from` in Dockerfiles by using binary-only image.
2022-11-03 21:50:22 +01:00
Jordi Boggiano
7c1aa8e0ef
Fix regression in run-script/exec commands prompting when used with --list
2022-11-03 13:37:00 +01:00
PrinsFrank
0fca3e5521
Allow the 'composer remove --unused' command to run in non-interactive mode ( #11166 )
2022-11-03 13:11:34 +01:00
Jordi Boggiano
45af4e3e20
Do not prompt for binary/script args if they are provided, fixes #11167
2022-11-01 16:21:30 +01:00
Jordi Boggiano
36bc30ffab
Make the require command guess versions more accurately by delegating to the solver (except with --no-update) ( #11160 )
2022-11-01 15:48:52 +01:00
എതിരാളിക്കൊരു പോരാളി
723f700bea
Update Code of Conduct to Contributor Covenant v2.1 ( #11161 )
2022-11-01 10:46:06 +01:00
Jordi Boggiano
6bf945017e
Add interactive prompt for which script/binary to run if run-script/exec is called without arg, fixes #11128 ( #11157 )
2022-10-28 14:25:18 +02: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
PrinsFrank
0430722e66
Fix output inconsistencies when aliases are being used and '0 installs, 0 updates 0 removals' was being shown when any alias was present compared to 'Nothing to install, update or remove' when no alias is being used. ( #11159 )
2022-10-28 09:11:55 +02:00
Jordi Boggiano
bc29ffa500
Add network timeout issue to troubleshooting docs, fixes #11036
2022-10-27 16:58:21 +02:00
Jordi Boggiano
c65687604e
Fix react promise usage for forward compatibility
2022-10-27 16:51:10 +02:00
Jordi Boggiano
a63ce7cf96
Add message when doing composer outdated --direct and there is nothing to show, fixes #11152 ( #11156 )
2022-10-27 16:21:53 +02:00
Jordi Boggiano
ec82a1236d
Merge branch '2.4'
2022-10-27 14:45:59 +02:00
Jordi Boggiano
177f4cc4a9
changelog fixes
2022-10-27 14:45:54 +02:00
Jordi Boggiano
1c4ca10c1f
Merge branch '2.4'
2022-10-27 14:40:45 +02:00
Jordi Boggiano
cc2e8b05e6
Reverting release version changes
2022-10-27 14:39:29 +02:00
Jordi Boggiano
e8d9087229
Release 2.4.4
2022-10-27 14:39:29 +02:00
Jordi Boggiano
4900a14c3e
Update changelog
2022-10-27 14:38:51 +02:00
Jordi Boggiano
bb726b8a61
Fix status command reporting differences when source reference is a tag name, fixes #11155
2022-10-27 14:23:51 +02:00
Jordi Boggiano
ee0ec9ebc8
Merge branch '2.4'
2022-10-26 13:42:18 +02:00
Alex Theobold
97f4fbc4b0
Adds test coverage to the Fund Command ( #11150 )
...
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2022-10-26 13:40:01 +02:00
Jordi Boggiano
10e757d6b0
Add extra debug info when running GH Actions and an archive extraction fails, refs #11148
2022-10-26 12:27:24 +02:00
Jordi Boggiano
923ff98ea0
Update phpstan
2022-10-26 11:23:50 +02:00
Alex Theobold
b5b4e15876
test: Create test for CheckPlatformReqsCommand ( #10932 )
2022-10-25 19:42:42 +02:00
Giulio
1b3a2ed6f6
test: Coverage for ValidateCommand ( #11133 )
...
Co-authored-by: giulio-Joshi <me@joshi.it>
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2022-10-25 16:38:01 +02:00
Stephan Jorek
d54f2f21c5
Feature: Add support for autocompleting setting-keys in config-command ( #11130 )
...
* Add support for autocompleting setting-keys in config-command
This PR implements the support for autocompletion of setting-keys in the
config-command and its related funtional tests. The implementation takes
existing command-line options like `--unset` or `--global` into account, as
well as existing exposable package-properties. The result is a context-
sensitive auto-completion of individual lists of setting-keys.
Additionally showing the value `suggest.` sub-keys has been allowed in
the config-command, as setting and unsetting them has alwas been possible,
and I did not want to distinguish between showing, setting and unsetting
those keys.
In the setting-key flattening-method I used the `array_is_list()` function,
which was added in PHP 8.1 recently. For backwards PHP-compatiblity the
package `symfony/polyfill-php81` has been added.
Signed-off-by: Stephan Jorek <stephan.jorek@brandung.de>
2022-10-25 16:24:02 +02:00
Jordi Boggiano
8ffd8bef08
Merge branch '2.4'
2022-10-25 15:27:14 +02:00
Rafael Corrêa Gomes
feb76ae67d
Adding logo to README ( #11147 )
2022-10-25 15:14:13 +02:00
Ayesh Karunaratne
90673e4f66
Update URL masking patterns for new GitHub fine-grained PATs
...
Updates GitHub Personal Access Token regex pattern to detect new [fine-grained PATs](https://github.blog/changelog/2022-10-18-introducing-fine-grained-personal-access-tokens/ )
2022-10-25 15:07:24 +02:00
Jordi Boggiano
855473148a
Fix regression in loading Composer on SMB/network shares, refs #8231 #11077
2022-10-25 15:05:35 +02:00
Jordi Boggiano
803e4e5dbd
Catch runtime exception while initializing Composer to make sure a missing composer.json does not fail >tryComposer, refs #11133
2022-10-25 15:04:08 +02:00
Kuba Werłos
e5b8f2d838
Add "--dry-run" to bump command ( #11047 )
2022-10-25 15:03:36 +02:00
Jordi Boggiano
8d3a304233
Fix outdated command outputting some of the legend to stdout
2022-10-25 14:44:28 +02:00
Jordi Boggiano
86db6ffdae
Retry cache writes if they fail, refs #11076
2022-10-25 14:44:26 +02:00
Juliette
e746f71e95
GH Actions: fix use of deprecated `set-output` ( #11126 )
...
GitHub has deprecated the use of `set-output` (and `set-state`) in favour of new environment files.
This commit updates workflows to use the new methodology.
Refs:
* https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
* https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#environment-files
Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
2022-10-25 11:54:48 +02:00
Jordi Boggiano
9ac186bf46
Merge branch '2.4'
2022-10-14 17:01:57 +02:00
Jordi Boggiano
89ad120f2a
Reverting release version changes
2022-10-14 16:56:47 +02:00
Jordi Boggiano
b34c0e9a93
Release 2.4.3
2022-10-14 16:56:41 +02:00
Jordi Boggiano
c70ae305b3
Update changelog
2022-10-14 11:53:12 +02:00
Jordi Boggiano
68da418f6e
Merge branch '2.4'
2022-10-13 16:57:52 +02:00
Jordi Boggiano
f6e67e584e
Fix json format of audit command missing affectedVersions, fix reportedAt format (BC BREAK!), fixes #11104 ( #11120 )
2022-10-13 16:56:21 +02:00
Jordi Boggiano
96e88cf84d
Merge branch '2.4'
2022-10-13 16:54:55 +02:00
Jordi Boggiano
4faa8c03ce
Update docs about root usage, refs #11093
2022-10-13 16:53:33 +02:00
Jordi Boggiano
bc93f734bc
Add an error msg to clearly explain that plugins are disabled when running as root non-interactively, fixes #11093
2022-10-13 16:40:44 +02:00
Jordi Boggiano
acddc1f5e4
Fix require failing to do a dry-run when requiring a package with a stability flag, fixes #11112
2022-10-13 16:29:08 +02:00
Jordi Boggiano
7e679f3da3
Update phpstan
2022-10-13 16:17:30 +02:00
Elias Häußler
1c669428da
Update link text to runtime page in documentation ( #11115 )
2022-10-13 15:57:19 +02:00