[go: up one dir, main page]

Page MenuHomePhabricator

Upgrade composer to 2.5.1
Closed, ResolvedPublic

Description

We're currently on 2.3.3 (rCICFf03c29f2bf8e: dockerfiles: [composer-scratch] Upgrade composer to 2.3.3 and cascade, upstream is now upto 2.5.1 (as of 2022-12-23; it was released 2022-12-22), we're probably due for an upgrade again after 6 9 months.

Latest release in 2.3.x is 2.3.10. 2.4.x is upto 2.4.4.

  • Upgrade the docker images
  • Switch the first jenkins jobs over and test
  • Switch all remaining jobs
  • Re-build vendor
  • Update any documentation

Event Timeline

It gives some nice format updates..

% php ../composer.phar outdated
Color legend:
- patch or minor release available - update recommended
- major release available - update possible

Direct dependencies required in composer.json:
composer/spdx-licenses            1.5.6   1.5.7  SPDX licenses list and validation library.
doctrine/dbal                     3.4.2   3.4.5  Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.
doctrine/sql-formatter            1.1.1   1.1.3  a PHP SQL highlighting library
giorgiosironi/eris                0.10.0  0.13.0 PHP library for property-based testing. Integrates with PHPUnit.
guzzlehttp/guzzle                 7.4.5   7.5.0  Guzzle is a PHP HTTP client library
mediawiki/mediawiki-phan-config   0.11.1  0.12.0 Standard MediaWiki phan configuration
monolog/monolog                   2.2.0   3.2.0  Sends your logs to files, sockets, inboxes, databases and various web services
psr/container                     1.1.1   2.0.2  Common Container Interface (PHP FIG PSR-11)
psr/log                           1.1.4   3.0.0  Common interface for logging libraries
seld/jsonlint                     1.8.3   1.9.0  JSON Linter
symfony/yaml                      v5.4.12 v6.1.4 Loads and dumps YAML files

Transitive dependencies not required in composer.json:
composer/pcre                     1.0.1   3.0.0  PCRE wrapping library that offers type-safe preg_* replacements.
composer/xdebug-handler           2.0.5   3.0.3  Restarts a process without Xdebug.
mediawiki/phan-taint-check-plugin 3.3.2   4.0.0  A Phan plugin to do security checking
phan/phan                         5.2.0   5.4.1  A static analyzer for PHP
sabre/event                       5.1.4   6.0.0  sabre/event is a library for lightweight event-based programming
squizlabs/php_codesniffer         3.6.2   3.7.1  PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.
symfony/console                   v5.4.13 v6.1.5 Eases the creation of beautiful and testable command line interfaces
symfony/service-contracts         v2.5.2  v3.1.1 Generic abstractions related to writing services
Reedy renamed this task from Upgrade composer to 2.4.x to Upgrade composer to 2.4.x/2.5.x.Dec 23 2022, 10:09 PM
Reedy updated the task description. (Show Details)
Reedy updated the task description. (Show Details)

Change 876035 had a related patch set uploaded (by Reedy; author: Reedy):

[integration/config@master] [WIP] dockerfiles: [composer-scratch] Upgrade composer to 2.5.1

https://gerrit.wikimedia.org/r/876035

Change 876035 merged by jenkins-bot:

[integration/config@master] dockerfiles: [composer-scratch] Upgrade composer to 2.5.1

https://gerrit.wikimedia.org/r/876035

Mentioned in SAL (#wikimedia-releng) [2023-01-06T16:59:39Z] <James_F> Docker: Publishing new CI images with composer 2.5.1 for T319257

Change 876226 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/vendor@master] Rebuild vendor on composer 2.5.1

https://gerrit.wikimedia.org/r/876226

Change 876226 merged by jenkins-bot:

[mediawiki/vendor@master] Rebuild vendor on composer 2.5.1

https://gerrit.wikimedia.org/r/876226

Change 876230 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/vendor@REL1_39] Rebuild vendor on composer 2.5.1

https://gerrit.wikimedia.org/r/876230

Change 876231 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/vendor@REL1_38] Rebuild vendor on composer 2.5.1

https://gerrit.wikimedia.org/r/876231

Change 876232 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/vendor@REL1_35] Rebuild vendor on composer 2.5.1

https://gerrit.wikimedia.org/r/876232

Change 876230 merged by Reedy:

[mediawiki/vendor@REL1_39] Rebuild vendor on composer 2.5.1

https://gerrit.wikimedia.org/r/876230

Change 876231 merged by Reedy:

[mediawiki/vendor@REL1_38] Rebuild vendor on composer 2.5.1

https://gerrit.wikimedia.org/r/876231

Change 876232 merged by Reedy:

[mediawiki/vendor@REL1_35] Rebuild vendor on composer 2.5.1

https://gerrit.wikimedia.org/r/876232

Reedy renamed this task from Upgrade composer to 2.4.x/2.5.x to Upgrade composer to 2.5.1.Jan 6 2023, 5:42 PM

Change 876236 had a related patch set uploaded (by Jforrester; author: Jforrester):

[integration/config@master] jjb: Update PHP-based jobs to images with composer 2.5.1

https://gerrit.wikimedia.org/r/876236

Jdforrester-WMF updated the task description. (Show Details)

Change 876236 merged by jenkins-bot:

[integration/config@master] jjb: Update PHP-based jobs to images with composer 2.5.1

https://gerrit.wikimedia.org/r/876236