Composer has become an extremely important part of our platform, and in practice, you cannot manage a Drupal 8 or Drupal 9 project without it.

However, it has a rather steep learning curve. A significant amount of the support requests in the "Post installation", "installing Drupal" and "upgrading Drupal" is about problems people have understanding how to use composer correctly.

I believe that the amount of questions we get about composer warrants giving them their own forum. It also will make it easier to locate solved problem if there is just one forum to look through, instead of three.

So I propose we create a "Composer" forum in the "Support" section of our forums.

CommentFileSizeAuthor
#7 202311_041916.png53.68 KBavpaderno

Comments

gisle created an issue. See original summary.

ressa’s picture

That's a great idea @gisle, and I agree about adding a "Composer" section in the Forum, under "Support".

I just added a paragraph for Composer questions under https://www.drupal.org/docs/administering-a-drupal-site/troubleshooting-...

I would have liked to discuss the change, but commenting was closed in 2020 due to spam ... So I decided to post it, and create a follow up issue in https://www.drupal.org/project/content/issues/ where I found this related issue.

avpaderno’s picture

Is there a short description that could be added to the new forum?

avpaderno’s picture

I created the Composer forum.

gisle’s picture

Short description:

This forum is for questions about how to use composer to install and to update Drupal. Before asking a question here, make sure that you have read our documentaion pages about Using Composer.
avpaderno’s picture

As a side note, if it is necessary to re-open comments on https://www.drupal.org/docs/administering-a-drupal-site/troubleshooting-..., to re-enable the Discuss tab, I can re-enable them. If then they keep to post spam in that page, comments can be closed again.

That is already happening with the documentation page that describes how to get an account confirmed, though; I just delete the comments as spam and block the accounts used to spam. Avoiding spam should not be a reason to disable the Discuss tab on documentation pages, IMO, given the importance to discuss what to place on those pages.

avpaderno’s picture

StatusFileSize
new53.68 KB

I just checked to see if all worked fine: When creating a new topic in the Composer forum, the description is shown.

screenshot

avpaderno’s picture

avpaderno’s picture

Status: Active » Fixed
ressa’s picture

Perfect, thanks @gisle and @apaderno, this will be a big help for everyone.

About comments under "How to ask for support from the Drupal community", it would be nice to get the Discussion reopened if possible ... And yes, if it gets flooded, we can consider closing it again.

The POSTING IN THIS FORUM - read this first text looks good, but we could consider using "Composer" when talking about the software, and lower case for the actual command used on a command line? See also how DDEV does this.

ressa’s picture

Thanks for Capitalizing "Composer" as a proper noun @gisle.

Another thing: Is it possible to use message templates in the forum?

It would be awesome to have something like this inserted automatically at the top, after clicking Add new Forum topic under Composer:

Info about your system and versions

System Version
Composer 2.x/1.x
Drupal 10.x/9.x/8.x/7.x
PHP 8.x/7.x
OS Mac/Linux/Windows
Dev system DDEV/Lando/XAMPP

It could maybe be added as a new "Content Template" called "System and versions", together with "Warning note", "Big Quote", etc.?

Ideally, it should be inserted automatically. If this is not possible, we can update the How to ask for support from the Drupal community > Composer text (new text in bold):

1. Your Operating System, Local server setup (DDEV, Lando, XAMPP, etc.), Composer version, and PHP version. Use the template "System and versions", from the "Templates" icon.

gisle’s picture

I am not aware of a a way to create a content template for forum posts. I am not able to see a "System and versions" template when I click the CKEditor "Templates" icon. Maybe I am looking in the wrong place?

ressa’s picture

It's not there yet, but I just suggested it, in #3399294: Add System and versions content template.

I guess as soon as it is added to drupalorg, it will be available site wide, or at least where the "Content Templates" icon is available?

avpaderno’s picture

I re-enabled the comments on https://www.drupal.org/docs/administering-a-drupal-site/troubleshooting-... this re-enabled the Discuss tab, but also re-enabled the field to explain the changes done in that documentation page.

ressa’s picture

Thanks @paderno, it will be nice to have comments again moving forward, and the accompanying explanation fields as well.

ressa’s picture

On POSTING IN THIS FORUM - read this first, I think we should add a direct link to the How to upgrade from Drupal 9 to Drupal 10 page.

It would help remove many of the typical stumbling blocks, for example getting blocked by Drupal Console. The suggested addition is in bold below:

[...]
Before posting here, you must read How to ask for support from the Drupal community, including some specific guidelines for getting help with Composer. Also make sure that you have read our documentation pages about Using Composer.

To upgrade to Drupal 10 with Composer, see How to upgrade from Drupal 9 to Drupal 10.

Please do not start discussions about the general merits of Composer. Such discussions will be closed as off-topic.
[...]

EDIT: Updating the links. I still think this would be worth including on the page, as I suggested.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

ressa’s picture

Can the "Composer" forum be moved up on https://www.drupal.org/forum, so that it's above "Upgrading Drupal"?

Many users with Composer challenges don't see it, and post in "Upgrading Drupal" ...

Also, the "Upgrading Drupal" help text could link to Composer?

NOW

Upgrading Drupal

This forum is for questions about upgrading an existing Drupal site. Don't forget to read the UPGRADE.txt file that comes with every Drupal download.

BETTER?

Upgrading Drupal

For questions about upgrading an existing Drupal site, see also the included UPGRADE.txt file. Use the Composer forum for questions about that.

ressa’s picture

I created a new issue for my two latest suggestions, since this issue is closed after all.

avpaderno’s picture