github odeke-em/drive v0.2.9
Release v0.2.9 (9Months Gestalt switch)

latest releases: v0.4.0, v0.3.9.1, v0.3.9...
8 years ago

This release fixes a couple of issues and introduces some new features:

  • file opening with drive: This allows you to open up multiple files (either by relative path or by id) both in your web browser and file browser. This was requested in issue #351 and addressed by PR #352. Sample usage:
$ drive open --file-browser=false --web-browser f1/f2/f3 jamaican.mp4
$ drive open --file-browser --id 0Bz8qQkpZAeV9T1PObvs2Y3BMQEj 0Y9
  • URLing: This allows you to print out the URLs of selected files. This was requested in issue #348 and addressed by PR #349.
    Examples:
$ drive url Photos/2015/07/Releases intros/flux
$ drive url --id  0Bz5qQkvRAeVEV0JtZl4zVUZFWWx  1Pwu8lzYc9RTPTEpwYjhRMnlSbDQ 0Cz5qUrvDBeX4RUFFbFZ5UXhKZm8
  • fixed emptyTrash to only preview if canPrompt: This was discovered during tests and addressed by commit 9a4b47f.
  • fixed up the serve URL instead of using the hostURL: This was discovered after integrating the url and open commands. The old hostURL was useful for published files and would present files listed row-wise. The new resourceURL works also for private files given the correct access and also files get presented titled and in a viewer similar to that you'd get after logging into the Google Drive web UI.
  • coercing csv + tsv files into officedocs so that they can be converted to Google Sheets. Google Drive's web UI and even API recognizes csv files' mimeType as text/csv. However when converting these files text/csv --> application/vnd.google-apps.document which is not desired. This means that csv files get converted to Google Docs, yet we'd like them to be converted to Google Sheets instead. This issue was advocated for solving by @canpolat in issue #232. It was solved in PR #357. The fix puts these types of files one step closer to being converted into Google Sheets. The caveat though is that when you finally use the UI to complete the conversion, the Google Sheet gets created alright but as a file with a duplicate name. I reported this issue to some members of the Google Drive teams a couple of months ago but they are probably busy with a backlog of emails.
  • fixed generated url errors on folders. This was reported in issue #354 and addressed by PR #355. It was fixed by using a resourceURL as mentioned above.
  • fixed windows compilation. This issue was reported by @asd-and-Rizzo in issue #238 and addressed by @pefoley2 who educated us on how to build without CGO enabled by using option CGO_ENABLED=0 e.g CGO_ENABLED=0 go get -u github.com/odeke-em/drive/cmd/drive. @pefoley2 also created a subsequent wiki entry https://github.com/odeke-em/drive/wiki/Building-on-Windows.
  • drive now has a website: odeke-em.github.io/drive. This was requested in issue #274 and addressed by the efforts of @shaggytwodope and @Queatz.

This release is the sum of a great journey of learning, interacting with users and problem solving, and trying to see things differently. It is a 9 month milestone for the journey that started in late December with an email exchange with @rakyll and then became official on Thursday 1st January 2015.
The summer just ended and school just began. However this doesn't matter because from the feedback I've been getting, drive appears to be a fruitful venture that will keep going and hopefully will be useful.

Thank you to all the users, supporters, contributors for the motivation, time and the contributions to this project and above all for using drive.

Cheers and enjoy the rest of the year!

Don't miss a new drive release

NewReleases is sending notifications on new releases.