Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
Would it be possible to move aliases.drushrc.php to templates/aliases.drushrc.php and add some documentation to the various array groups in that file? A link to the relevant drush/d.o/command page would even suffice to get an idea of what options are available in each case.
Thanks!
Comments
Comment #1
jp.stacey CreditAttribution: jp.stacey commentedI can certainly add some documentation, and I'll start doing that now.
Regarding the example aliases file, templates/ is really a folder for the .tpl.php template files - so templates/ in the very strict Drupal sense - for generating example vhosts etc, whereas the aliases.drushrc.php really is for the tests/ . It shouldn't be considered a template, or executed as one, or expected to generate output in the same way as e.g. vhost.tpl.php does.
Comment #2
jp.stacey CreditAttribution: jp.stacey commentedThis is now documented with a README.md, a HOWTO.md and extended comments in tests/aliases.drushrc.php, as per the following revision:
5ef23280841c38f6b62de5c008f804d660e8ced9
This is now available for review.
Comment #3
johan.gant CreditAttribution: johan.gant commentedLooks good, certainly covers what you need to get started and then some.
Comment #4
jp.stacey CreditAttribution: jp.stacey commentedGreat, I'll mark this as fixed now.