PHPStorm on local Mac, git / Apache on remote server, workflow sync question.

Development setup:
My company's using git with central repository and each developer clones the repository into their home directory on the dev server which runs Apache, MySQL, etc.

From here, we edit files (for me using vi), test on Apache, then ultimately commit and push any changes to the central repository.

If, between my last pull and push, another developer has commited changes, it's necessary to pull these before I can push, resulting in files on the development server being updated with these diffs.  And here lies the problem I've so far been unable to resolve:

On my Mac I launch PHPStorm, create a project from existing sources and set it up using SFTP.  It 'clones' my development tree locally and any changes I make via the IDE can be automatically uploaded - this works flawlessly! - and when I'm happy, I log in to the development server and commit the changes.

The problem is when I log into the development server pull other changes - these aren't reflected in the IDE (ie, the IDE doesn't seem to compare local to remote files to see if there have been any remote changes).  The only 'solution' I can find is to go to the Tools/Deployment menu and 'download from server', but this downloads *everything*, and as I work remotely, this can take upward of 2 hours for a 200Mb project!

Can I do what I'm trying to do using PHPStorm?  As a user of IntelliJ IDEA, I love the interface, but it needs to work with my workflow.

Thanks in advance,
Jonathan.

3 comments
Comment actions Permalink

Hello Jonathan,

This is quite popular feature request we have not yet imlpemented: http://youtrack.jetbrains.net/issue/WI-1284. There's also a related one that could help, but it's not yet there too: http://youtrack.jetbrains.net/issue/WI-553. We will put more resources to have it implemented in PhpStorm 3.0. For now, you can only 'download from server' to get your files to the local machine. Please uncheck 'Overwrite up-to-date files' checkbox at File | Settings | Deployment | Options page, this can save some time by skipping equal files.

Regards,
Kirill

0
Comment actions Permalink

I've applied the changes suggested and it's now downloaded a hugely reduce dataset and is workable. Thanks.

Is there a timeframe for the 3.0 release?  I'm tempted to buy the product, but will be frustrated to do so and find the feature keeps slipping...

TIA,
Jonathan.

0
Comment actions Permalink

Hello Jonathan,

PhpStorm 3.0 timeframe is Q4 2011: http://confluence.jetbrains.net/x/gB3x

Regards,
Kirill

0

Please sign in to leave a comment.