gaak99 / oxly

oxly auto-merges Dropbox file revisions with a git-like cli
MIT License
9 stars 1 forks source link

100 max revisions avail to download? #46

Closed gaak99 closed 6 years ago

gaak99 commented 6 years ago

It appears so (at least w/free svc):

oxly clone --nrevs 101 dropbox://orgzly/misc-notes-winter17.org
Moving/saving old /tmp/oxnotes/.oxly/.tmp to /tmp/oxnotes/.oxly/.old/oxlytmp.22168 ... done.
Downloading metadata of 101 latest revisions on Dropbox ...
 Call to Dropbox to list file revisions failed: 101 is not within range [1, 100]

So we should prolly add this to doc and maybe s/50/100 as default recommended num.

gaak99 commented 6 years ago

README:

oxmerge example run

oxmerge dropbox://orgzly/misc-notes-spring17.org 
oxly, version 0.9.21
Cloning dropbox://orgzly/misc-notes-spring17.org into /tmp/oxnotes ...
Moving/saving old /tmp/oxnotes/.oxly/.tmp to /tmp/oxnotes/.oxly/.old/oxlytmp.10636 ... done.
Downloading metadata of 50 latest revisions on Dropbox ... done.

--so s/50/100

gaak99 commented 6 years ago

The fix just warns clone users if nrevs>100. Did'nt want hard limit as maybe non-free svc does not have same 100 max.

Also ups default nrevs to 100 from 50 so increases chance of a hit from the git-go (and subsequent clone will use local cached ones anyways) .