Pixler Development - BZR and SSH Notes
July 7th, 2006
This is my first time working with bzr, but my svn and cvs experience factors in. ^_^
From home:
cd ~/pixler
bzr status
bzr commit -m "message"
ssh sudrien_sudrien-projects@ssh.phx.nearlyfreespeech.net rm -R /home/htdocs/2006/pixler/*
scp -Cr ~/pixler sudrien_sudrien-projects@ssh.phx.nearlyfreespeech.net:/home/htdocs/2006/
… bzr push only updates bzr metadata, which stinks… unless I am misusing it. A push, in my mind, means that http://projects.sudrien.net/2006/pixler/ has all the most recent files available for other to test - important, since it is an web-based app (or will be).
Also, most graphical ftp clients will only try and copy files with newer timestamps (if allowed). And there is the removed file issue… really, this sounds like what rsync does, but rsync is an app to pull files, not pust them (isn’t it?). I could, I suppose, write a command with ssh to trigger a remote rsync…
No actual development with pixler. *sigh*
-Sud.
EDIT:
My biggest issue with SCP was figuring out the proper URL - both due to my experience, and to host settings. Starting fresh, and with the rsync man page, the answer came pretty quickly:
rsync -tzr ~/pixler/ sudrien_sudrien-projects@ssh.phx.nearlyfreespeech.net:/home/htdocs/2006/pixler/
Posted in Technical |