Just took a look through the code for this fine project. In example.drebuild.aliases.drushrc.php, The 'rebuild' element should be #rebuild. This makes sure that Drush does not pass along --rebuild option during remote drush calls.

Comments

kostajh’s picture

Assigned: Unassigned » kostajh

Thanks @moshe.

tasks:

- Update example
- Prompt users to update their alias (or do it for them)
- Update code that references that section of the alias

kostajh’s picture

Status: Active » Fixed

This is fixed in 0648757928b. For the time being, both 'rebuild' and '#rebuild' are valid; a warning is logged if 'rebuild' is defined in the alias.

In the future Drush Rebuild will return an error if the user has 'rebuild' defined in their alias.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 0648757 on 7.x-1.x, alias-id-check, 7.x-1.8, refactor by kostajh:
    Issue #2043353 by moshe weitzman: Example aliases metadata
    
  • Commit 91b6ee5 on 7.x-1.x, alias-id-check, 7.x-1.8, refactor by kostajh:
    Issue #2043353 by moshe weitzman: Example aliases metadata