We should be allowed to create working copy platforms in Aegir, we need this for development. This could be per-platform, or per-hostmaster.

Comments

joestewart’s picture

Try this patch for drush_make to be able to specify the options in the makefile. Seemed better all around - http://drupal.org/node/1206340#comment-4800440

Steven Jones’s picture

Yes, but not having to change the make file would still be useful, so I think having an option in the front-end would be useful, and not a huge amount of effort, though we would need to pass another bit of data from the front-end to the back-end.

anarcat’s picture

Note that I tried to make hostmaster-install respect --working-copy, but I am not sure it's ever worked.

Steven Jones’s picture

Version: 7.x-2.x-dev » 6.x-2.x-dev
Assigned: Steven Jones » Unassigned
Steven Jones’s picture

We should be able to do this in contrib for 1.x I reckon.

Steven Jones’s picture

mxmilkiib’s picture

The aegir_make_working_copy module is not currently working with Aegir via the latest BOA. No extra option appears on the platform node create form.

mxmilkiib’s picture

Edit: The above is incorrect - the option only appears after a make file address is entered. But the module causes problems - the Aegir queue stops processing

php /var/aegir/drush/drush.php @hostmaster hosting-cron --debug
Bootstrap to phase 0. [0.02 sec, 1.48 MB]                            [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [0.03 sec, 1.62 MB] [bootstrap]
Load alias @hostmaster [0.03 sec, 1.62 MB]                                                        [notice]
Loading drushrc "/var/aegir/host_master/002/sites/aegir.mysite.org/drushrc.php" into "site" scope. [0.04 sec, 1.63 MB]   [bootstrap]
PHP Fatal error:  Class 'provisionService' not found in /var/aegir/.drush/provision/aegir_make_working_copy/aegir_make_working_copy.drush.inc on line 18

Fatal error: Class 'provisionService' not found in /var/aegir/.drush/provision/aegir_make_working_copy/aegir_make_working_copy.drush.inc on line 18
Drush command terminated abnormally due to an unrecoverable error.              [error]
Error: Class 'provisionService' not found in /var/aegir/.drush/provision/aegir_make_working_copy/aegir_make_working_copy.drush.inc, line 18 [0.09 sec, 4.22 MB]
Steven Jones’s picture

Assigned: Unassigned » Steven Jones

@milkmiruku you will need to install it into the same directory as provision, which is why your task is failing I think, because provision is elsewhere, or you're not using 1.x.

Going to get this merged into 6.x-2.x because it's a super nice feature.

Steven Jones’s picture

Status: Active » Fixed

Pushed the github module into the 6.x-2.x branches for Provision and Hostmaster.

Status: Fixed » Closed (fixed)

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

  • Commit f11757b on 6.x-2.x, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-588728-views-integration, dev-1403208-new_roles, dev-helmo-3.x by Steven Jones:
    Issue #1260066 by Steven Jones: Added Allow use of the working copy...

  • Commit f11757b on 6.x-2.x, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-588728-views-integration, dev-1403208-new_roles, dev-helmo-3.x by Steven Jones:
    Issue #1260066 by Steven Jones: Added Allow use of the working copy...