Closed sabl0r closed 4 years ago
I don't use composer for anything, therefore I don't know how it works or what it does. If you find out what the problem is let me know and I change whatever is needed.
This is handled by plugins.roundcube.net and plugin-installer. I see 1.3.1 and 1.3.2 on plugins.roundcube.net, but not 1.4rc2. Why? I don't. know. Maybe a bug that you could ask about on https://github.com/roundcube/plugin-installer/issues
I still don't use composer. If you can find out what causes this and how to fix it, please do so and share it here. I'll implement what's needed when explained.
Maybe... try to add missing version info to your composer.json, follow version constraints from docs https://getcomposer.org/doc/articles/versions.md
Documentation says "The version of the package. In most cases this is not required and should be omitted" so the version info is not missing in my composer.json because it is not supposed to be there. Also I am using tags with their required versioning scheme in github, so that should be fine too.
The source code for plugins.roundcube.net is at https://github.com/roundcube/plugins.roundcube.net
It is based on packagist and long behind packagist releases. Unfortunately update is not that easy. There's a ticket for this.
alright I added version info and some other stuff I found in other plugins composer.json files. The documentation of plugins.roundcube also does not mention to put version info in the file btw, whatever this composer thing does is not well implemented/documented... I hope those changes help
At the moment 1.4rc2 is there, but not 1.4.2. Maybe @thomascube would know something more?
Maybe v1.4rc2
is not considered as stable by Composer. Try to adjust the minimum-stability setting in your composer.json
file.
1.4.2 is stable and newer than 1.4rc2, however the "current" version found by the plugins website is rc2. no clue why. I also don't know how this thing updates it's info because 1.4.2 is many days old, even a weekly scrape of the repositories should have found that by now.
@mike-kfed You can trigger an update by logging in to plugins.roundcube.net and selecting your package. Then there's a button for it. However, I just triggered an update for your plugin manually.
thanks, let's hope this resolves the issue
seems to be fixed by the new packagist backend, just released v1.4.6 was immediately picked up by it. plugins.roundcube.net seems to lag a bit but that is fine I guess.
Any idea why newer releases like 1.3.2 are not pulled in?
Steps to reproduce:
foo /tmp $ cd roundcubemail/
foo /tmp/roundcubemail (master) $ cp composer.json-dist composer.json