I am getting the following PHP Fatal error,

Call to undefined method Git::revParse() in /var/www/html/sites/all/modules/git_deploy/git_deploy.module on line 103

I have glip installed in sites/all/libraries. So the path to the lib folder is sites/all/libraries/glip/lib The libraries module is enabled.

Maybe my version of glip is too new?

Comments

ice5nake’s picture

I also just tried putting glip in /var/www/html/sites/all/modules/git_deploy/ like so /var/www/html/sites/all/modules/git_deploy/glip/lib. Still got the same error.

ohnobinki’s picture

How did you install glip? From a tarball/release or git clone? If git clone, what repository did you clone to get glip?

ice5nake’s picture

I installed from git. When I run git config -l

I get

core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
remote.origin.url=https://github.com/patrikf/glip.git
branch.master.remote=origin
branch.master.merge=refs/heads/master

If I am not mistaken, this is the repo the official project page, http://fimml.at/, links to

ohnobinki’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Active » Closed (duplicate)

OK, the problem is that git_deploy requires a specific fork of glip and doesn't support the official glip project nor its stable release.

To make your local installation work, simply switch to drupal's fork of glip:

$ git remote set-url origin git://github.com/halstead/glip
$ git pull

Thus, I'm marking this bug as a duplicate of #1054950: use official/stable releases of external libraries.

ice5nake’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Status: Closed (duplicate) » Active

Some mention of this on http://drupal.org/project/git_deploy would be good.

ice5nake’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Active » Closed (duplicate)
darren oh’s picture