50 lines
5.2 KiB
Plaintext
50 lines
5.2 KiB
Plaintext
--TEST--
|
|
Checks that package versions in InstalledVersions are correct on initial install. Noteworthy things:
|
|
|
|
- PluginA is not yet found at the moment where it is first initialized. This is a quirk which we are unlikely to fix
|
|
- PluginB is not yet found at the moment where it is first initialized, but it finds PluginA which was installed before
|
|
- Local dependencies (symfony/*) always show the Composer-bundled version
|
|
--RUN--
|
|
update
|
|
--EXPECT--
|
|
> Hooks::preUpdate
|
|
!!PreUpdate:["composer/ca-bundle","composer/class-map-generator","composer/composer","composer/metadata-minifier","composer/pcre","composer/semver","composer/spdx-licenses","composer/xdebug-handler","justinrainbow/json-schema","psr/container","psr/log","psr/log-implementation","react/promise","seld/jsonlint","seld/phar-utils","seld/signal-handler","symfony/console","symfony/deprecation-contracts","symfony/filesystem","symfony/finder","symfony/polyfill-ctype","symfony/polyfill-intl-grapheme","symfony/polyfill-intl-normalizer","symfony/polyfill-mbstring","symfony/polyfill-php73","symfony/polyfill-php80","symfony/polyfill-php81","symfony/process","symfony/service-contracts","symfony/string"]
|
|
!!Versions:console:%[2-8]\.\d+\.\d+.0%;process:%[2-8]\.\d+\.\d+.0%;filesystem:%[2-8]\.\d+\.\d+.0%
|
|
Loading composer repositories with package information
|
|
%((Info|Warning) from .*\n)?%Updating dependencies
|
|
Lock file operations: 6 installs, 0 updates, 0 removals
|
|
- Locking plugin/a (1.1.1)
|
|
- Locking plugin/b (2.2.2)
|
|
- Locking symfony/console (99999.1.2)
|
|
- Locking symfony/filesystem (%v?[2-8]\.\d+\.\d+%)
|
|
- Locking symfony/polyfill-ctype (%v?[1-8]\.\d+\.\d+%)
|
|
- Locking symfony/process (12345.1.2)
|
|
Writing lock file
|
|
Installing dependencies from lock file (including require-dev)
|
|
Package operations: 6 installs, 0 updates, 0 removals%(\nAs there is no 'unzip' nor '7z' command installed zip files are being unpacked using the PHP zip extension.\nThis may cause invalid reports of corrupted archives. Besides, any UNIX permissions \(e.g. executable\) defined in the archives will be lost.\nInstalling 'unzip' or '7z' \(21\.01\+\) may remediate them.)?%
|
|
- Downloading symfony/polyfill-ctype (%v?[1-8]\.\d+\.\d+%)
|
|
- Downloading symfony/filesystem (%v?[2-8]\.\d+\.\d+%)
|
|
- Installing symfony/console (99999.1.2): Symlinking from symfony-console
|
|
- Installing plugin/a (1.1.1): Symlinking from plugin-a
|
|
!!PluginAInit["composer/ca-bundle","composer/class-map-generator","composer/composer","composer/metadata-minifier","composer/pcre","composer/semver","composer/spdx-licenses","composer/xdebug-handler","justinrainbow/json-schema","psr/container","psr/log","psr/log-implementation","react/promise","seld/jsonlint","seld/phar-utils","seld/signal-handler","symfony/console","symfony/deprecation-contracts","symfony/filesystem","symfony/finder","symfony/polyfill-ctype","symfony/polyfill-intl-grapheme","symfony/polyfill-intl-normalizer","symfony/polyfill-mbstring","symfony/polyfill-php73","symfony/polyfill-php80","symfony/polyfill-php81","symfony/process","symfony/service-contracts","symfony/string","root/pkg"]
|
|
!!PluginA:null
|
|
!!PluginB:null
|
|
!!Versions:console:%[2-8]\.\d+\.\d+.0%;process:%[2-8]\.\d+\.\d+.0%;filesystem:%[2-8]\.\d+\.\d+.0%
|
|
- Installing plugin/b (2.2.2): Symlinking from plugin-b
|
|
!!PluginBInit["composer/ca-bundle","composer/class-map-generator","composer/composer","composer/metadata-minifier","composer/pcre","composer/semver","composer/spdx-licenses","composer/xdebug-handler","justinrainbow/json-schema","psr/container","psr/log","psr/log-implementation","react/promise","seld/jsonlint","seld/phar-utils","seld/signal-handler","symfony/console","symfony/deprecation-contracts","symfony/filesystem","symfony/finder","symfony/polyfill-ctype","symfony/polyfill-intl-grapheme","symfony/polyfill-intl-normalizer","symfony/polyfill-mbstring","symfony/polyfill-php73","symfony/polyfill-php80","symfony/polyfill-php81","symfony/process","symfony/service-contracts","symfony/string","plugin/a","root/pkg"]
|
|
!!PluginA:1.1.1.0
|
|
!!PluginB:null
|
|
!!Versions:console:%[2-8]\.\d+\.\d+.0%;process:%[2-8]\.\d+\.\d+.0%;filesystem:%[2-8]\.\d+\.\d+.0%
|
|
- Installing symfony/polyfill-ctype (%v?[1-8]\.\d+\.\d+%): Extracting archive
|
|
- Installing symfony/filesystem (%v?[2-8]\.\d+\.\d+%): Extracting archive
|
|
- Installing symfony/process (12345.1.2): Symlinking from symfony-process
|
|
Generating autoload files
|
|
2 packages you are using are looking for funding.
|
|
Use the `composer fund` command to find out more!
|
|
> Hooks::postUpdate
|
|
!!PostUpdate:["composer/ca-bundle","composer/class-map-generator","composer/composer","composer/metadata-minifier","composer/pcre","composer/semver","composer/spdx-licenses","composer/xdebug-handler","justinrainbow/json-schema","psr/container","psr/log","psr/log-implementation","react/promise","seld/jsonlint","seld/phar-utils","seld/signal-handler","symfony/console","symfony/deprecation-contracts","symfony/filesystem","symfony/finder","symfony/polyfill-ctype","symfony/polyfill-intl-grapheme","symfony/polyfill-intl-normalizer","symfony/polyfill-mbstring","symfony/polyfill-php73","symfony/polyfill-php80","symfony/polyfill-php81","symfony/process","symfony/service-contracts","symfony/string","plugin/a","plugin/b","root/pkg"]
|
|
!!Versions:console:%[2-8]\.\d+\.\d+.0%;process:%[2-8]\.\d+\.\d+.0%;filesystem:%[2-8]\.\d+\.\d+.0%
|
|
|
|
--EXPECT-EXIT-CODE--
|
|
0
|