72 Commits

Author SHA256 Message Date
5b74655ff3 Accepting request 975231 from home:susnux:branches:server:php:applications
Update to version 2.3.5 for CVE-2022-24828

OBS-URL: https://build.opensuse.org/request/show/975231
OBS-URL: https://build.opensuse.org/package/show/server:php:applications/php-composer2?expand=0&rev=15
2022-05-06 07:18:59 +00:00
8495e27d33 Accepting request 968123 from server:php:applications
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/968123
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/php-composer2?expand=0&rev=9
2022-04-10 17:05:42 +00:00
5f2dd3275f - Update to version 2.3.3
* Added --2.2 flag to `self-update` to pin the Composer version to
    the 2.2 LTS range (#10682)
  * Added missing config.bitbucket-oauth in composer-schema.json
  * Fixed type errors in SvnDriver (#10681)
  * Fixed --version output to match the pre-2.3 one (#10684)
  * Fixed config/auth.json files not being validated against the
    composer-schema.json (#10685)
  * Fixed generation of autoload crashing if a package has a broken
    path (#10688)
  * Fixed GitDriver state issue when reusing old cache dirs and the
    default branch was renamed (#10687)
  * Updated semver, jsonlint deps for minor fixes
  * Removed dev-master=>dev-main alias from #10372 as it does not
    work when reloading from lock file and extracting dev deps (#10651)
- Update to version 2.3.2
  * Fixed type error when running `exec` command (#10672)
  * Fixed endless loop in plugin activation prompt when input is not
    fully interactive yet appears to be (#10648)
  * Fixed type error in ComposerRepository (#10675)
  * Fixed issues loading platform packages where the version of a
    library cannot be established (#10631)
- Update to version 2.3.1
  * Fixed type error when HOME env var is not set (#10670)
- Update to version 2.3.0
  * Fixed many strict types errors (#10646, #10642, #10647, #10658,
    #10656, #10665, #10660, #10663, #10662)
  * Fixed invalid return value in ComposerRepository::findPackage
    (#10622)
  * Fixed many `show` command issues due to a flipped condition

OBS-URL: https://build.opensuse.org/package/show/server:php:applications/php-composer2?expand=0&rev=13
2022-04-03 07:50:53 +00:00
f86f958a6a Accepting request 957971 from server:php:applications
- Update to version 2.2.7
  * Fixed support for packages with no licenses in licenses
    command output
  * Fixed handling of allow-plugins: false which kept warning
  * Fixed enum parsing in classmap generation when the enum keyword
    is not lowercased
  * Fixed author parsing in init command requiring an email whereas
    the schema allows a name only
  * Fixed issues in require command when requiring packages which
    do not exist (but are provided by something else you require)
  * Performance improvement in pool optimization step (forwarded request 957604 from susnux)

OBS-URL: https://build.opensuse.org/request/show/957971
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/php-composer2?expand=0&rev=8
2022-02-28 18:43:39 +00:00
474d5409cc Accepting request 957604 from home:susnux:branches:server:php:applications
- Update to version 2.2.7
  * Fixed support for packages with no licenses in licenses
    command output
  * Fixed handling of allow-plugins: false which kept warning
  * Fixed enum parsing in classmap generation when the enum keyword
    is not lowercased
  * Fixed author parsing in init command requiring an email whereas
    the schema allows a name only
  * Fixed issues in require command when requiring packages which
    do not exist (but are provided by something else you require)
  * Performance improvement in pool optimization step

OBS-URL: https://build.opensuse.org/request/show/957604
OBS-URL: https://build.opensuse.org/package/show/server:php:applications/php-composer2?expand=0&rev=12
2022-02-28 08:02:07 +00:00
3696cbd966 Accepting request 957682 from server:php:applications
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/957682
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/php-composer2?expand=0&rev=7
2022-02-26 16:02:15 +00:00
66cf5e8940 - Update to version 2.2.6
* BC Break: due to an oversight, the COMPOSER_BIN_DIR env var for
    binaries added in Composer 2.2.2 had to be renamed to
    COMPOSER_RUNTIME_BIN_DIR (#10512)
  * Fixed enum parsing in classmap generation with syntax like enum
    foo:string without space after : (#10498)
  * Fixed package search not urlencoding the input (#10500)
  * Fixed reinstall command not firing pre-install-cmd/post-install-cmd
    events (#10514)
  * Fixed edge case in path repositories where a symlink: true option
    would be ignored on old Windows and old PHP combos (#10482)
  * Fixed test suite compatibility with latest symfony/console
    releases (#10499)
  * Fixed some error reporting edge cases (#10484, #10451, #10493)
- Update to version 2.2.5
  * Disabled composer/package-versions-deprecated by default as it
    can function using Composer\InstalledVersions at runtime (#10458)
  * Fixed artifact repositories crashing if a phar file was present
    in the directory (#10406)
  * Fixed binary proxy issue on PHP <8 when fseek is used on the
    proxied binary path (#10468)
  * Fixed handling of non-string versions in package repositories
    metadata (#10470)
- Update to version 2.2.4
  * Fixed handling of process timeout when running async processes
    during installation
  * Fixed GitLab API handling when projects have a repository
    disabled (#10440)
  * Fixed reading of environment variables (e.g. APPDATA) containing
    unicode characters to workaround a PHP bug on Windows (#10434)

OBS-URL: https://build.opensuse.org/package/show/server:php:applications/php-composer2?expand=0&rev=11
2022-02-19 03:52:32 +00:00
e11b34796e Accepting request 952222 from server:php:applications
- PHP Composer 2 requires PHP 7.2.5 at least (forwarded request 952220 from weberho)

OBS-URL: https://build.opensuse.org/request/show/952222
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/php-composer2?expand=0&rev=6
2022-02-07 22:38:20 +00:00
431429d29e Accepting request 952220 from home:weberho:branches:server:php:applications
- PHP Composer 2 requires PHP 7.2.5 at least

OBS-URL: https://build.opensuse.org/request/show/952220
OBS-URL: https://build.opensuse.org/package/show/server:php:applications/php-composer2?expand=0&rev=10
2022-02-07 17:01:43 +00:00
Johannes Weberhofer
0a21e36631 Accepting request 951325 from home:pgajdos
- php is not required for build

OBS-URL: https://build.opensuse.org/request/show/951325
OBS-URL: https://build.opensuse.org/package/show/server:php:applications/php-composer2?expand=0&rev=9
2022-02-07 12:28:43 +00:00
be768f63c9 Accepting request 946091 from server:php:applications
OBS-URL: https://build.opensuse.org/request/show/946091
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/php-composer2?expand=0&rev=5
2022-01-13 22:21:02 +00:00
Johannes Weberhofer
b4fe972274 Accepting request 944504 from home:pgajdos
- version update to 2.2.3
  2.2.3 2021-12-31
  * Fixed issue with PHPUnit and process isolation now including PHPUnit
    <6.5 (#10387)
  * Fixed interoperability issue with laminas/laminas-zendframework-bridge
    and Composer 2.2 (#10401)
  * Fixed binary proxies for shell scripts to work correctly when they are
    symlinked (jakzal/phpqa#336)
  * Fixed overly greedy pool optimization in cases where a locked package
    is not required by anything anymore in a partial update (#10405)
  2.2.2 2021-12-29
  * Added COMPOSER_BIN_DIR env var and _composer_bin_dir global containing
    the path to the bin-dir for binaries. Packages relying on finding the
    bin dir with $BASH_SOURCES[0] will need to update their binaries (#10402)
  * Fixed issue when new binary proxies are combined with PHPUnit and process
    isolation (#10387)
  * Fixed deprecation warnings when using Symfony 5.4+ and requiring
    composer/composer itself (#10404)
  * Fixed UX of plugin warnings (#10381)
  2.2.1 2021-12-22
  * Fixed plugin autoloading including files autoload rules from the root
    package (#10382)
  * Fixed issue parsing php files with unterminated comments found inside
    backticks (#10385)
  2.2.0 2021-12-22
  * Added support for using dev-main as the default path repo package
    version if no VCS info is available (#10372)
  * Added --no-scripts as a globally supported flag to all Composer commands
    to disable scripts execution (#10371)
  * Fixed self-update failing in some edge cases due to loading plugins

OBS-URL: https://build.opensuse.org/request/show/944504
OBS-URL: https://build.opensuse.org/package/show/server:php:applications/php-composer2?expand=0&rev=8
2022-01-13 11:15:54 +00:00
2f9e43a9d5 Accepting request 940226 from server:php:applications
OBS-URL: https://build.opensuse.org/request/show/940226
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/php-composer2?expand=0&rev=4
2021-12-13 19:45:01 +00:00
Johannes Weberhofer
79cecbf7a6 Accepting request 939898 from home:guoyunhe:branches:server:php:applications
- Use update-alternatives
- Update to 2.1.14
  * Fixed invalid release build (2.1.13 was deleted as invalid)
  * Removed symfony/console ^6 support as we cannot be compatible
    until Composer 2.3.0 is released. If you have issues with
    Composer required as a dependency + Symfony make sure you stay
    on Symfony 5.4 for now. (#10321)

OBS-URL: https://build.opensuse.org/request/show/939898
OBS-URL: https://build.opensuse.org/package/show/server:php:applications/php-composer2?expand=0&rev=7
2021-12-13 12:10:27 +00:00
8e19c7b250 Accepting request 930665 from server:php:applications
OBS-URL: https://build.opensuse.org/request/show/930665
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/php-composer2?expand=0&rev=3
2021-11-10 20:47:01 +00:00
Ralf Lang
c311556551 Accepting request 930658 from home:guoyunhe:branches:server:php:applications
- Obsoletes php-composer (version 1.x)
- Update to 2.1.12
  * Fixed issues in proxied binary files relying on __FILE__ / __DIR__
    on php <8 (#10261)
  * Fixed 9999999-dev being shown in some cases by the show command (#10260)
  * Fixed GitHub Actions output escaping regression on PHP 8.1 (#10250)
- Update to 2.1.11
  * Fixed issues in proxied binary files when using declare() on php <8 (#10249)
  * Fixed GitHub Actions output escaping issues (#10243)
- Update to 2.1.10
  * Added type annotations to all classes, which may have an effect on
    CI/static analysis for people using Composer as a dependency (#10159)
  * Fixed CurlDownloader requesting gzip encoding even when no gzip
    support is present (#10153)
  * Fixed regression in 2.1.6 where the help command was not working for
    plugin commands (#10147)
  * Fixed warning showing when an invalid cache dir is configured but
    unused (#10125)
  * Fixed require command reverting changes even though dependency
    resolution succeeded when something fails in scripts for example (#10118)
  * Fixed require not finding the right package version when some newly
    required extension is missing from the system (#10167)
  * Fixed proxied binary file issues, now using output buffering (e1dbd65)
  * Fixed and improved error reporting in several edge cases (#9804,
    #10136, #10163, #10224, #10209)
  * Fixed some more Windows CLI parameter escaping edge cases
- Update to 2.1.9
  * Security: Fixed command injection vulnerability on Windows
    (GHSA-frqg-7g38-6gcf / CVE-2021-41116)
  * Fixed classmap parsing with a new class parser which does not rely
    on regexes anymore (#10107)
  * Fixed inline git credentials showing up in output in some conditions
    (#10115)
  * Fixed support for running updates while offline as long as the
    cache contains enough information (#10116)
  * Fixed show --all foo/bar which as of 2.0.0 was not showing all
    versions anymore but only the installed one (#10095)
  * Fixed VCS repos ignoring some versions silently when the API rate
    limit is reached (#10132)
  * Fixed CA bundle to remove the expired Let's Encrypt root CA

OBS-URL: https://build.opensuse.org/request/show/930658
OBS-URL: https://build.opensuse.org/package/show/server:php:applications/php-composer2?expand=0&rev=6
2021-11-10 12:57:37 +00:00
47780b9f8e Accepting request 919724 from server:php:applications
OBS-URL: https://build.opensuse.org/request/show/919724
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/php-composer2?expand=0&rev=2
2021-09-17 21:26:04 +00:00
Johannes Weberhofer
7883493d84 Accepting request 919722 from home:pgajdos
- requires php-mbstring [bnc#1187416]

OBS-URL: https://build.opensuse.org/request/show/919722
OBS-URL: https://build.opensuse.org/package/show/server:php:applications/php-composer2?expand=0&rev=5
2021-09-17 10:59:58 +00:00
f8f90db9dc Accepting request 919163 from server:php:applications
This package should later on replace php-composer which has been deprecated

OBS-URL: https://build.opensuse.org/request/show/919163
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/php-composer2?expand=0&rev=1
2021-09-15 20:51:33 +00:00
Johannes Weberhofer
30de00f601 Accepting request 919162 from home:weberho:branches:server:php:applications
- Update to 2.1.8
  Fixed regression in 2.1.7 when parsing classmaps in files containing
  invalid Unicode (gh#composer/composer#10102)
- Update to 2.1.7
  * Added many type annotations internally, which may have an effect on
    CI/static analysis for people using Composer as a dependency. This work will
    continue in following releases
  * Fixed regression in 2.1.6 when parsing classmaps with empty heredocs
    (gh#composer/composer#10067)
  * Fixed regression in 2.1.6 where list command was not showing plugin
    commands (gh#composer/composer#10075)
  * Fixed issue handling package updates where the package type changed
    (gh#composer/composer#10076)
  * Fixed docker being detected as WSL when run inside WSL
    (gh#composer/composer#10094)
- Update to 2.1.6
  * Updated internal PHAR signatures to be SHA512 instead of SHA1
  * Fixed uncaught exception handler regression (gh#composer/composer#10022)
  * Fixed more PHP 8.1 deprecation warnings
    (gh#composer/composer#10036, gh#composer/composer#10038,
    gh#composer/composer#10061)
  * Fixed corrupted zips in the cache from blocking installs until a cache
    clear, the bad archives are now deleted automatically on first failure
    (gh#composer/composer#10028)
  * Fixed URL sanitizer handling of new github tokens (gh#composer/composer#10048)
  * Fixed issue finding classes with very long heredocs in classmap
    autoload (gh#composer/composer#10050)
  * Fixed proc_open being required for simple installs from zip, as well as
    diagnose (gh#composer/composer#9253)
  * Fixed path repository bug causing symlinks to be left behind after a
    package is uninstalled (gh#composer/composer#10023)
  * Fixed issue in 7-zip support on windows with certain archives
    (gh#composer/composer#10058)
  * Fixed bootstrapping process to avoid loading the composer.json and
    plugins until necessary, speeding things up slightly (gh#composer/composer#10064)
  * Fixed lib-openssl detection on FreeBSD (gh#composer/composer#10046)
  * Fixed support for ircs:// protocol for support.irc composer.json entries

OBS-URL: https://build.opensuse.org/request/show/919162
OBS-URL: https://build.opensuse.org/package/show/server:php:applications/php-composer2?expand=0&rev=3
2021-09-15 13:04:55 +00:00
Ralf Lang
a1a005ddd2 Accepting request 908608 from home:kwk:branches:server:php:applications
- Require php-curl as Composer strongly recommends this.

- Update to 2.1.5
  Mostly bugfixes. See https://github.com/composer/composer/releases
  for details.

OBS-URL: https://build.opensuse.org/request/show/908608
OBS-URL: https://build.opensuse.org/package/show/server:php:applications/php-composer2?expand=0&rev=2
2021-07-27 13:00:37 +00:00
Ralf Lang
6090dce243 Accepting request 843972 from home:guoyunhe
Version 2 of php-composer. Version 1 is still actively maintained. So I created a new package for version 2.

OBS-URL: https://build.opensuse.org/request/show/843972
OBS-URL: https://build.opensuse.org/package/show/server:php:applications/php-composer2?expand=0&rev=1
2020-10-26 15:21:29 +00:00