diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..46f3c0430 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +weed diff --git a/README.md b/README.md index 1808a0277..d58e3792a 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,19 @@ weed-fs [![GoDoc](https://godoc.org/github.com/chrislusf/weed-fs/go?status.svg)](https://godoc.org/github.com/chrislusf/weed-fs/go) [![RTD](https://readthedocs.org/projects/weed-fs/badge/?version=latest)](http://weed-fs.readthedocs.org/en/latest/) +## Introduction + An official mirror of code.google.com/p/weed-fs. Moving to github.com to make cooperations easier. This repo and the google code repo will be kept synchronized. +## Usage + +``` +go get github.com/chrislusf/weed-fs/go/weed +``` + +## Reference For documents and bug reporting, Please visit http://weed-fs.googlecode.com diff --git a/go/filer/client_operations.go b/go/filer/client_operations.go index 5d89fc865..0b006289f 100644 --- a/go/filer/client_operations.go +++ b/go/filer/client_operations.go @@ -3,7 +3,7 @@ package filer import () import ( - "code.google.com/p/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/util" "encoding/json" "errors" "fmt" diff --git a/go/filer/directory_in_map.go b/go/filer/directory_in_map.go index 35b4e53c1..1d88a78be 100644 --- a/go/filer/directory_in_map.go +++ b/go/filer/directory_in_map.go @@ -2,7 +2,7 @@ package filer import ( "bufio" - "code.google.com/p/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/util" "fmt" "io" "os" diff --git a/go/filer/filer_embedded.go b/go/filer/filer_embedded.go index a3b64d37b..3d3dac941 100644 --- a/go/filer/filer_embedded.go +++ b/go/filer/filer_embedded.go @@ -1,7 +1,7 @@ package filer import ( - "code.google.com/p/weed-fs/go/operation" + "github.com/chrislusf/weed-fs/go/operation" "errors" "fmt" "path/filepath" diff --git a/go/filer/files_in_leveldb.go b/go/filer/files_in_leveldb.go index dbf2e6c52..41fbc74bd 100644 --- a/go/filer/files_in_leveldb.go +++ b/go/filer/files_in_leveldb.go @@ -2,7 +2,7 @@ package filer import ( "bytes" - "code.google.com/p/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/glog" "github.com/syndtr/goleveldb/leveldb" "github.com/syndtr/goleveldb/leveldb/util" ) diff --git a/go/operation/assign_file_id.go b/go/operation/assign_file_id.go index 34d371f37..4e72ad939 100644 --- a/go/operation/assign_file_id.go +++ b/go/operation/assign_file_id.go @@ -1,8 +1,8 @@ package operation import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/util" "encoding/json" "errors" "net/url" diff --git a/go/operation/delete_content.go b/go/operation/delete_content.go index e4f9d39bb..84391b634 100644 --- a/go/operation/delete_content.go +++ b/go/operation/delete_content.go @@ -1,7 +1,7 @@ package operation import ( - "code.google.com/p/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/util" "encoding/json" "errors" "net/url" diff --git a/go/operation/list_masters.go b/go/operation/list_masters.go index 491c79f20..7d46a9ebc 100644 --- a/go/operation/list_masters.go +++ b/go/operation/list_masters.go @@ -1,8 +1,8 @@ package operation import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/util" "encoding/json" ) diff --git a/go/operation/lookup.go b/go/operation/lookup.go index f191bfdbf..ebf153d27 100644 --- a/go/operation/lookup.go +++ b/go/operation/lookup.go @@ -1,7 +1,7 @@ package operation import ( - "code.google.com/p/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/util" "encoding/json" "errors" _ "fmt" diff --git a/go/operation/submit.go b/go/operation/submit.go index ec45cc320..3e09c2edf 100644 --- a/go/operation/submit.go +++ b/go/operation/submit.go @@ -2,7 +2,7 @@ package operation import ( "bytes" - "code.google.com/p/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/glog" "io" "mime" "os" diff --git a/go/operation/upload_content.go b/go/operation/upload_content.go index b89e65ce8..38737702d 100644 --- a/go/operation/upload_content.go +++ b/go/operation/upload_content.go @@ -2,7 +2,7 @@ package operation import ( "bytes" - "code.google.com/p/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/glog" "encoding/json" "errors" "fmt" diff --git a/go/storage/cdb_map.go b/go/storage/cdb_map.go index d09a87e2a..1869a563e 100644 --- a/go/storage/cdb_map.go +++ b/go/storage/cdb_map.go @@ -1,7 +1,7 @@ package storage import ( - "code.google.com/p/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/util" "encoding/json" "errors" "fmt" diff --git a/go/storage/cdb_map_test.go b/go/storage/cdb_map_test.go index f6a7d42ad..cff7dfa61 100644 --- a/go/storage/cdb_map_test.go +++ b/go/storage/cdb_map_test.go @@ -1,7 +1,7 @@ package storage import ( - "code.google.com/p/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/glog" "math/rand" "os" "runtime" diff --git a/go/storage/compact_map_perf_test.go b/go/storage/compact_map_perf_test.go index 37b23a59f..ef43de25b 100644 --- a/go/storage/compact_map_perf_test.go +++ b/go/storage/compact_map_perf_test.go @@ -1,8 +1,8 @@ package storage import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/util" "log" "os" "testing" diff --git a/go/storage/compress.go b/go/storage/compress.go index 846fd0714..a353c9d3a 100644 --- a/go/storage/compress.go +++ b/go/storage/compress.go @@ -2,7 +2,7 @@ package storage import ( "bytes" - "code.google.com/p/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/glog" "compress/flate" "compress/gzip" "io/ioutil" diff --git a/go/storage/crc.go b/go/storage/crc.go index 43e65757a..7aa400959 100644 --- a/go/storage/crc.go +++ b/go/storage/crc.go @@ -1,7 +1,7 @@ package storage import ( - "code.google.com/p/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/util" "fmt" "hash/crc32" ) diff --git a/go/storage/file_id.go b/go/storage/file_id.go index 5fcd8c387..ec566826c 100644 --- a/go/storage/file_id.go +++ b/go/storage/file_id.go @@ -1,8 +1,8 @@ package storage import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/util" "encoding/hex" "errors" "strings" diff --git a/go/storage/needle.go b/go/storage/needle.go index 51079376a..daede321b 100644 --- a/go/storage/needle.go +++ b/go/storage/needle.go @@ -1,9 +1,9 @@ package storage import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/images" - "code.google.com/p/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/images" + "github.com/chrislusf/weed-fs/go/util" "encoding/hex" "errors" "io/ioutil" diff --git a/go/storage/needle_map.go b/go/storage/needle_map.go index 6d94ee1ca..dca2e6c5d 100644 --- a/go/storage/needle_map.go +++ b/go/storage/needle_map.go @@ -1,8 +1,8 @@ package storage import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/util" "fmt" "io" "os" diff --git a/go/storage/needle_read_write.go b/go/storage/needle_read_write.go index 848121ff2..bf452ba37 100644 --- a/go/storage/needle_read_write.go +++ b/go/storage/needle_read_write.go @@ -1,8 +1,8 @@ package storage import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/util" "errors" "fmt" "io" diff --git a/go/storage/store.go b/go/storage/store.go index ef38ade98..e7a9dac94 100644 --- a/go/storage/store.go +++ b/go/storage/store.go @@ -2,9 +2,9 @@ package storage import ( proto "code.google.com/p/goprotobuf/proto" - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/operation" - "code.google.com/p/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/operation" + "github.com/chrislusf/weed-fs/go/util" "encoding/json" "errors" "fmt" diff --git a/go/storage/store_vacuum.go b/go/storage/store_vacuum.go index 5adaa7561..3527e4f59 100644 --- a/go/storage/store_vacuum.go +++ b/go/storage/store_vacuum.go @@ -1,7 +1,7 @@ package storage import ( - "code.google.com/p/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/glog" "fmt" "strconv" ) diff --git a/go/storage/volume.go b/go/storage/volume.go index 34ae7e386..de79e9107 100644 --- a/go/storage/volume.go +++ b/go/storage/volume.go @@ -2,7 +2,7 @@ package storage import ( "bytes" - "code.google.com/p/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/glog" "errors" "fmt" "io" diff --git a/go/storage/volume_info.go b/go/storage/volume_info.go index 6a954f743..6410c1784 100644 --- a/go/storage/volume_info.go +++ b/go/storage/volume_info.go @@ -1,7 +1,7 @@ package storage import ( - "code.google.com/p/weed-fs/go/operation" + "github.com/chrislusf/weed-fs/go/operation" ) type VolumeInfo struct { diff --git a/go/storage/volume_super_block.go b/go/storage/volume_super_block.go index 3fbef44d6..a7e86b1c3 100644 --- a/go/storage/volume_super_block.go +++ b/go/storage/volume_super_block.go @@ -1,7 +1,7 @@ package storage import ( - "code.google.com/p/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/glog" "fmt" "os" ) diff --git a/go/storage/volume_vacuum.go b/go/storage/volume_vacuum.go index 706a1f951..b348434d2 100644 --- a/go/storage/volume_vacuum.go +++ b/go/storage/volume_vacuum.go @@ -1,7 +1,7 @@ package storage import ( - "code.google.com/p/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/glog" "fmt" "os" "time" diff --git a/go/tools/read_index.go b/go/tools/read_index.go index a958de410..b99c5b6b8 100644 --- a/go/tools/read_index.go +++ b/go/tools/read_index.go @@ -1,7 +1,7 @@ package main import ( - "code.google.com/p/weed-fs/go/storage" + "github.com/chrislusf/weed-fs/go/storage" "flag" "fmt" "log" diff --git a/go/topology/allocate_volume.go b/go/topology/allocate_volume.go index 4aeef35f7..6562e9ac5 100644 --- a/go/topology/allocate_volume.go +++ b/go/topology/allocate_volume.go @@ -1,8 +1,8 @@ package topology import ( - "code.google.com/p/weed-fs/go/storage" - "code.google.com/p/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/storage" + "github.com/chrislusf/weed-fs/go/util" "encoding/json" "errors" "net/url" diff --git a/go/topology/cluster_commands.go b/go/topology/cluster_commands.go index 703435173..cafc52c76 100644 --- a/go/topology/cluster_commands.go +++ b/go/topology/cluster_commands.go @@ -1,8 +1,8 @@ package topology import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/storage" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/storage" "github.com/goraft/raft" ) diff --git a/go/topology/collection.go b/go/topology/collection.go index c014231af..506f43fbf 100644 --- a/go/topology/collection.go +++ b/go/topology/collection.go @@ -1,7 +1,7 @@ package topology import ( - "code.google.com/p/weed-fs/go/storage" + "github.com/chrislusf/weed-fs/go/storage" ) type Collection struct { diff --git a/go/topology/data_node.go b/go/topology/data_node.go index c67c5c1c1..c3b90470f 100644 --- a/go/topology/data_node.go +++ b/go/topology/data_node.go @@ -1,8 +1,8 @@ package topology import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/storage" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/storage" "strconv" ) diff --git a/go/topology/node.go b/go/topology/node.go index c52414008..54118802e 100644 --- a/go/topology/node.go +++ b/go/topology/node.go @@ -1,8 +1,8 @@ package topology import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/storage" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/storage" "errors" "math/rand" "strings" diff --git a/go/topology/store_replicate.go b/go/topology/store_replicate.go index a982cebe5..6ea019bd8 100644 --- a/go/topology/store_replicate.go +++ b/go/topology/store_replicate.go @@ -2,10 +2,10 @@ package topology import ( "bytes" - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/operation" - "code.google.com/p/weed-fs/go/storage" - "code.google.com/p/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/operation" + "github.com/chrislusf/weed-fs/go/storage" + "github.com/chrislusf/weed-fs/go/util" "net/http" "strconv" ) diff --git a/go/topology/topology.go b/go/topology/topology.go index acdef5e36..c90e8de0b 100644 --- a/go/topology/topology.go +++ b/go/topology/topology.go @@ -1,10 +1,10 @@ package topology import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/operation" - "code.google.com/p/weed-fs/go/sequence" - "code.google.com/p/weed-fs/go/storage" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/operation" + "github.com/chrislusf/weed-fs/go/sequence" + "github.com/chrislusf/weed-fs/go/storage" "errors" "github.com/goraft/raft" "io/ioutil" diff --git a/go/topology/topology_event_handling.go b/go/topology/topology_event_handling.go index 1e630e149..eb4491484 100644 --- a/go/topology/topology_event_handling.go +++ b/go/topology/topology_event_handling.go @@ -1,8 +1,8 @@ package topology import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/storage" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/storage" "math/rand" "time" ) diff --git a/go/topology/topology_vacuum.go b/go/topology/topology_vacuum.go index 9eaca37d4..72846f20b 100644 --- a/go/topology/topology_vacuum.go +++ b/go/topology/topology_vacuum.go @@ -1,9 +1,9 @@ package topology import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/storage" - "code.google.com/p/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/storage" + "github.com/chrislusf/weed-fs/go/util" "encoding/json" "errors" "net/url" diff --git a/go/topology/volume_growth.go b/go/topology/volume_growth.go index 778aa038a..2859d3992 100644 --- a/go/topology/volume_growth.go +++ b/go/topology/volume_growth.go @@ -1,8 +1,8 @@ package topology import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/storage" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/storage" "fmt" "math/rand" "sync" diff --git a/go/topology/volume_growth_test.go b/go/topology/volume_growth_test.go index d2913ef5c..5581c87ce 100644 --- a/go/topology/volume_growth_test.go +++ b/go/topology/volume_growth_test.go @@ -1,8 +1,8 @@ package topology import ( - "code.google.com/p/weed-fs/go/sequence" - "code.google.com/p/weed-fs/go/storage" + "github.com/chrislusf/weed-fs/go/sequence" + "github.com/chrislusf/weed-fs/go/storage" "encoding/json" "fmt" "testing" diff --git a/go/topology/volume_layout.go b/go/topology/volume_layout.go index 1e55072a3..7bb0cf7e3 100644 --- a/go/topology/volume_layout.go +++ b/go/topology/volume_layout.go @@ -1,8 +1,8 @@ package topology import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/storage" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/storage" "errors" "math/rand" "sync" diff --git a/go/util/config.go b/go/util/config.go index 9a1ac680b..050fd0e64 100644 --- a/go/util/config.go +++ b/go/util/config.go @@ -10,7 +10,7 @@ package util import ( "bytes" - "code.google.com/p/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/glog" "encoding/json" "os" ) diff --git a/go/util/file_util.go b/go/util/file_util.go index 9f3354011..412d98458 100644 --- a/go/util/file_util.go +++ b/go/util/file_util.go @@ -2,7 +2,7 @@ package util import ( "bufio" - "code.google.com/p/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/glog" "errors" "os" ) diff --git a/go/util/net_timeout.go b/go/util/net_timeout.go index a6cc81c99..eb80822b5 100644 --- a/go/util/net_timeout.go +++ b/go/util/net_timeout.go @@ -1,7 +1,7 @@ package util import ( - "code.google.com/p/weed-fs/go/stats" + "github.com/chrislusf/weed-fs/go/stats" "net" "time" ) diff --git a/go/weed/benchmark.go b/go/weed/benchmark.go index 7e98fd177..fec8472e5 100644 --- a/go/weed/benchmark.go +++ b/go/weed/benchmark.go @@ -2,9 +2,9 @@ package main import ( "bufio" - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/operation" - "code.google.com/p/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/operation" + "github.com/chrislusf/weed-fs/go/util" "fmt" "io" "math" diff --git a/go/weed/compact.go b/go/weed/compact.go index 57a02261f..a99e6c93e 100644 --- a/go/weed/compact.go +++ b/go/weed/compact.go @@ -1,8 +1,8 @@ package main import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/storage" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/storage" ) func init() { diff --git a/go/weed/download.go b/go/weed/download.go index 4309fe5e0..c30d17915 100644 --- a/go/weed/download.go +++ b/go/weed/download.go @@ -1,8 +1,8 @@ package main import ( - "code.google.com/p/weed-fs/go/operation" - "code.google.com/p/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/operation" + "github.com/chrislusf/weed-fs/go/util" "fmt" "io" "io/ioutil" diff --git a/go/weed/export.go b/go/weed/export.go index f79ab1a5f..81bc21f6e 100644 --- a/go/weed/export.go +++ b/go/weed/export.go @@ -3,8 +3,8 @@ package main import ( "archive/tar" "bytes" - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/storage" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/storage" "fmt" "os" "path" diff --git a/go/weed/filer.go b/go/weed/filer.go index da54a91fb..7dbecb4d0 100644 --- a/go/weed/filer.go +++ b/go/weed/filer.go @@ -1,9 +1,9 @@ package main import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/util" - "code.google.com/p/weed-fs/go/weed/weed_server" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/weed/weed_server" "net/http" "os" "strconv" diff --git a/go/weed/fix.go b/go/weed/fix.go index 02147d796..ad573875a 100644 --- a/go/weed/fix.go +++ b/go/weed/fix.go @@ -1,8 +1,8 @@ package main import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/storage" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/storage" "os" "path" "strconv" diff --git a/go/weed/master.go b/go/weed/master.go index ef2c062b5..6617c8ca6 100644 --- a/go/weed/master.go +++ b/go/weed/master.go @@ -1,9 +1,9 @@ package main import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/util" - "code.google.com/p/weed-fs/go/weed/weed_server" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/weed/weed_server" "github.com/gorilla/mux" "net/http" "os" diff --git a/go/weed/mount_std.go b/go/weed/mount_std.go index 5b058fe89..e5fc0986c 100644 --- a/go/weed/mount_std.go +++ b/go/weed/mount_std.go @@ -5,10 +5,10 @@ package main import ( "bazil.org/fuse" "bazil.org/fuse/fs" - "code.google.com/p/weed-fs/go/filer" - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/storage" - "code.google.com/p/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/filer" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/storage" + "github.com/chrislusf/weed-fs/go/util" "fmt" "os" "runtime" diff --git a/go/weed/server.go b/go/weed/server.go index 57fde6757..1d854d641 100644 --- a/go/weed/server.go +++ b/go/weed/server.go @@ -1,9 +1,9 @@ package main import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/util" - "code.google.com/p/weed-fs/go/weed/weed_server" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/weed/weed_server" "github.com/gorilla/mux" "net/http" "os" diff --git a/go/weed/shell.go b/go/weed/shell.go index 6a3331284..c8043e0dd 100644 --- a/go/weed/shell.go +++ b/go/weed/shell.go @@ -2,7 +2,7 @@ package main import ( "bufio" - "code.google.com/p/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/glog" "fmt" "os" ) diff --git a/go/weed/upload.go b/go/weed/upload.go index c21499dd0..4eae4d274 100644 --- a/go/weed/upload.go +++ b/go/weed/upload.go @@ -1,7 +1,7 @@ package main import ( - "code.google.com/p/weed-fs/go/operation" + "github.com/chrislusf/weed-fs/go/operation" "encoding/json" "fmt" "os" diff --git a/go/weed/version.go b/go/weed/version.go index a7c24ea3b..63441509e 100644 --- a/go/weed/version.go +++ b/go/weed/version.go @@ -1,7 +1,7 @@ package main import ( - "code.google.com/p/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/util" "fmt" "runtime" ) diff --git a/go/weed/volume.go b/go/weed/volume.go index 7a57730cd..17d03f0c5 100644 --- a/go/weed/volume.go +++ b/go/weed/volume.go @@ -1,9 +1,9 @@ package main import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/util" - "code.google.com/p/weed-fs/go/weed/weed_server" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/weed/weed_server" "net/http" "os" "runtime" diff --git a/go/weed/volume_test.go b/go/weed/volume_test.go index 2499d8543..764362a2b 100644 --- a/go/weed/volume_test.go +++ b/go/weed/volume_test.go @@ -1,7 +1,7 @@ package main import ( - "code.google.com/p/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/glog" "net/http" "testing" "time" diff --git a/go/weed/weed.go b/go/weed/weed.go index 03cf29179..c1f5a72de 100644 --- a/go/weed/weed.go +++ b/go/weed/weed.go @@ -1,7 +1,7 @@ package main import ( - "code.google.com/p/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/glog" "flag" "fmt" "io" diff --git a/go/weed/weed_server/common.go b/go/weed/weed_server/common.go index 49e84378c..816107dc5 100644 --- a/go/weed/weed_server/common.go +++ b/go/weed/weed_server/common.go @@ -2,11 +2,11 @@ package weed_server import ( "bytes" - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/operation" - "code.google.com/p/weed-fs/go/stats" - "code.google.com/p/weed-fs/go/storage" - "code.google.com/p/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/operation" + "github.com/chrislusf/weed-fs/go/stats" + "github.com/chrislusf/weed-fs/go/storage" + "github.com/chrislusf/weed-fs/go/util" "encoding/json" "fmt" "net" diff --git a/go/weed/weed_server/filer_server.go b/go/weed/weed_server/filer_server.go index e56cb5964..5ff0ed986 100644 --- a/go/weed/weed_server/filer_server.go +++ b/go/weed/weed_server/filer_server.go @@ -1,8 +1,8 @@ package weed_server import ( - "code.google.com/p/weed-fs/go/filer" - "code.google.com/p/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/filer" + "github.com/chrislusf/weed-fs/go/glog" "net/http" "strconv" ) diff --git a/go/weed/weed_server/filer_server_handlers.go b/go/weed/weed_server/filer_server_handlers.go index f760030f3..e36e7c310 100644 --- a/go/weed/weed_server/filer_server_handlers.go +++ b/go/weed/weed_server/filer_server_handlers.go @@ -1,9 +1,9 @@ package weed_server import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/operation" - "code.google.com/p/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/operation" + "github.com/chrislusf/weed-fs/go/util" "encoding/json" "errors" "github.com/syndtr/goleveldb/leveldb" diff --git a/go/weed/weed_server/filer_server_handlers_admin.go b/go/weed/weed_server/filer_server_handlers_admin.go index b4b8b7221..ff52dff24 100644 --- a/go/weed/weed_server/filer_server_handlers_admin.go +++ b/go/weed/weed_server/filer_server_handlers_admin.go @@ -1,7 +1,7 @@ package weed_server import ( - "code.google.com/p/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/glog" "net/http" ) diff --git a/go/weed/weed_server/master_server.go b/go/weed/weed_server/master_server.go index a89959fa4..401f6cfdb 100644 --- a/go/weed/weed_server/master_server.go +++ b/go/weed/weed_server/master_server.go @@ -1,10 +1,10 @@ package weed_server import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/sequence" - "code.google.com/p/weed-fs/go/topology" - "code.google.com/p/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/sequence" + "github.com/chrislusf/weed-fs/go/topology" + "github.com/chrislusf/weed-fs/go/util" "github.com/goraft/raft" "github.com/gorilla/mux" "net/http" diff --git a/go/weed/weed_server/master_server_handlers.go b/go/weed/weed_server/master_server_handlers.go index 1b58e6e73..93e9e7d9a 100644 --- a/go/weed/weed_server/master_server_handlers.go +++ b/go/weed/weed_server/master_server_handlers.go @@ -1,9 +1,9 @@ package weed_server import ( - "code.google.com/p/weed-fs/go/operation" - "code.google.com/p/weed-fs/go/stats" - "code.google.com/p/weed-fs/go/storage" + "github.com/chrislusf/weed-fs/go/operation" + "github.com/chrislusf/weed-fs/go/stats" + "github.com/chrislusf/weed-fs/go/storage" "net/http" "strconv" "strings" diff --git a/go/weed/weed_server/master_server_handlers_admin.go b/go/weed/weed_server/master_server_handlers_admin.go index 1458bf3e6..c9a8020c2 100644 --- a/go/weed/weed_server/master_server_handlers_admin.go +++ b/go/weed/weed_server/master_server_handlers_admin.go @@ -2,11 +2,11 @@ package weed_server import ( proto "code.google.com/p/goprotobuf/proto" - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/operation" - "code.google.com/p/weed-fs/go/storage" - "code.google.com/p/weed-fs/go/topology" - "code.google.com/p/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/operation" + "github.com/chrislusf/weed-fs/go/storage" + "github.com/chrislusf/weed-fs/go/topology" + "github.com/chrislusf/weed-fs/go/util" "encoding/json" "errors" "io/ioutil" diff --git a/go/weed/weed_server/raft_server.go b/go/weed/weed_server/raft_server.go index f67caaebd..e41867076 100644 --- a/go/weed/weed_server/raft_server.go +++ b/go/weed/weed_server/raft_server.go @@ -2,8 +2,8 @@ package weed_server import ( "bytes" - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/topology" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/topology" "encoding/json" "errors" "fmt" diff --git a/go/weed/weed_server/raft_server_handlers.go b/go/weed/weed_server/raft_server_handlers.go index 1ce24a963..4d51c0767 100644 --- a/go/weed/weed_server/raft_server_handlers.go +++ b/go/weed/weed_server/raft_server_handlers.go @@ -1,8 +1,8 @@ package weed_server import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/operation" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/operation" "encoding/json" "github.com/goraft/raft" "io/ioutil" diff --git a/go/weed/weed_server/volume_server.go b/go/weed/weed_server/volume_server.go index 9cada91ac..2a9085f3b 100644 --- a/go/weed/weed_server/volume_server.go +++ b/go/weed/weed_server/volume_server.go @@ -1,8 +1,8 @@ package weed_server import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/storage" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/storage" "math/rand" "net/http" "strconv" diff --git a/go/weed/weed_server/volume_server_handlers.go b/go/weed/weed_server/volume_server_handlers.go index eed198e4a..ce14f6a87 100644 --- a/go/weed/weed_server/volume_server_handlers.go +++ b/go/weed/weed_server/volume_server_handlers.go @@ -1,12 +1,12 @@ package weed_server import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/images" - "code.google.com/p/weed-fs/go/operation" - "code.google.com/p/weed-fs/go/stats" - "code.google.com/p/weed-fs/go/storage" - "code.google.com/p/weed-fs/go/topology" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/images" + "github.com/chrislusf/weed-fs/go/operation" + "github.com/chrislusf/weed-fs/go/stats" + "github.com/chrislusf/weed-fs/go/storage" + "github.com/chrislusf/weed-fs/go/topology" "io" "mime" "mime/multipart" diff --git a/go/weed/weed_server/volume_server_handlers_admin.go b/go/weed/weed_server/volume_server_handlers_admin.go index 1c01fdfd0..1118c8017 100644 --- a/go/weed/weed_server/volume_server_handlers_admin.go +++ b/go/weed/weed_server/volume_server_handlers_admin.go @@ -1,9 +1,9 @@ package weed_server import ( - "code.google.com/p/weed-fs/go/glog" - "code.google.com/p/weed-fs/go/stats" - "code.google.com/p/weed-fs/go/util" + "github.com/chrislusf/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/stats" + "github.com/chrislusf/weed-fs/go/util" "net/http" "path/filepath" ) diff --git a/go/weed/weed_server/volume_server_handlers_vacuum.go b/go/weed/weed_server/volume_server_handlers_vacuum.go index 60a5e9742..b0600d799 100644 --- a/go/weed/weed_server/volume_server_handlers_vacuum.go +++ b/go/weed/weed_server/volume_server_handlers_vacuum.go @@ -1,7 +1,7 @@ package weed_server import ( - "code.google.com/p/weed-fs/go/glog" + "github.com/chrislusf/weed-fs/go/glog" "net/http" )