-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Composer and Packagist.org for dependencies #311
Comments
I'm not sure Cypht is compatible with composer, but I will check into it more and let you know. Thanks for the suggestion! |
@jasonmunro we already dived into this a little bit and it needs really some work to use composer, I might can give it a start as I made my own package for some own library but this needs to be tested a lot to be into the wild. |
This would permit to handle: Ex.: And when not on Packagist: Another idea to explore: should/could Cypht be available on Packagist.org? Thanks! |
I have a new branch using composer to get all our PHP requirements! :) https://github.com/jasonmunro/cypht/tree/composer-issue-311 This leaves 3 javascript requirements, 2 of which are manually modified specifically for Cypht (removing bits we don't use to make the payload smaller). Because of this, combined with the complexity of building javascript packages (which can be a pain IMO), I'm not planning on using composer on these 3 but instead will continue to include them in the Cypht source. I'm not sure if it makes sense to make Cypht available on packagist, it seems better suited to libraries as opposed to applications, and all the install steps requiring root would I think still need to be run by hand. |
Super! I see "ext-redis": "*" in composer.json, which I find a little surprising. It's not here: https://cypht.org/install.html On the topic of server requirements, we have a fantastic script to help users prepare / configure a server for PHP apps: |
dependency management is merged to master. See https://github.com/jasonmunro/cypht/wiki/Announcements for new install/upgrade command. Next I'm going to look into listing Cypht on packagist. |
@marclaporte also I moved optional requirements in the compose.json (like ext-redis) to the suggest section with descriptions of how they can be used. I'm going to close this now that both dependency management is merged to master and we are listed at packagist. I will update the install instructions at cypht.org with a composer option and continue to fine tune the composer.json as needed. |
wow You. Are. My. Hero! |
Can we have released versions and not just dev-master? Thanks! |
Yes and no :) We would have to back-port the composer changes to the prior release to accomplish this with 1.1.0 - something I would rather not do. Instead, lets start the process of a 1.2.0 release (or 1.1.1 depending on the change-log). Then we have a composer friendly release packagist will recognize that includes at least the preliminary Tiki integration work. I Typically do a series of RC tags prior to a final, so we could set a target of say 4 weeks to squeeze any remaining fixes in. |
We are already at 5700 installs :-) |
WOW! |
How do we recruit those 5.8k installers to be contributors? Any strategies? |
Like this: #352 |
8.2k installs :-) And Jason created v1.2.0-rc1 |
Nearly 11k installs :-) I guess we can close this now as it's part of the regular release process? |
Nearly 12k installs :-) |
14k installs :-) |
Just going to keep this open for the updates :) |
15.5k installs now! Already the top downloaded webmail that comes from an official source (others are re-packaged and may be out of sync with upstream) 1st JMAP solution: Once we have an official release branch (1.2.x, 1.2.y, ...), it will grow even faster. I predict we will be at over 100k by the end of 2020. And I will work hard to promote Cypht and make this prediction comes true :-) |
17k installs :-) |
Almost 18k installs :-) |
We passed 20k a few days ago! Please like or retweet: |
I think we can close this now instead of +1K extra each time? Packagists counts never said anything to me as lots of people just require and remove. |
I think Jason was going to close this once we have a stable release, but I have no objection to close now. Thanks! |
26k! https://packagist.org/packages/jason-munro/cypht Closing this in favor of #427 |
We now passed 50k! Now number 1 webmail on Packagist! https://packagist.org/search/?tags=webmail Congrats @jasonmunro and all the community! |
We have passed over 70 000 installs! |
Cypht is now at 72 000 installs! And Cypht has become the most popular webmail on Packagist: It positions Cypht as the pluggable webmail of the PHP ecosystem. To be fair, it's made easier because Roundcube (arguably the most popular Open Source webmail) has decided not to offer this: roundcube/roundcubemail#5938 |
75k installs! https://packagist.org/packages/jason-munro/cypht |
82k installs! |
94k installs! |
97k installs! |
We have passed 100k installs for Cypht! https://packagist.org/packages/jason-munro/cypht |
Please see: https://en.wikipedia.org/wiki/Composer_(software)
FYI, if you are looking for ideas / examples or even code: The Tiki Wiki CMS Groupware project (LGPL) is a massive user of Composer (100+ dependencies): https://doc.tiki.org/Composer
We added a web-based installer
We use https://asset-packagist.org/ when we can't get from https://packagist.org/
We run our own Satis server
The text was updated successfully, but these errors were encountered: