nextcloud / nextcloud/nextcloudfileproviderkit

Implement incremental/partial fetch

Open
#104 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
8
Forks
1
PR merge metrics
No merged PRs in 30d

Description

When a file is changed remotely, the Nextcloud desktop client will retrieve the entirety of the changed file's contents. However, there are more efficient ways to handle file change retrieval.

The File Provider API provides some method to acquire partial contents of a file. However, the server does not provide a mechanism at this time to provide the specific parts of a file that have changed.

Your task is to implement an algorithm that can implement this. Ideally you will touch parts of the server and the desktop client, so that other clients may also benefit.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by mapping the File Provider API's partial-content methods and the server and desktop-client boundaries, then determine how changed ranges can be identified and exchanged. Done means an algorithm retrieves partial file contents and benefits both the desktop client and other clients.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, swift
Domain
backend, desktop-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.