Support manual rescan/sync for magic-folder #2884

Closed
opened 2017-06-22 05:38:43 +00:00 by crwood · 1 comment

As it currently stands, after the initial startup scan/check, magic-folder will check for and download remote files according to the schedule specified by the poll_interval setting in tahoe.cfg. It may be useful, however, for users and applications to be able to check for remote changes on a "manual" basis in conjunction with or independently of the schedule specified by poll_interval. For example, if Alice and Bob belong to the same magic-folder and Alice informs Bob that she just uploaded a new file for him, Bob must wait some period of time (up to 60 seconds by default) or restart his tahoe client before the download proceeds (which may test Bob's patience). It may thus be useful for Bob (or any future magic-folder-based applications) to be able to make a some API call and/or run some subcommand (e.g., tahoe magic-folder rescan or tahoe magic-folder sync) to poll for remote changes immediately and download any new files that might be available.

As it currently stands, after the initial startup scan/check, magic-folder will check for and download remote files according to the schedule specified by the `poll_interval` setting in `tahoe.cfg`. It may be useful, however, for users and applications to be able to check for remote changes on a "manual" basis in conjunction with or independently of the schedule specified by `poll_interval`. For example, if Alice and Bob belong to the same magic-folder and Alice informs Bob that she just uploaded a new file for him, Bob must wait some period of time (up to 60 seconds by default) or restart his tahoe client before the download proceeds (which may test Bob's patience). It may thus be useful for Bob (or any future magic-folder-based applications) to be able to make a some API call and/or run some subcommand (e.g., `tahoe magic-folder rescan` or `tahoe magic-folder sync`) to poll for remote changes immediately and download any new files that might be available.
crwood added the
unknown
normal
enhancement
1.12.1
labels 2017-06-22 05:38:43 +00:00
crwood added this to the undecided milestone 2017-06-22 05:38:43 +00:00
crwood added
minor
and removed
normal
labels 2017-09-19 19:35:49 +00:00
crwood added
code-frontend-magic-folder
and removed
unknown
labels 2019-01-29 16:01:46 +00:00

Push notification of change events from the grid to Bob's client would let Bob's client know about changes immediately and automatically.

Push notification of change events from the grid to Bob's client would let Bob's client know about changes immediately and automatically.
exarkun added the
wontfix
label 2020-01-21 20:27:29 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#2884
No description provided.