I get this error while downloading campaignmonitor module via a drush make file.
Unable to clone campaignmonitor from http://github.com/campaignmonitor/createsend-php.git.

Comments

L-four’s picture

Status: Active » Needs review
StatusFileSize
new1023 bytes

Here is a patch I made against 7.x-1.x

cableman0408’s picture

Status: Needs review » Fixed

I have applied the patch, but using the http protocol. This is because the git:// protocol uses a port that's not always open in firewalls.

L-four’s picture

This is still caused me erorrs,
Do we really a .make file?

Maybe we should use a .drush.inc file like colorbox

L-four’s picture

Status: Fixed » Needs review
StatusFileSize
new7.77 KB

I have renamed the .make file to .make.example and added drush/campaignmonitor.drush.inc
This creates the command drush dlcreatesend which downloads createsend-php from github.

cableman0408’s picture

I have looked into the issue and it seams that Campaign Monitor have commit there library to git with CRLF (window line-endings) and if you have "autocrlf = input" in your git configuration... git will not allow the checkout to the version in the make file.

You can see this by running:

drush make --no-core --debug campaignmonitor.make --test
<code>

Which gives this error.
<code>
Executing: git checkout 'refs/tags/1.0.13'
  error: You have local changes to 'csrest_campaigns.php'; cannot switch branches.

I'll try to get Campaign Monitor to fix this issue, but I do like the drush solution for people that dose not use make files.

cableman0408’s picture

Status: Needs review » Closed (fixed)

A new make file have been created since this issue, so I'm closing it.