Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2554

Add Support For rsync Transfers

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nchristiansen Nathan Christiansen
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: