Make imports absolute and use own copy of goamz pending patch inclusion

This commit is contained in:
Nick Craig-Wood 2013-07-11 17:37:33 +01:00
parent 90738f4081
commit a34bf2ae5e
5 changed files with 11 additions and 11 deletions

View File

@ -22,12 +22,12 @@ package drive
// * files with / in name // * files with / in name
import ( import (
"../fs"
"code.google.com/p/goauth2/oauth" "code.google.com/p/goauth2/oauth"
"code.google.com/p/google-api-go-client/drive/v2" "code.google.com/p/google-api-go-client/drive/v2"
"errors" "errors"
"flag" "flag"
"fmt" "fmt"
"github.com/ncw/rclone/fs"
"io" "io"
"log" "log"
"mime" "mime"

View File

@ -2,9 +2,9 @@
package local package local
import ( import (
"../fs"
"crypto/md5" "crypto/md5"
"fmt" "fmt"
"github.com/ncw/rclone/fs"
"io" "io"
"io/ioutil" "io/ioutil"
"log" "log"

View File

@ -4,9 +4,9 @@
package main package main
import ( import (
"./fs"
"flag" "flag"
"fmt" "fmt"
"github.com/ncw/rclone/fs"
"log" "log"
"os" "os"
"runtime" "runtime"
@ -15,10 +15,10 @@ import (
"sync" "sync"
"time" "time"
// Active file systems // Active file systems
_ "./drive" _ "github.com/ncw/rclone/drive"
_ "./local" _ "github.com/ncw/rclone/local"
_ "./s3" _ "github.com/ncw/rclone/s3"
_ "./swift" _ "github.com/ncw/rclone/swift"
) )
// Globals // Globals

View File

@ -4,14 +4,14 @@ package s3
// FIXME need to prevent anything but ListDir working for s3:// // FIXME need to prevent anything but ListDir working for s3://
import ( import (
"../fs"
"errors" "errors"
"flag" "flag"
"fmt" "fmt"
"github.com/ncw/goamz/aws"
"github.com/ncw/goamz/s3"
"github.com/ncw/rclone/fs"
"github.com/ncw/swift" "github.com/ncw/swift"
"io" "io"
"launchpad.net/goamz/aws"
"launchpad.net/goamz/s3"
"log" "log"
"mime" "mime"
"net/http" "net/http"

View File

@ -4,10 +4,10 @@ package swift
// FIXME need to prevent anything but ListDir working for swift:// // FIXME need to prevent anything but ListDir working for swift://
import ( import (
"../fs"
"errors" "errors"
"flag" "flag"
"fmt" "fmt"
"github.com/ncw/rclone/fs"
"github.com/ncw/swift" "github.com/ncw/swift"
"io" "io"
"log" "log"