Skip to content

Release v0.3.3(IteratingMoreAndWinning)

Compare
Choose a tag to compare
@odeke-em odeke-em released this 21 Nov 05:16
· 207 commits to master since this release

This release contains a bunch of features and bug fixes:

  • pulling starred files: This issue/feature was requested in issue #431 by @ManuCart. The need for pulling starred files was addressed by PRs #476 and #467.
$ drive pull --starred --all
$ drive pull --starred --matches influx png dogm
  • return an error code to the env if the user rejects/cancels an operation: This was reported by @smblott-github in issue #460. It was addressed in PR #466.
$ echo "n" | drive push information && echo "done" || echo "never went through"
never went through
  • fixed up unequal traversal depths for local and remote traversals. This issue was reported by @csaleman in issue #462. What was happening was that because a decremented traversal depth assignment after getting remote children passed to the local traversal meant that local files would not be found. This issue was fixed by PR #465.
  • star + unstar files implemented: This feature was a spin off after the realization from #431 that there wasn't a utility to manage starred files. This feature was added in PR #470.
$ drive star highlights/game10 "Vic Mensa-U-Mad.mp3" Fall2015/ECE_487/assignments
$ drive unstar oldContent influx/p1/p2A
  • no need to retry operations on permanently mutable root file: This bug was noticed by @colinkeenan in issue #472. Previously the retry mechanism for errors was relying on unknown errors' error codes, however any mutation on '/' (root) is forbidden.
    This made the need to actually catch immutable error reports. This was addressed by PR #473.
    Along the way, @colinkeenan figured out how to make proper locales and terminal encoding for Linux and gave me an education, and gave a potential solution to #406 and @colinkeenan then made a wiki entry at https://github.com/odeke-em/drive/wiki#linux-terminal-character-encoding.
  • ensuring that in trash, users can get a preview of the operations to be performed: This was added in, in #474.
  • learnt that any mod inside a directory modifies its modTime and causes spurious changes with drive. This behaviour was firstly noticed by issue #463 and then made apparent by ensuring that even dirModTimes were reported in #464. This behaviour spread over and was also noticed by @cdown in issue #471. It was then fixed in PR #478.
  • touch can now take --depth and --verbose: This allows better control for touch. It was requested in issue #481 and addressed by PR #482.
$ drive touch --depth 3 Fall2015 Photos/shared
$ drive touch --verbose --depth -1
  • better unshare + share: Previously unsharing only involved --role yet sharing involves roles, emails and accountTypes. This awkwardness was reported by @bdlow in issue #484. Also only one role, and one accountType could be applied during share/unshare. This called for a revisit of share/unshare and was addressed by PR #486
$ drive share --emails [email protected],[email protected] --role reader,commenter --verbose kevin-hart-roasts.mp4 statistics
$ drive unsahre --emails [email protected] --role commenter --verbose lattices intro/term1/locks

This release has been a great one, lots of interactions with users and lots of bugs fixed, lots of learning and new engagement. drive continues to mature and this is good news for everyone.

Thank you every one for using drive and for all the issues, bug reports, contributions etc.
Enjoy!

2chainztru