drupal_ti icon indicating copy to clipboard operation
drupal_ti copied to clipboard

Add a way to specify dependencies that are only in test_dependencies[] in .info files

Open LionsAd opened this issue 10 years ago • 4 comments

drafty specifies field_collection and entity_translation only as test_dependencies[], which drush does not support.

It also fails on drush/drush:master completely as it specifies drafty_enforce, but drush can't find it - even though this is in drafty.

LionsAd avatar Dec 08 '14 17:12 LionsAd

Maybe as an alternative to this, you could have a specific makefile for drupal_ti; drupal-ti.make?

My specific usecase is that one of the dependencies in my module has a bug in the stable that only occurs on install, it's resolved in dev, but that doesn't help me with testing my module. The workaround (I'm currently working on) is to force the download of the dev version after Drupal has been downloaded.

Decipher avatar Jul 30 '15 07:07 Decipher

@Decipher Yes,that is what I do as well, see e.g. https://github.com/md-systems/pathauto/pull/51/files#diff-cac53111fcfaee8cad3f59282e74ab86R1 for a way to do this with the --script command.

LionsAd avatar Jul 30 '15 12:07 LionsAd

While it wouldn't necessarily help with the case you linked me to, #30 would simplify things for a non-specific dev release as you'd be able to run 'drush dl MODULE --dev -y' without first having to traverse to the specific directory.

Decipher avatar Jul 30 '15 13:07 Decipher

Indeed.

LionsAd avatar Jul 30 '15 14:07 LionsAd