Nathan Christiansen created NETBEANS-2554:
---------------------------------------------

             Summary: Add Support For rsync Transfers
                 Key: NETBEANS-2554
                 URL: https://issues.apache.org/jira/browse/NETBEANS-2554
             Project: NetBeans
          Issue Type: Improvement
          Components: php - FTP Support, platform - Filesystems
    Affects Versions: 11.0, 10.0, 9.0
            Reporter: Nathan Christiansen


It would be helpful if we could add an rsync option to the PHP - Sources On 
Remote Server project type. Old Netbeans issue: 
[https://netbeans.org/bugzilla/show_bug.cgi?id=202828]

 

*Rationale*

For most project types the master source is the local filesystem and builds go 
out through uploads or commits to a VCS. However, for PHP on a remote server it 
can go either way, the master source could be local filesystem, or the master 
source can be on that remote server and the local filesystem needs to be 
updated when the files on the remote server are updated.

Also, when these projects are large (over 25,000) files. The current 
synchronize process takes a very long time. Using the rsync protocol will 
reduce the time significantly.

There is a maintained java rsync library: [https://github.com/fracpete/rsync4j]

 

*Use Case*

In my case I use the synchronize option and ALWAYS change uploads to downloads 
(or the rare case deletes).The reasoning is that the remote server is the DEV 
server and connects to a VCS (subversion). The VCS updates happen on the remote 
server and the local filesystem needs to be updated.

I have tried doing a local copy of the VCS but the complication of updating the 
remote server with multiple repositories outweighs the manual changing of the 
synchronize dialog.

I also tried doing a samba share, but that was unreliable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to