Bump up the version by a minor point so that PPA builds can
be refreshed and built with at least go1.7.
4329fff...
by
Emmanuel Odeke <email address hidden>
README: bump minimum Go version to 1.7.X
Fixes #852.
Fixes #853.
Fixes #854.
Set the minimum Go version to 1.7.X.
Most of the Go versions below go1.7 are no longer even
supported. It is better to have the latest and greatest
with new features and more good things.
a6b4c6a...
by
Emmanuel Odeke <email address hidden>
pull/push: allow fix-mode selection
Fixes #836.
pull and push now have `-fix-mode` as an option to allow selecting
either "rename" or "trash" as the action to perform on fixing clashes.
Allows one to customize the upload chunk size in bytes.
By default, the internal Google API's upload chunk size is 8MiB,
minimum chunk size is 256KiB. Any custom chunk size should be at
least 256KiB and also a multiple of 256KiB. Please see https://godoc.org/google.golang.org/api/googleapi#pkg-constants.
Ensures that for a directory, after decrementing the depth
by 1 in the parent's first pass that we at least operate on
passed in files instead of erraneously ending on that depth.
Traversal depth is meant for traversing directories/folders
and less on actual files.
This change leads us to conform to the proper behavior exhibited
by `drive list`.
bf5b270...
by
Emmanuel Odeke <email address hidden>
replace DEBUG with DRIVE_DEBUG to avoid other program clashes
Replace `DEBUG` with `DRIVE_DEBUG` to avoid clashes with other
programs that might need the `DEBUG` flag. `DRIVE_DEBUG` makes
it clear that this debug is only for drive.
467def2...
by
Emmanuel Odeke <email address hidden>
command: introduce DebugPrintf
Introduce DebugPrintf which can be used to give
contextual and debug information when things go wrong
and we need to observe them, when verbose or `DEBUG=true`
is set in the environment.
So far added debugging prints when parsing the .driverc file.
It prints out the:
[<FILE>:<FUNCTION>:<LINE_NUMBER>]
Prefix a drive invocation with `DEBUG=true`
```shell
$ DEBUG=true drive list share-testing/
[/Users/emmanuelodeke/go/src/github.com/odeke-em/drive/cmd/drive/main.go:main.discoverContext:1857]
contextPath: /<email address hidden>/share-testing
[/Users/emmanuelodeke/go/src/github.com/odeke-em/drive/cmd/drive/main.go:main.discoverContext:1867]
driveRoot: "/<email address hidden>" relToRoot: ""