Currently, this module always pulls from the platform directory, even if you specify a site alias.

It should be modified to pull from the site directory if a site alias is used. This way people that just keep the site folder as a repo can just pull that and it won't affect platform git repos.

Comments

helmo’s picture

Status: Active » Needs review
StatusFileSize
new1.33 KB
new3.17 KB

This should do it. I've split it in two commits/patches to keep it readable.

jon pugh’s picture

Status: Needs review » Fixed

Thanks!

More has changed since these patches, but I applied your concept across the project. Also useful is that I use drush_set_option now to set the repo_path globally, so the sub functions don't have to duplicate the effort.

Committed: http://drupalcode.org/project/provision_git.git/commit/8e11d24

Status: Fixed » Closed (fixed)

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

  • Commit ab77011 on 6.x-1.x, 7.x-1.x by Jon Pugh:
    Issue #1561536 by helmo: Pull from platform OR site.
    - Changing $...
  • Commit 8e11d24 on 6.x-1.x, 7.x-1.x by Jon Pugh:
    Issue #1561536 by helmo, careernerd: Pull site or platform folders.  Now...

  • Commit ab77011 on 6.x-1.x, 7.x-1.x, 7.x-3.x by Jon Pugh:
    Issue #1561536 by helmo: Pull from platform OR site.
    - Changing $...
  • Commit 8e11d24 on 6.x-1.x, 7.x-1.x, 7.x-3.x by Jon Pugh:
    Issue #1561536 by helmo, careernerd: Pull site or platform folders.  Now...