This release features a bunch of new features as well as trying to improve user experience and power, plus a couple of bug fixes.
- fixed up situation when conflicts are encountered. This was reported by @tioteath in #222. What was happening was that due to clashes from children not being propagated properly upwards as well as a not so well defined error message, handling of conflicts seemed awkward. This was addressed by PR #244.
- fixed reverse sorting: This was reported by @arniotis in issue #252. This was also addressed by @arniotis in PR #251.
- installation for < go1.3 failing. This was reported by @Issam2204 in issue #223, as well as contributed to by @kleptog, @smarthimandrew. The issue was caused by a butterfly effect in an update to a dependency to the new OAuth2.0 client golang/x/oauth that was breaking for < go1.3. drive's README initially had go1.2 as the minimum version needed. This resulted in a need to update the README file as well. This was addressed in commit 1738dc8 of PR #256.
- missing indices were causing
push
to always declare need for modifications. This issue was reported and diagnosed by @js-ojus in issue #236. Previously drive never exposed a mechanism to refetch missing indices. This was addressed in PR #256. - cleaning out of indices on remote deletion operations. This was reported in #255. What happened was that previously, drive was not removing stale/no-longer-needed indices after file deletion after say
delete
ortrash
. This was causing clutter and a lot of files in the indices directory. This was addressed by PR #256. - index fetch & prune: This was an effect of looking at three different issues #236, #255 as well as noticing a huge amount of files in indices. This was addressed by PR #256. Now you can clean out your stale indices like this
$ drive index --prune
or fetch indices in specific paths e.g
$ drive index vines photos content/web/visitors
$ drive index --id 0CLu4lbUI9RTRM80k8EMoe5JQY2z
$ drive index --matches mp4 jpg fold
- improved search/addition of extra search options: This was reported in issue #242 and was addressed by PR #243. This introduced the ability to search and perform operations on matches during
list
,trash
,untrash
,pull
,push
e.g
$ drive list --skip-mime mp4,doc,txt
$ drive list --match-mime xls,docx
$ drive list --exact-title url_test,Photos
- empty file/folder creation. This was requested in issue #245 and then addressed by PR #246. You can now create empty files of specific mimeTypes e.g:
$ drive new --folder flux
$ drive new --mime-key doc bofx
$ drive new --mime-key folder content
$ drive new flux.txt oxen.pdf # Allow auto type resolution from the extension
or say you want to create 10 separate Google Docs
$ driev new --mime-key docs $(seq 1 10)
This release features a whole lot more of features and bug fixes, but most importantly way more user engagement. There have been numerous interactions with users and also ideas plus issue diagnoses which I think has been great. Also I'd like to give a special shout out to our Linux PPA volunteer @shaggytwodope for the hardwork even as he was hospitalized. Get well soon Jonathan!
I would like to thank everyone for the hard work, usage, issue reporting, support and everything.
Enjoy!