I am aware that my choice of category/priority will be controversial and may get changed. However I honestly believe these values reflect the status for many users. The long established option of "drush pm-upgrade" is only barely working in D8.4: #2906637: [META] Drush and core compatibility is fragile. Please lets work together to make constructive progress rather than just criticising this issue (feel free to edit!)
The options that we have:
Drush
- Has worked well for many users but increasing complications with dependency clashes mean this will not be a viable option for much longer.
- Does not install dependent libraries or tools. For example the address module requires composer.
Drupal GUI
- Can install and upgrade modules but not after Securing file permissions and ownership.
- Cannot upgrade core.
- Does not install dependent libraries or tools.
By hand
- Download, extract and copy files by hand is tedious and error-prone. In 2017 surely you are joking.
- Not really documented how to install dependent libraries or tools.
Composer
There has been a lot of work to make this usable for those comfortable with development and solving a few little problems as they go. However it is far from out of the box.
- #2845379: Provide optional composer integration but don't force users to understand how to use composer
- Drupal tarball does not ship with composer nor leave a deployment composer-ready.
- As far as I know Drupal core does not include a component "composer" and hence a maintainer nor are there any tests.
- Lots of open issues and user confusion.
Comments
Comment #2
rachel_norfolkIt may be worth catching up with Bojan as he has been working on a tool to make it easier to install commerce 2 without needing composer. It looks like really good work and may be relevant.
Comment #3
Mile23Drupal tarball is built using
composer install --no-dev
. It does not include the Composer binary for a lot of good reasons. We don't include the composer/composer package for a lot of other good reasons.Some of the reasons are:
There is a Composer test group. Also, all testbot builds are assembled via d.o's Composer façade.
There is a composer tag, and at least this one meta: #2002304: [META] Improve Drupal's use of Composer
Comment #4
AdamPS CreditAttribution: AdamPS at AlbanyWeb commentedThanks for the comments.
Good news is that further investigation (see #2906637: [META] Drush and core compatibility is fragile) has determined "drush pm-update D8.4" does work with perhaps a minor glitch. Hence the scenario described in this issue "lost any satisfactory upgrade" is not true for D8.4, and I will close this issue.
This scenario is still a real risk for the future. However there are other issues for that: plenty of issues for "improve composer", and the referenced issue is a task to keep pm-update working in the meantime.