calendar icon indicating copy to clipboard operation
calendar copied to clipboard

Supporting plugin Installer >= 0.2.0 and composer2.0

Open dise2003 opened this issue 4 years ago • 7 comments

I try to upgrade the Roundcube Pugin Installer to veriosn >= 0.2.0 and get this error Messgae.

Dokumentation for Upgrade plugin Installer: https://roundcube.net/news/2020/11/04/installer-update-for-composer-v2

`sudo -u www-data php /var/www/mail/composer.phar require "roundcube/plugin-installer:>=0.2.0" Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2 ./composer.json has been updated Loading composer repositories with package information Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2 Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1 - texxasrulez/calendar 0.0.7 requires roundcube/plugin-installer ~0.1.6 -> satisfiable by roundcube/plugin-installer[0.1.10, 0.1.6, 0.1.7, 0.1.8, 0.1.9] but these conflict with your requirements or minimum-stability. - texxasrulez/calendar 0.0.7 requires roundcube/plugin-installer ~0.1.6 -> satisfiable by roundcube/plugin-installer[0.1.10, 0.1.6, 0.1.7, 0.1.8, 0.1.9] but these conflict with your requirements or minimum-stability. - texxasrulez/calendar 0.0.7 requires roundcube/plugin-installer ~0.1.6 -> satisfiable by roundcube/plugin-installer[0.1.10, 0.1.6, 0.1.7, 0.1.8, 0.1.9] but these conflict with your requirements or minimum-stability. - Installation request for texxasrulez/calendar ^0.0.7 -> satisfiable by texxasrulez/calendar[0.0.7].

regards Sebastian Installation failed, reverting ./composer.json to its original content. `

dise2003 avatar Nov 04 '20 16:11 dise2003

Any luck with this? Same problem still exists.

MACscr avatar Feb 18 '21 07:02 MACscr

I can confirm that it doesn't work with composer 2:

    - Root composer.json requires texxasrulez/calendar ~0.0.7.0 -> satisfiable by texxasrulez/calendar[0.0.7].
    - texxasrulez/calendar 0.0.7 requires roundcube/plugin-installer ~0.1.6 -> found roundcube/plugin-installer[0.1.6, ..., 0.1.10] but it conflicts with your root composer.json require (~0.2.0).

meaz avatar Apr 29 '21 08:04 meaz

Setting the requirement for Caldav plugin to dev-master worked for me.

Am 29. April 2021 10:13:35 schrieb meaz @.***>:

I can confirm that it doesn't work with composer 2:

  • Root composer.json requires texxasrulez/calendar ~0.0.7.0 -> satisfiable by texxasrulez/calendar[0.0.7]. - texxasrulez/calendar 0.0.7 requires roundcube/plugin-installer ~0.1.6 -> found roundcube/plugin-installer[0.1.6, ..., 0.1.10] but it conflicts with your root composer.json require (~0.2.0).

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Miyamoto72 avatar Apr 29 '21 11:04 Miyamoto72

@Miyamoto72 I'm not too sure I understand. Where did you set that?

meaz avatar Apr 29 '21 13:04 meaz

In composer.json - instead of "0.0.7" you put "dev-master"

Am 29. April 2021 15:53:33 schrieb meaz @.***>:

@Miyamoto72 I'm not too sure I understand. Where did you set that? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

Miyamoto72 avatar Apr 29 '21 14:04 Miyamoto72

When doing so, I'm being asked for a token: Cloning failed using an ssh key for authentication, enter your GitHub credentials to access private repos which I don't want to do. Is there any other way?

meaz avatar Apr 30 '21 06:04 meaz

Sorry, can't help you with this - didn't provide any credentials, just did as told and it worked fine then. You may find solutions on the net.

Am 30. April 2021 08:18:48 schrieb meaz @.***>:

When doing so, I'm being asked for a token: Cloning failed using an ssh key for authentication, enter your GitHub credentials to access private repos which I don't want to do. Is there any other way? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

Miyamoto72 avatar Apr 30 '21 09:04 Miyamoto72