Add composer's quick install link to recipes

Created on 13 May 2025, 1 day ago

Problem/Motivation

When creating a new recipe release, I expected the release cta to display the composer require command. I figure it might take a few dates to update, but it never happened.

This is what I expected to see

This is what I got.

The project above is not the one I was using. I picked on a third party in this case, commerce to ensure it was not a typo or issue that I made on my own.

Steps to reproduce

Create a new recipe general project on Drupal.org
Wait for the composer required to show up. It will never show up.

Proposed resolution

On the Slack thread, we learned that only core, modules, and themes will show that: https://git.drupalcode.org/project/drupalorg/-/blob/7.x-3.x/drupalorg/dr...

That said, since we now have a type recipe in composer, we could try adding it there so it shows up.
However, there might be an extra challenge with recipes, as it seems drupal.org does not keep a record of which releases have a composer.json, we’d need to store that to know which releases should have composer install instructions

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

3.0

Component

Code

Created by

🇺🇸United States bernardm28 Tennessee

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024