texxasrulez / calendar

GNU Affero General Public License v3.0
14 stars 14 forks source link

Supporting plugin Installer >= 0.2.0 and composer2.0 #13

Open dise2003 opened 3 years ago

dise2003 commented 3 years ago

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

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

MACscr commented 3 years ago

Any luck with this? Same problem still exists.

meaz commented 3 years ago

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).
Miyamoto72 commented 3 years ago

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.

meaz commented 3 years ago

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

Miyamoto72 commented 3 years ago

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.

meaz commented 3 years ago

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?

Miyamoto72 commented 3 years ago

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.