Compare commits

...
6 Commits
Author SHA1 Message Date
Nick Craig-Wood 18a8a61cc5 Release v1.08 2015-02-04 22:31:56 +00:00
Nick Craig-Wood 1758621a51 drive: fix subdirectory listing to not list entire drive - fixes #23
This was causing inexplicably slow transfers on subdirectories of
drives with lots of files.
2015-02-04 22:22:03 +00:00
Nick Craig-Wood 5710247bf6 drive: Fix SetModTime 2015-01-04 23:19:59 +00:00
Nick Craig-Wood 78b03929b7 Fix ModTime test 2015-01-04 16:57:55 +00:00
Nick Craig-Wood 492362ec7d Catch nil from List() in tests 2015-01-04 16:23:22 +00:00
Nick Craig-Wood 51b24a1dc6 dropbox: adapt code to recent library changes 2014-12-23 13:55:22 +00:00
9 changed files with 54 additions and 23 deletions

No files matched your search

+5
View File
@@ -256,11 +256,16 @@ Bugs
* Drive: Sometimes get: Failed to copy: Upload failed: googleapi: Error 403: Rate Limit Exceeded
* quota is 100.0 requests/second/user
* just retry the command if this happens
* Empty directories left behind with Local and Drive
* eg purging a local directory with subdirectories doesn't work
Changelog
---------
* v1.08 - 2015-02-04
* drive: fix subdirectory listing to not list entire drive
* drive: Fix SetModTime
* dropbox: adapt code to recent library changes
* v1.07 - 2014-12-23
* google cloud storage: fix memory leak
* v1.06 - 2014-12-12
+19
View File
@@ -0,0 +1,19 @@
Required software for making a release
* [github-release](https://github.com/aktau/github-release) for uploading packages
* [gox](https://github.com/mitchellh/gox) for cross compiling
* Run `gox -build-toolchain`
* This assumes you have your own source checkout
* pandoc for making the html and man pages
Making a release
* go get -u -f -v ./...
* make test
* make tag
* edit README.md
* git commit fs/version.go README.md docs/content/downloads.md
* make retag
* # Set the GOPATH for a gox enabled compiler - . ~/bin/go-cross
* make cross
* make upload
* make upload_website
* git push --tags origin master
+18 -18
View File
@@ -2,34 +2,34 @@
title: "Rclone downloads"
description: "Download rclone binaries for your OS."
type: page
date: "2014-12-23"
date: "2015-02-04"
---
Rclone Download v1.07
Rclone Download v1.08
=====================
* Windows
* [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.07-windows-386.zip)
* [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.07-windows-amd64.zip)
* [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.08-windows-386.zip)
* [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.08-windows-amd64.zip)
* OSX
* [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.07-osx-386.zip)
* [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.07-osx-amd64.zip)
* [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.08-osx-386.zip)
* [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.08-osx-amd64.zip)
* Linux
* [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.07-linux-386.zip)
* [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.07-linux-amd64.zip)
* [ARM - 32 Bit](http://downloads.rclone.org/rclone-v1.07-linux-arm.zip)
* [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.08-linux-386.zip)
* [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.08-linux-amd64.zip)
* [ARM - 32 Bit](http://downloads.rclone.org/rclone-v1.08-linux-arm.zip)
* FreeBSD
* [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.07-freebsd-386.zip)
* [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.07-freebsd-amd64.zip)
* [ARM - 32 Bit](http://downloads.rclone.org/rclone-v1.07-freebsd-arm.zip)
* [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.08-freebsd-386.zip)
* [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.08-freebsd-amd64.zip)
* [ARM - 32 Bit](http://downloads.rclone.org/rclone-v1.08-freebsd-arm.zip)
* NetBSD
* [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.07-netbsd-386.zip)
* [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.07-netbsd-amd64.zip)
* [ARM - 32 Bit](http://downloads.rclone.org/rclone-v1.07-netbsd-arm.zip)
* [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.08-netbsd-386.zip)
* [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.08-netbsd-amd64.zip)
* [ARM - 32 Bit](http://downloads.rclone.org/rclone-v1.08-netbsd-arm.zip)
* OpenBSD
* [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.07-openbsd-386.zip)
* [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.07-openbsd-amd64.zip)
* [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.08-openbsd-386.zip)
* [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.08-openbsd-amd64.zip)
* Plan 9
* [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.07-plan9-386.zip)
* [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.08-plan9-386.zip)
Older downloads can be found [here](http://downloads.rclone.org/)
+4 -2
View File
@@ -559,7 +559,7 @@ func (f *FsDrive) List() fs.ObjectsChan {
fs.Stats.Error()
log.Printf("Couldn't find root: %s", err)
} else {
if *driveFullList {
if f.root == "" && *driveFullList {
err = f.listDirFull(f.rootId, "", out)
} else {
err = f.listDirRecursive(f.rootId, "", out)
@@ -805,11 +805,13 @@ func (o *FsObjectDrive) SetModTime(modTime time.Time) {
ModifiedDate: modTime.Format(timeFormatOut),
}
// Set modified date
_, err = o.drive.svc.Files.Update(o.id, info).SetModifiedDate(true).Do()
info, err = o.drive.svc.Files.Update(o.id, info).SetModifiedDate(true).Do()
if err != nil {
fs.Stats.Error()
fs.Log(o, "Failed to update remote mtime: %s", err)
}
// Update info from read data
o.setMetaData(info)
}
// Is this object storable
+1 -1
View File
@@ -290,7 +290,7 @@ func (f *FsDropbox) list(out fs.ObjectsChan) {
if !deltaPage.HasMore {
break
}
cursor = deltaPage.Cursor
cursor = deltaPage.Cursor.Cursor
}
}
}
+1 -1
View File
@@ -1,3 +1,3 @@
package fs
const Version = "v1.07"
const Version = "v1.08"
+4
View File
@@ -99,6 +99,10 @@ func (is *Items) Done(t *testing.T) {
func CheckListingWithPrecision(t *testing.T, f fs.Fs, items []Item, precision time.Duration) {
is := NewItems(items)
for obj := range f.List() {
if obj == nil {
t.Errorf("Unexpected nil in List()")
continue
}
is.Find(t, obj, precision)
}
is.Done(t)
+1 -1
View File
@@ -312,7 +312,7 @@ func TestObjectSetModTime(t *testing.T) {
obj := findObject(t, file1.Path)
obj.SetModTime(newModTime)
file1.ModTime = newModTime
file1.CheckModTime(t, obj, newModTime, remote.Precision())
file1.CheckModTime(t, obj, obj.ModTime(), remote.Precision())
// And make a new object and read it from there too
TestObjectModTime(t)
}
+1
View File
@@ -60,6 +60,7 @@ Bugs
* When doing copy it recurses the whole of the destination FS which isn't necessary
Making a release
* go get -u -f -v ./...
* make test
* make tag
* edit README.md