[TxMt] Remote projects

Kumar McMillan kumar.mcmillan at gmail.com
Wed Sep 21 20:39:11 UTC 2005


I much prefer the rsync method.  I work locally with all code in
subversion or cvs and most of the time I rsync to a dev server for
testing before commits (the dev server has 20G+ test databases
configured, etc).

Doing this in TextMate is a synch.  At first I just had an rsync -auv
command that synced my ~/Sites with $USER at dev:~/public_html.  When I
got a lot of projects going I found rsync started to slow down so I
use a python script now which basically syncs just the current project
or the file (if no project).  The script also adds some sugar, like
--exclude ".svn" --exclude ".DS_Store" and guesses some paths, can
handle multiple servers/users, etc.  If anyone would be interested in
the script let me know.

In response to Sean's request, "build rsync into TextMate" : *ahem* it
is built in :)

On 9/21/05, Kevin Ballard <kevin at sb.org> wrote:
> You can already implement this yourself. Write a command "Sync to
> server" and one "Sync from server" that uses rsync to sync the
> project document root to/from the server, with the server defined in
> project-level environment variables. Then you can just create a new
> project, set the env vars, and save the project, and from then on
> simply open the project and sync from server, do whatever work you
> want, then sync back to server.
>
> On Sep 20, 2005, at 11:29 PM, Sean Schertell wrote:
>
> > I would personally *love* to see rsync built-in to textmate behind
> > the scenes (using ssh of course).  So my local project could be
> > 'synced' in both directions to the remote project with a single
> > click.  This would also solve Matthew's issue with the client
> > making occasional updates too.
> >
> > I'm not a Cocoa developer at all but I'm guessing that adding such
> > a feature to TextMate would be fairly trivial since rsync is
> > already available in OS X.
> >
> > Wouldn't it be possible to just add a few fields to the project for
> > remote document root, username, and password?  Then right in the
> > main toolbar there could just be a single button called 'Sync'.
> > Click - bang - everything is fresh in both directions.  Since rsync
> > only updates changes, it would be very quick.
> >
> > If textmate had this ability (and could also do Japanese), I would
> > gladly pay $200 for it.  Seriously.  It's just such a waste of time
> > to have to launch an FTP client, connect to the server, drill down
> > to the file on the local side, then drill down to the directory on
> > the remote side, then upload -- all that just to update the remote
> > css file or whatever.  Rsync to the rescue?!
>
> --
> Kevin Ballard
> kevin at sb.org
> http://www.tildesoft.com
> http://kevin.sb.org
>
>
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
>
>



More information about the textmate mailing list