Skip to content
GitLab
Next
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    Projects Groups Snippets
  • Sign up now
  • Login
  • Sign in / Register
  • W webide-file-sync
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • webide-file-sync
  • Issues
  • #1
Closed
Open
Issue created Apr 04, 2019 by Francisco Javier López@fjsanpedro🔴Contributor

Replace diff syncing for bit syncing

At the moment, we're using diffs to sync the information between the web IDE editor and the build service. We have recently discovered that we have a major blocker here: binary files.

We can't generate diffs for binary files, consequently, using the current approach, we would need to add an endpoint where we could upload the whole file. This option is not sustainable.

In order to make the syncing process agile and lightweight, we have to move to a different approach, the one rsync does. rsync uses a bit syncing approach which will allow as sync binary files, as well as text files.

The problem we have to face with this approach is that there is no magic tool or solution. We have to implement or adapt a lib with this algorithm and pray that we have a compatible version in Javascript.

Edited Apr 04, 2019 by Francisco Javier López
Assignee
Assign to
Time tracking