pocketarc / git-deploy-php

git-deploy-php is a simple php-based tool that deploys your Git repositories to FTP/SFTP servers, and keeps them updated automatically.
http://brunodebarros.github.io/git-deploy-php
291 stars 45 forks source link

ssh support #1

Closed danielzzz closed 11 years ago

danielzzz commented 13 years ago

hi, are you planning adding ssh support? best, dan

pocketarc commented 13 years ago

Yes, actually, in the next few days. I've been thinking of adding that in, but I was waiting for more people to have the need for it, otherwise it'd be a waste of time.

danielzzz commented 13 years ago

that wold be great! looking forward to it. thx, best, dan

pocketarc commented 13 years ago

Trying to figure out the best way to go about this. There's a few alternatives:

danielzzz commented 13 years ago

I guess you might use whatever is easiest to implement for you right now, and then think about extra checkings.

v3labs commented 12 years ago

There are several nice single file/single class wrappers for cURL that you might consider using.

In fact, most people(that I know of) use git-deploy on their development machine. Both SSH2 and cURL are fine, imo. It's not shared hosting - so, no need to worry about what's installed and what's not.

bazitov commented 12 years ago

Really take the easiest way to implement the sftp support and leave the dependencies to us.

banago commented 12 years ago

Hey @BrunoDeBarros,

What's the state of SSH support on the script?

pocketarc commented 12 years ago

The script doesn't support SSH at the moment. I've been meaning to work on it for quite a long while, but it hasn't been a priority.

banago commented 12 years ago

I know, I read the comments and they are like one year ago. But I still wanted to ask in case you are still thinking to implement that in the near future. Any thoughts?

pocketarc commented 12 years ago

I'd love to implement it, and if it's important to you then I'll bump its priority and see if I can get it done sometime this week or the next week.

banago commented 12 years ago

Yes, it's quite important for me and I'd love it if you could do it until next week. I really appreciate that.

By the way, SSH2 implementation would work great for me.

pocketarc commented 12 years ago

I'll do what I can. Not promising anything, however.

pocketarc commented 11 years ago

Currently working on 2.0 of this script and have implemented this using phpseclib. I've written a little tool to package it up into a single file that I can append to git-deploy, so it remains single-file and 100% dependency-free. Will push as soon as I finish resolving every other issue.

pocketarc commented 11 years ago

Pushed. SFTP support is now built into git-deploy-php. The readme has instructions on how to use it.