Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-852

Identify create/update workflows of several editors

    XMLWordPrintable

    Details

    • Type: User story
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Behaviors

      Description

      Some issues of the current Drive was the way to handle 'weird' save/update workflows of editors such as Office etc.

      We should before the refactoring gather more information on those workflow as each of them could be implement as an EventReducer.

      To do so, the user need to install watchmedo on his computer :

      pip install watchdog
      

      Then inside an empty folder, launch

      watchmedo log .
      

      this will get you output like

      on_created(self=<watchdog.tricks.LoggerTrick object at 0x104bdb0d0>, event=<FileCreatedEvent: src_path='./.DS_Store'>)
      on_modified(self=<watchdog.tricks.LoggerTrick object at 0x104bdb0d0>, event=<DirModifiedEvent: src_path='.'>)
      on_created(self=<watchdog.tricks.LoggerTrick object at 0x104bdb0d0>, event=<DirCreatedEvent: src_path='./untitled folder'>)
      on_modified(self=<watchdog.tricks.LoggerTrick object at 0x104bdb0d0>, event=<DirModifiedEvent: src_path='.'>)
      on_moved(self=<watchdog.tricks.LoggerTrick object at 0x104bdb0d0>, event=<DirMovedEvent: src_path='./untitled folder', dest_path='./plop'>)
      on_modified(self=<watchdog.tricks.LoggerTrick object at 0x104bdb0d0>, event=<FileModifiedEvent: src_path='./.DS_Store'>)
      on_created(self=<watchdog.tricks.LoggerTrick object at 0x104bdb0d0>, event=<FileCreatedEvent: src_path='./handlers.txt'>)
      on_modified(self=<watchdog.tricks.LoggerTrick object at 0x104bdb0d0>, event=<DirModifiedEvent: src_path='.'>)
      on_modified(self=<watchdog.tricks.LoggerTrick object at 0x104bdb0d0>, event=<FileModifiedEvent: src_path='./handlers.txt'>)
      

      This output should be logged into the ticket for further implementation

      We need to list all the editors type that we want to handle with great confidence :
      Word 2003 ?
      Word 2016
      Excel 2016
      Excel 2003 ?
      Autocad
      Photoshop CC
      Illustrator CC
      ...

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rcattiau Rémi Cattiau
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: