Changes required to run patterns duing install via Aegir

Hopefully starting a discussion on modifying the patterns and/or patterns install profile to support installation via Aegir.

I spent quite a bit of time getting it almost working but have run into a few issues. Bringing it up so hopefully we can work through issues that I weren't clear to me.

  1. Aegir runs install profiles without user input. So my plan was to add a "patterns"
    directory to the profile. Any patterns there would be run at install if the profile was run by drush. Interactive mode would be unchanged. This required a patch to patterns_get_patterns adding a patterns_paths argument to direct where to get the patterns.

  2. Patterns module stores the results success status in the session. My thoughts were to store this in a variable instead. However, when run from my profile, patterns_batch_finish doesn't seem to get called at all anyway.

So, in starting to test install via aegir, I was using the ubercart and blog patterns from the Gravitek server. The ubercart one seems to install OK, but the status doesn't get updated. The blog one only seems to get the content type created and no node created.

Any hints on how to get this working and the direction to take?

thanks,

Joe

Comments

Aegir + Patterns

RambabuKatta's picture

Any progress on this. Has anyone implemented this.
Please let me know.

Thanks
Ram

Regards,
Rambabu Katta

I think we first need proper

jonhattan's picture

I think we first need proper drush integration - http://drupal.org/node/601044


A considerable problem in server administration is having clients.

Patterns

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week