Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reset sync buttons #3

Open
remyla opened this issue Jun 21, 2017 · 1 comment
Open

reset sync buttons #3

remyla opened this issue Jun 21, 2017 · 1 comment

Comments

@remyla
Copy link
Member

remyla commented Jun 21, 2017

We would like to be able to tell the system to re-synchronize a file.

  • It could happen when a file was published by mistake from the origin. Instead of creating a new version, we would prefer to update it and sync again everywhere
  • this could be useful to sync again if a file get corrupted or was mistakenly deleted on a target server

Here is a python call to the API to reset the sync for wf_st_territory-baa_moh.6.ma from circus studio (circus is the origin of the asset):

damas.update({ _id: "/wf/st/territory-baa/moh/wf_st_territory-baa_moh.6.ma",
    synced_online:None,
    synced_onyx:None,
    synced_pipangai:None,
    synced_solidanim:None,
    synced_tnzpv:None})

rsync --ignore-existing option should be avoided in order to re-sync (else, rsync will skip the file)

UI Proposal:

The sync column is shown like this:

o

we could make these cells interactive:

clicking a green cell would re-sync the corresponding site

clicking the o (origin) would re-sync everywhere (remove all synced_* keys, like the Python example)

@remyla
Copy link
Member Author

remyla commented Sep 28, 2017

This feature is up and running and used in production on WF, we might close the issue and make a doc out of the issue description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant