- Issue created by @kopeboy
- 🇮🇹Italy kopeboy Milan
Oh my bad, I didn't see the README (cause I went to the 2.x version of the source code).
From there you are sent to the Getting Started Guide (for recipes), where you can find a set of commands (that you can apply with DDEV just by pre-prending
ddev
to every command) that should make it... but doesn't.The suggested core patch is for Drupal 10.2 and won't apply. Doing all the other steps without applying the patch is not enough (same error after composer requiring this module).
Version 10.3.x or 11.x of the linked Guide doesn't exist (the general docs folder either).
- 🇨🇦Canada mandclu
Hmmm, the only thing I can think of is that since recipes don't include an info.yml file, maybe if the composer.json file doesn't specifically reference a version of core, the packagist integration for drupal.org assumes the minimum value. I can explicitly set a minimum of Drupal 10.3, but I can't say for sure that will solve the issue.
- 🇮🇹Italy kopeboy Milan
Actually my bad again, I didn't read through the whole linked guide 😅
a 10.3.x patch is also linked, but it returns an empty 200 and so it cannot apply 😅
so I can't stillcomposer require 'drupal/quick_links:^3.0@beta'
and proceed with applying the recipe.. - 🇮🇳India abhinesh
Drupal.org appends metadata to the code associated with the module page, specifically incorporating "drupal/core ~8.0" automatically. I encountered a similar challenge with one of my recipes. The resolution that proved effective was altering the project type from "module" to "general projects."
https://www.drupal.org/project/infrastructure/issues/3483086 💬 Request to Change Project Type Active
- 🇮🇹Italy kopeboy Milan
A standard composer require won't work even with those linked projects.. Seeing from their README there are many steps to do 😅 And if they are correct, maybe they should be added to this module's README?
- 🇨🇦Canada mandclu
I've had some discussion with the drupal.org infrastructure team, but it doesn't sound like the ability have recipes install properly via composer in a module project can be expected to work anytime soon.
There are a couple of paths forward. For now, you could install the module. In fact, if your site is using Olivero as its front-end theme you could pull in the module and only install the quick_links_olivero submodule (agreeing to the dependencies) and that will set everything up for you, including placing the block onto the home page of your site.
Since this module isn't being shown as in use, I can also inquire about having the project type switched from module to general project, after which the composer install should work for the recipe (but not for the module anymore).