omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    A Tale of Two DropboxSyncs

    Pythonista
    2
    3
    2495
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ccc
      ccc last edited by ccc

      There are two different code bases called DropboxSync.

      When the Dropbox module was first released in Pythonista v1.2, @wrenoud released a DropboxSync that was modernized by @sidewinder for Pythonista v1.4 https://gist.github.com/sidewinder42/8631794

      In May of 2014, @DavidHutchison wrote a blog post about his own DropboxSync.py.

      These are not derivative works but are instead two completely different code bases that share the same name. Pythonista Tools points to the first one and this is the one that I have used in the past but it has had issues especially as my library of scripts has grown. It uses dropboxlogin which simplifies the logic and setup process however it is a gist which makes collaborative improvement difficult.

      I would be interested to hear which of these you are using and why.. Are there pros and cons to the two different DropboxSync implementations?

      1 Reply Last reply Reply Quote 1
      • userista
        userista last edited by

        I used to use @DavidHutchison 's version with some modifications that uploaded deeply nested files also (folder1 -> folder2 -> file.py). But it would take a very long time (a serial operation iterating through multiple folders etc.) and since Dropbox added their share sheet extension it's much faster just to remember which files I have to upload and upload them manually via the share sheet. Though this doesn't solve the problem of folders - the extension doesn't like Pythonista folders....

        1 Reply Last reply Reply Quote 0
        • ccc
          ccc last edited by

          @hyshai agreed... I updated https://github.com/Pythonista-Tools/Pythonista-Tools to point to the right one.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors