1
0
Fork 0
Commit Graph

12063 Commits (8b0a185d5da328d16b1f46006f0c1523ce0dc539)

Author SHA1 Message Date
Jordi Boggiano 8b0a185d5d
Fixed display of empty objects showing [] instead of {} in config command, fixes #11302 2023-03-21 11:17:55 +01:00
Jordi Boggiano 91b7b0ff3b
Fixed querying of default config values, and fix source display for them, and fix bools to show as bools, fixes #11302 2023-03-21 11:07:57 +01:00
Jordi Boggiano 5c3d8f35db
Update deps, fix phpstan issues, update baseline (1711, 49) 2023-03-21 10:36:42 +01:00
Jordi Boggiano 62f12abcb1
Fix return type of InstalledVersions::getInstalled, fixes #11304 2023-03-21 09:55:28 +01:00
Jordi Boggiano d3adecf583
Fix github header handling to be case insensitive, fixes rate limit extraction (#11366) 2023-03-20 21:42:28 +01:00
Stephan 685a2e6be2
Composer support string (#11386)
* GitHubDriver: fix support is set to string

* GitLabDriver: fix support is set to string

* BitbucketDriver: fix support is set to string

* Fix PHPStan
2023-03-20 20:18:19 +01:00
Wim Leers 5d2d513f97
Follow-up for #5205: fix high concurrency race condition
Composer would fail with an
```
PHP temp directory (/tmp) does not exist or is not writable to Composer. Set sys_temp_dir in your php.ini
```
error when used in parallel. Because it is checking if a file with `md5(microtime())` can be created, which is not sufficiently unique when used in parallel.

Since each Composer instance runs in its own process, this can easily be mitigated by not just partitioning based on time of use, but also based on process ID.

Original investigation: https://www.drupal.org/project/automatic_updates/issues/3338789#comment-14961390
2023-03-17 13:55:30 +01:00
Uladzimir Tsykun 32366bc37d
Fix basic auth infinite loop (#11320) 2023-03-17 09:13:11 +01:00
Jordi Boggiano b8f82b244c
Escape % chars in user input before passing to sprintf, fixes #11359 2023-03-15 22:53:29 +01:00
Michal Špaček efc105eac1
Add proxy value to bin-compat validator (#11353)
Fix #11352
2023-02-27 16:02:50 +01:00
Jordi Boggiano b5aad9ec0d
Fix type error when upgrading composer 2023-02-24 17:41:59 +01:00
Jordi Boggiano 1ff942bb44
Fix type errors in key updating logic 2023-02-24 17:41:47 +01:00
Jordi Boggiano b0a110f164
Reverting release version changes 2023-02-15 13:10:06 +01:00
Jordi Boggiano 6b67eeea4d
Release 2.5.4 2023-02-15 13:10:06 +01:00
Jordi Boggiano 774f04108b
Update changelog 2023-02-15 13:09:51 +01:00
Jordi Boggiano d35cb21749
Match plugin-optional more strictly 2023-02-10 21:13:30 +01:00
Marek Nocoń b781031413
Added optional plugin check in PluginInstaller (#11318) 2023-02-10 21:12:30 +01:00
Jordi Boggiano 0dd5811583
Ensure we have a bool for plugin-optional 2023-02-10 14:19:02 +01:00
Jordi Boggiano c92485a3fb
Reverting release version changes 2023-02-10 13:23:53 +01:00
Jordi Boggiano 607a4c0400
Release 2.5.3 2023-02-10 13:23:52 +01:00
Jordi Boggiano 6876958083
Update changelog 2023-02-10 13:23:31 +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
Jordi Boggiano e6ef9eb332
Reverting release version changes 2023-02-04 14:33:23 +01:00
Jordi Boggiano c76c013c55
Release 2.5.2 2023-02-04 14:33:22 +01:00
Jordi Boggiano 70ba5c90ba
Update changelog 2023-02-04 14:26:44 +01:00
Jordi Boggiano 6e3e801c6a
Update deps 2023-02-03 23:07:37 +01:00
Jordi Boggiano 2f2d6c9de7
Fix package sorting logic, fixes #11287 2023-02-03 22:48:18 +01:00
Andor 50cded331c
Default exclude patterns for the "archive" command (#11239)
* Issue #11235 - Adds default exclude patterns for the "archive" command based on the target file name
2023-01-27 17:16:33 +01:00
Jordi Boggiano ad7bc18028
Fix self.version requirements failing the lock file integrity check if on a different version, fixes #11274 (#11283) 2023-01-27 16:54:45 +01:00
Jordi Boggiano 0a2846cb24
Fix autoloading on PHP 5.6 (#11285)
* Add a CI check to ensure the autoloader can run on php5.6+

* Fix autoloading on PHP 5.6
2023-01-27 16:26:04 +01:00
Jordi Boggiano 5165792f9c
Fix security advisory parsing when filter repo is used, fixes #11281 2023-01-27 11:09:34 +01:00
Jordi Boggiano f6f972a699
Fix require regression with --fixed, fixes #11247 2023-01-19 21:42:22 +01:00
Jordi Boggiano 0d96fd8149
Warn when require ends up auto-selecting a feature branch, fixes #11264 (#11270) 2023-01-19 21:42:09 +01:00
Conrad Lara c7f32820d7
Allow v2 metadata target to provide security advisories without releases. (#11257) 2023-01-13 22:20:03 +01:00
Jordi Boggiano 70b1863480
Update deps 2023-01-13 14:19:18 +01:00
Alex Theobold 2431b12230
Test home command (#11254)
Co-authored-by: alex.theobold <alex.theobold@sykescottages.co.uk>
2023-01-13 09:34:03 +01:00
Jordi Boggiano f21cc3ab25
Merge pull request #11162 from yesdevnull/feat-more-tests
Tests for Audit/Remove/Suggests Commands
2023-01-13 08:49:05 +01:00
Dan Barrett ca9fb64691
Added tests for the Suggests command 2023-01-06 12:38:47 +11:00
Dan Barrett 7560873740
Added tests for the Remove command 2023-01-06 12:38:47 +11:00
Dan Barrett 29ae7b632a
Add "missing lockfile" test for the Audit command 2023-01-06 12:38:40 +11:00
Dan Barrett b2304d0b12
Exclude PHPStan extensions from PHPUnit coverage 2023-01-03 18:57:00 +11:00
dependabot[bot] f07614f1c9
Bump actions/stale from 6 to 7 (#11244)
Bumps [actions/stale](https://github.com/actions/stale) from 6 to 7.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-30 14:38:27 +01:00
Jordi Boggiano d047f38f73
Make sure autoloader closures do not have a scope class set 2022-12-22 21:01:38 +01:00
Jordi Boggiano 2e71896168
Reverting release version changes 2022-12-22 15:33:55 +01:00
Jordi Boggiano 923278ad13
Release 2.5.1 2022-12-22 15:33:54 +01:00
Jordi Boggiano 9c04f9bfd8
Update changelog 2022-12-22 15:33:49 +01:00
Jordi Boggiano cf8ce82aa1
Fix preg match type error in svn version guessing, fixes #11231 2022-12-22 15:28:49 +01:00
Jordi Boggiano cbb7c91223
Fix ClassLoader to be serializable (#11237)
* Fix ClassLoader to be serializable

* Fix CI to use the source bin/composer as process for "composer" runs incl within simple-phpunit

* Store the closure statically to avoid serialization issues in a cleaner way
2022-12-22 15:17:04 +01:00
PrinsFrank 7290f5b437
Document recovering from invalid merges on composer.lock and composer.json (#11154) 2022-12-21 10:16:02 +01:00
Jeffrey Cafferata da611e089a
Docs: fix documention deep links (#11233)
* Docs: Fixed the deep links to the documentation website.

Search scope: `src/Composer/Command`.

* Docs: Fixed the deep links to the documentation website.
2022-12-21 09:32:50 +01:00