nextcloud / nextcloud/ios

AutoUpload: skip existing

Open
#2,054 9 comments 18 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

Due to the various logout bugs, there is a gap between the Camera Roll and what's on the server. So my idea was to use the "Upload full camera roll" setting to get a consistent state again.

There I noticed, that it will really upload all files again, even though many already exist on the server. This is noticeable especially with Videos that will be fully uploaded and replace the existing files.

My camera roll contains 30.000 pictures and videos by now, so it's literally taken days to make progress.

It would be really nice, if the app would just skip files, where the metadata matches what it currently tries to upload. It will be still a lot of requests to the server then, but only minimal data transfer and thus much faster progress

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

Start by tracing the iOS app's full-camera-roll upload flow and how it compares local media metadata with server files. Done means uploads skip files whose metadata already matches, while still uploading missing or changed items and avoiding full replacement transfers.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.