Clarity on drush make support in 2020

Created on 10 October 2017, almost 7 years ago
Updated 9 January 2024, 9 months ago

Hi patrickd, I'm trying to get a module I maintain to install its libraries using a drush make file. I think this used to work fine but I haven't touched the module for some time and coming back to test it in simplytestme it looks like the files are no longer downloaded. The module I'm testing is responsive_menu module, version 8.x-2.x (dev version).

I've pushed an update to remove the old drush make file in favour of one which uses the yml syntax. I've tested the file works locally by running the following from the module directory: drush @none make --no-core ./responsive_menu.make.yml ../../../

It should install three libraries in the /libraries directory in the webroot. The libraries should be named mmenu, superfish and hammerjs.

Can you help me debug the issue?

๐Ÿ’ฌ Support request
Status

Postponed

Version

4.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡นItaly tanc Italy

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • ๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom rachel_norfolk UK

    Hi Tanc.

    Whilst it may seem cheeky after so many years, I wanted to check whether this issue is still required?

    I want to get the queue I to a more manageable state so contributions can be more responsive.

    Please either set back to Active if still required or Closed (outdated) if not.

    Thanks

  • Status changed to Active 9 months ago
  • ๐Ÿ‡ฎ๐Ÿ‡นItaly tanc Italy

    Hi Rachel, the question is still valid, it would still be nice to be able to install dependencies of a module in some way so that it is possible to provide a demonstration in simplytestme of that module.

    But it's not something I can't live without (I've managed without for the last 6 years lol!)

  • ๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom rachel_norfolk UK

    So, for D8 and beyond, that is achieved through dependencies declared in the moduleโ€™s composer.json file and we know that is working in stm.

    Are you specifically needing drush make dependency support for D7 or something?

  • Status changed to Postponed 9 months ago
  • ๐Ÿ‡ฎ๐Ÿ‡นItaly tanc Italy

    No, definitely just D8 and beyond. I guess I'll need to try again to see whether things are working after all this time. I'll put this back to postponed until I have a chance.

    Just to be clear, the dependencies are JavaScript libraries. I don't suppose you have an example of a module where this is working so I can follow along?

  • ๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom rachel_norfolk UK

    The most basic answer to that question is if it is listed in Packagist, then you can simply reference it. Even if it is a js library

    If not, it get more complicated.

Production build 0.71.5 2024