Skip to content

Release v0.3.2(SamuelLJacksonShouldUseDrive)

Compare
Choose a tag to compare
@odeke-em odeke-em released this 01 Nov 23:23
· 227 commits to master since this release

This release features a bunch of bug fixes and some new cool features:

  • qr share now uses a global app and credentials: This feature was requested in PR #453. Since setting up each user's QR server is a cumbersome operation that a huge majority of the users won't bother to attempt, drive now packages credentials that will give every user the ability to run "drive qr share [files....]" and that should get the QR code opened to the browser. I built a web app that allows for this https://github.com/odeke-em/qr-server and restricts the domain https://github.com/odeke-em/qr-server/blob/master/drive-centric.go#L12-L37. This feature was added in #454.
  • implementated a "du" command. This feature was requested via an offline email interaction with Chad William Seys. It was implemented with PR #438. "drive du" is similar to the UNIX utility "du" --> disk usage. For example
$ drive du --depth 1 notes
75799        /notes/lecture3.pdf
143461       /notes/lecture8.pdf
143511       /notes/lecture11.pdf
140156       /notes/lecture15.pdf
113252       /notes/lecture10.pdf
105951       /notes/lecture2.pdf
  • added a resource configuration setup: This feature was requested by @nkmathew in issue #199. It now allows for a user to define a .driverc file in any location say a specific folder, root folder or global ie ~/.driverc and those locations and traversed in that order. This feature took long to implement due to a few awkward situations with parsing options and then creating defaults. It was added in with PR #259. This issue helped give me a new discovery in Go golang/go#12954. Now you can say
cat << ! >> ~/.driverc
> # My global .driverc, do the same in a specific dir nested within your drive
> no-prompt=true
> verbose=true
> fix-clashes=true
> !
  • fixed "no preview of changes when --no-prompt is set". This issue was reported by @rafmeeusen in issue #300. The bug was a reliance mainly on --no-prompt yet --verbose should have been relied on more. This was fixed by PR #439.
  • typo fixes by @shaggytwodope that carefully went through the comments and printout statements and fixed them in PR #432.
  • added a QR share command: This feature allows for users to get QR codes open in a browser and then they can use their cellphones to get the links. I found the need for this because of difficulty in copying links or having to first email yourself a file, or even open a Google Drive app on mobile. This feature was added in PR #437.
  • fixed up a bug with "touch": Previously "drive touch" would only touch the first element and then the head element when running recursively in a directory. This issue was reported in #442 and then addressed by PR #443.
  • fixed up "pull"/"push" not respecting "--hidden": This issue was reported in #444 and was the result of a refactor to use a single struct instead of many parameters. This was addressed by PR #445.
  • added --no-prompt to "delete": This was reported by @fabianhjr in issue #448. The rationale that since this is a destructive operation, yet the user wouldn't get the reasons behind not allowing --no-prompt without an explanation the user would be lost. The agreed upon option would be to link them to the issue e.g
$ drive delete --no-prompt fox
"no-prompt" is set yet performing a permanent deletion. Please see issue https://github.com/odeke-em/drive/issues/448

This issue was addressed in PR #450.

  • fixed mounted-push: This issue was reported in #451. The bug was that the context's absolute path was erraneously obtained by a filepath.Abs(path) and this would only work in the root, however within nested directories it would trip out which was the self diagnosis. The solution was to use a proper filepath.Join(root, path). It was addressed by PR #452.

This release once again has involved great interactions with users. A shoutout to all the contributors, supporters people creating issues, providing ideas, users. Thanks for the patience and for using drive. I hope this issue can make sharing and using your drive files a lot better but also easier on mobile devices as well as making them more accessible, I personally use drive a lot when at school and across machines when I need to share files real quick. One day, hopefully it should be simple enough that Samuel L Jackson should be able to use drive and not be like
samuelljackson
or https://drive.google.com/open?id=0Bwu8laYc9RTPYU9BTmZYRkVYOEE

Thank you again and enjoy drive!