Skip to content

Release v0.2.0 (MoreGrowth)

Compare
Choose a tag to compare
@odeke-em odeke-em released this 04 May 00:00
· 492 commits to master since this release

This release features numerous fixes and a couple of features:

  • Warning of clashing names. This addressed issue #107 raised by @vrusinov. The implementation is from PR #166.
  • Flushing stdin before prompting. The issue was that due to long running operations, a user might hit a couple of keys (and this happens quite a lot even for myself), but on prompt and entering their response, it would be lost because stdin reads are buffered. The issue was raised by @minux as well as the fix for it also by @minux with PR #167.
  • Static build. This is meant to allow for a user to build a binary with the commit tag and OS information encapsulated as opposed to the old dynamic solution that gave inaccurate results. This was pushed for by @kcwu and @l3iggs in issue #138. This was addressed by PR #151.
  • delete method implemented. This allows for a user to permanently remove an item instead of sending it to trash. This was requested by issue #164 and addressed by PR #174 e.g
$ drive delete --matches .swp
$ drive delete .edits.swp
  • checksum-ing is off by default: This was raised by issue #117 credited to @l3iggs and also to @kcwu. Building for the common case ignore-checksum was set to true, by PR #128. To turn on checksum verification pass in --ignore-checksum=false
  • exclude operations. This allows for a user during a pull/push to specify CRUD operations they'd like to exclude e.g
$ drive pull --exclude-ops "delete,create"
$ drive push --exclude-ops "update,delete"
  • Bug fixes for code that accidentally got taken out during patches e.g
    • In issue #173 raised by @shunzh in which a statErr was being compared to that reported by the OS when a file didn't exist however the statErr was never being checked for if it had passed.
    • Only add children and perform a local listing if the file is a directory. This was addressed by commit 80fac8e.
    • Only care about index removal errors only if the source existed locally. This was addressed by commit fe64869.
    • Revert trash/removal by push/pull by ensuring that if a file doesn't exist, the file isn't rejected and an error thrown but the normal comparison is done and so is the appropriate trashing. This was addressed by commit fe64869.
    • fixed list --version and minimal formatting. This was addressed by commit 45c533e.
    • Don't overshadow errors on remote.FindBy*: return a different error on a 404 otherwise for all other errors return the raw error instead of masking it as a PathNotExists.

This release features a whole lot of new users and more folks that have stepped in to help resolve issues. This is the second major 0.X release and there is more to come. Thank you everyone for your contributions, usage and patience!