I am marking this a duplicate of the project browser and automatic updates initiatives.
Currently in D7, people can download core and modules as zip files and upload them to a cheap hosting via FTP.
(They can also use the module downloader, but I think I never used this myself, so no idea if this even works :) Afaik you need to give write permissions to www-data which I like to avoid.)
In Drupal 8, if you have modules that introduce composer dependencies in addition to those in core, you need to run composer update with the CLI. This is going to be difficult for the cheap hosting + FTP scenario. Especially with #2380389: Use a single vendor directory in the root β .
One solution is to run Composer locally and copy the changes to the server with FTP. But some people might not even be comfortable with that.
Other considerations:
Let core require composer, so it can download composer libraries.
Create a module with a UI to configure a "contrib module download wishlist". This can be used for new modules, and also for module updates.
Once you are happy with the wishlist, the module can:
(*) The composer.json and the downloaded stuff can go into on of:
So far this leaves the existing site completely untouched.
Now the user can copy this stuff over the existing source files manually, and take responsibility for any permission changes.
This workflow enables Composer, and is more comfortable (imo) than what those people currently do in D7.
The module could be introduced in core in 8.1.*, or it could even live in contrib.. although for this we would need a core version with Composer included.
But we might want a proof-of-concept implementation soon, to reduce the fear factor of issues like
#2380389: Use a single vendor directory in the root β
Caveat: Afaik, in some cases Composer needs stuff like git to download dependencies that are not on Packagist. But we might find a way to work around that.
Closed: duplicate
10.1 β¨
Last updated
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I am marking this a duplicate of the project browser and automatic updates initiatives.