Skip to content

Comments

Option to download files at sync time#863

Draft
michalrentka wants to merge 3 commits intozotero:masterfrom
michalrentka:syncdownload
Draft

Option to download files at sync time#863
michalrentka wants to merge 3 commits intozotero:masterfrom
michalrentka:syncdownload

Conversation

@michalrentka
Copy link
Contributor

Closes #220

@michalrentka michalrentka requested a review from mvasilak March 1, 2024 10:36
Copy link
Contributor

@mvasilak mvasilak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good so far, a couple of questions from testing.

  • Snapshots are not download as well. Is this planned for the future?
  • Sync seems to be stuck, even after all files are downloaded.


case .remote, .remoteMissing, .localAndChangedRemotely:
case .remote, .localAndChangedRemotely:
DDLogInfo("AttachmentDownloader: batch download remote\(location == .remoteMissing ? "ly missing" : "") file \(attachment.key)")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
DDLogInfo("AttachmentDownloader: batch download remote\(location == .remoteMissing ? "ly missing" : "") file \(attachment.key)")
DDLogInfo("AttachmentDownloader: batch download remote file \(attachment.key)")

@michalrentka michalrentka force-pushed the syncdownload branch 2 times, most recently from 476dd78 to ea7e8f0 Compare March 13, 2024 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Option to download files at sync time

2 participants