Skip to content

reset sync buttons #3

@remyla

Description

@remyla

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions