NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
phped and github


Joined: 29 Jun 2011
Posts: 1
Reply with quote
Hello,

Do you guys have any idea about how to upload files to github using phped?


Thanks,
Alex
View user's profileFind all posts by alexroseSend private message


Joined: 09 Feb 2009
Posts: 6
Reply with quote
What I have done in the past is use third party tools such as msysgit to work with the repo since PhpED does not natively support git.

I have found that the command line tools have been much more stable and powerful than the GUI git tools under Windows.
View user's profileFind all posts by robotomSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
perhaps you can add simple hooks to invoke the tools from the IDE directly, something similar to what was suggested here:
http://forum.nusphere.com/integrating-mercurial-with-phped-t4679.html
http://forum.nusphere.com/tip-phped-and-sourcesafe-t2370.html
http://forum.nusphere.com/tip-subversion-svn-and-phped-3-3-t1365.html

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Veteran

Joined: 30 Aug 2006
Posts: 116
Reply with quote
This can absolutely be done. I wrote the integration with mercurial and a similar technique was used successfully using WinGit when I was exploring it (around 4 month ago). I was going to write a tutorial on it but now I mostly use a combination of SmartGit and mysgit in command line to do my git work, so I can't remember how I set up Git with PHPEd. I think the key lies with using WinGit's main app rather than trying to run individual commands. If you study how WinSVN and WinGit work you'll notice it runs everything through a main program.

Using msysgit might work too, but I think it's alot harder. If I have time I may try it again as an experiment and post the results here.

Btw, another thing to consider is using msysgit's bash scripting to just do a simple shell script that will "git push" to GitHub, and invoking that from PHPEd's integration tools.
View user's profileFind all posts by rudderSend private message
phped and github
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic