salt: gitfs: error message not descriptive enough when libgit2 was compiled without libssh2

We have Stash running ssh on a custom port. Gitfs_remotes doesn’t seem to handle this very well. Running 2014.7.1, following doc for pygit2 I get:

Exception 'Unsupported URL protocol' caught while fetching gitfs remote ssh://git@gitserverurl.no:7999/yr/saltstates.git
 Exception 'Unsupported URL protocol' caught while fetching gitfs remote git@gitserverurl.no:7999:Yr/SaltStates.git

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 16 (11 by maintainers)

Most upvoted comments

I’ve renamed this issue to reflect the actual problem. I think we can close this out, now that I’ve updated the log error.