Browse Source

Merge pull request #15 from aszxqw/upstream_master

Changing to github !!! Thanks!
pull/20/head
chrislusf 10 years ago
parent
commit
348a50052e
  1. 1
      .gitignore
  2. 9
      README.md
  3. 2
      go/filer/client_operations.go
  4. 2
      go/filer/directory_in_map.go
  5. 2
      go/filer/filer_embedded.go
  6. 2
      go/filer/files_in_leveldb.go
  7. 4
      go/operation/assign_file_id.go
  8. 2
      go/operation/delete_content.go
  9. 4
      go/operation/list_masters.go
  10. 2
      go/operation/lookup.go
  11. 2
      go/operation/submit.go
  12. 2
      go/operation/upload_content.go
  13. 2
      go/storage/cdb_map.go
  14. 2
      go/storage/cdb_map_test.go
  15. 4
      go/storage/compact_map_perf_test.go
  16. 2
      go/storage/compress.go
  17. 2
      go/storage/crc.go
  18. 4
      go/storage/file_id.go
  19. 6
      go/storage/needle.go
  20. 4
      go/storage/needle_map.go
  21. 4
      go/storage/needle_read_write.go
  22. 6
      go/storage/store.go
  23. 2
      go/storage/store_vacuum.go
  24. 2
      go/storage/volume.go
  25. 2
      go/storage/volume_info.go
  26. 2
      go/storage/volume_super_block.go
  27. 2
      go/storage/volume_vacuum.go
  28. 2
      go/tools/read_index.go
  29. 4
      go/topology/allocate_volume.go
  30. 4
      go/topology/cluster_commands.go
  31. 2
      go/topology/collection.go
  32. 4
      go/topology/data_node.go
  33. 4
      go/topology/node.go
  34. 8
      go/topology/store_replicate.go
  35. 8
      go/topology/topology.go
  36. 4
      go/topology/topology_event_handling.go
  37. 6
      go/topology/topology_vacuum.go
  38. 4
      go/topology/volume_growth.go
  39. 4
      go/topology/volume_growth_test.go
  40. 4
      go/topology/volume_layout.go
  41. 2
      go/util/config.go
  42. 2
      go/util/file_util.go
  43. 2
      go/util/net_timeout.go
  44. 6
      go/weed/benchmark.go
  45. 4
      go/weed/compact.go
  46. 4
      go/weed/download.go
  47. 4
      go/weed/export.go
  48. 6
      go/weed/filer.go
  49. 4
      go/weed/fix.go
  50. 6
      go/weed/master.go
  51. 8
      go/weed/mount_std.go
  52. 6
      go/weed/server.go
  53. 2
      go/weed/shell.go
  54. 2
      go/weed/upload.go
  55. 2
      go/weed/version.go
  56. 6
      go/weed/volume.go
  57. 2
      go/weed/volume_test.go
  58. 2
      go/weed/weed.go
  59. 10
      go/weed/weed_server/common.go
  60. 4
      go/weed/weed_server/filer_server.go
  61. 6
      go/weed/weed_server/filer_server_handlers.go
  62. 2
      go/weed/weed_server/filer_server_handlers_admin.go
  63. 8
      go/weed/weed_server/master_server.go
  64. 6
      go/weed/weed_server/master_server_handlers.go
  65. 10
      go/weed/weed_server/master_server_handlers_admin.go
  66. 4
      go/weed/weed_server/raft_server.go
  67. 4
      go/weed/weed_server/raft_server_handlers.go
  68. 4
      go/weed/weed_server/volume_server.go
  69. 12
      go/weed/weed_server/volume_server_handlers.go
  70. 6
      go/weed/weed_server/volume_server_handlers_admin.go
  71. 2
      go/weed/weed_server/volume_server_handlers_vacuum.go

1
.gitignore

@ -0,0 +1 @@
weed

9
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) [![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/) [![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. An official mirror of code.google.com/p/weed-fs.
Moving to github.com to make cooperations easier. Moving to github.com to make cooperations easier.
This repo and the google code repo will be kept synchronized. 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 For documents and bug reporting, Please visit
http://weed-fs.googlecode.com http://weed-fs.googlecode.com

2
go/filer/client_operations.go

@ -3,7 +3,7 @@ package filer
import () import ()
import ( import (
"code.google.com/p/weed-fs/go/util"
"github.com/chrislusf/weed-fs/go/util"
"encoding/json" "encoding/json"
"errors" "errors"
"fmt" "fmt"

2
go/filer/directory_in_map.go

@ -2,7 +2,7 @@ package filer
import ( import (
"bufio" "bufio"
"code.google.com/p/weed-fs/go/util"
"github.com/chrislusf/weed-fs/go/util"
"fmt" "fmt"
"io" "io"
"os" "os"

2
go/filer/filer_embedded.go

@ -1,7 +1,7 @@
package filer package filer
import ( import (
"code.google.com/p/weed-fs/go/operation"
"github.com/chrislusf/weed-fs/go/operation"
"errors" "errors"
"fmt" "fmt"
"path/filepath" "path/filepath"

2
go/filer/files_in_leveldb.go

@ -2,7 +2,7 @@ package filer
import ( import (
"bytes" "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"
"github.com/syndtr/goleveldb/leveldb/util" "github.com/syndtr/goleveldb/leveldb/util"
) )

4
go/operation/assign_file_id.go

@ -1,8 +1,8 @@
package operation package operation
import ( 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" "encoding/json"
"errors" "errors"
"net/url" "net/url"

2
go/operation/delete_content.go

@ -1,7 +1,7 @@
package operation package operation
import ( import (
"code.google.com/p/weed-fs/go/util"
"github.com/chrislusf/weed-fs/go/util"
"encoding/json" "encoding/json"
"errors" "errors"
"net/url" "net/url"

4
go/operation/list_masters.go

@ -1,8 +1,8 @@
package operation package operation
import ( 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" "encoding/json"
) )

2
go/operation/lookup.go

@ -1,7 +1,7 @@
package operation package operation
import ( import (
"code.google.com/p/weed-fs/go/util"
"github.com/chrislusf/weed-fs/go/util"
"encoding/json" "encoding/json"
"errors" "errors"
_ "fmt" _ "fmt"

2
go/operation/submit.go

@ -2,7 +2,7 @@ package operation
import ( import (
"bytes" "bytes"
"code.google.com/p/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
"io" "io"
"mime" "mime"
"os" "os"

2
go/operation/upload_content.go

@ -2,7 +2,7 @@ package operation
import ( import (
"bytes" "bytes"
"code.google.com/p/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
"encoding/json" "encoding/json"
"errors" "errors"
"fmt" "fmt"

2
go/storage/cdb_map.go

@ -1,7 +1,7 @@
package storage package storage
import ( import (
"code.google.com/p/weed-fs/go/util"
"github.com/chrislusf/weed-fs/go/util"
"encoding/json" "encoding/json"
"errors" "errors"
"fmt" "fmt"

2
go/storage/cdb_map_test.go

@ -1,7 +1,7 @@
package storage package storage
import ( import (
"code.google.com/p/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
"math/rand" "math/rand"
"os" "os"
"runtime" "runtime"

4
go/storage/compact_map_perf_test.go

@ -1,8 +1,8 @@
package storage package storage
import ( 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" "log"
"os" "os"
"testing" "testing"

2
go/storage/compress.go

@ -2,7 +2,7 @@ package storage
import ( import (
"bytes" "bytes"
"code.google.com/p/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
"compress/flate" "compress/flate"
"compress/gzip" "compress/gzip"
"io/ioutil" "io/ioutil"

2
go/storage/crc.go

@ -1,7 +1,7 @@
package storage package storage
import ( import (
"code.google.com/p/weed-fs/go/util"
"github.com/chrislusf/weed-fs/go/util"
"fmt" "fmt"
"hash/crc32" "hash/crc32"
) )

4
go/storage/file_id.go

@ -1,8 +1,8 @@
package storage package storage
import ( 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" "encoding/hex"
"errors" "errors"
"strings" "strings"

6
go/storage/needle.go

@ -1,9 +1,9 @@
package storage package storage
import ( 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" "encoding/hex"
"errors" "errors"
"io/ioutil" "io/ioutil"

4
go/storage/needle_map.go

@ -1,8 +1,8 @@
package storage package storage
import ( 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" "fmt"
"io" "io"
"os" "os"

4
go/storage/needle_read_write.go

@ -1,8 +1,8 @@
package storage package storage
import ( 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" "errors"
"fmt" "fmt"
"io" "io"

6
go/storage/store.go

@ -2,9 +2,9 @@ package storage
import ( import (
proto "code.google.com/p/goprotobuf/proto" 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" "encoding/json"
"errors" "errors"
"fmt" "fmt"

2
go/storage/store_vacuum.go

@ -1,7 +1,7 @@
package storage package storage
import ( import (
"code.google.com/p/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
"fmt" "fmt"
"strconv" "strconv"
) )

2
go/storage/volume.go

@ -2,7 +2,7 @@ package storage
import ( import (
"bytes" "bytes"
"code.google.com/p/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
"errors" "errors"
"fmt" "fmt"
"io" "io"

2
go/storage/volume_info.go

@ -1,7 +1,7 @@
package storage package storage
import ( import (
"code.google.com/p/weed-fs/go/operation"
"github.com/chrislusf/weed-fs/go/operation"
) )
type VolumeInfo struct { type VolumeInfo struct {

2
go/storage/volume_super_block.go

@ -1,7 +1,7 @@
package storage package storage
import ( import (
"code.google.com/p/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
"fmt" "fmt"
"os" "os"
) )

2
go/storage/volume_vacuum.go

@ -1,7 +1,7 @@
package storage package storage
import ( import (
"code.google.com/p/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
"fmt" "fmt"
"os" "os"
"time" "time"

2
go/tools/read_index.go

@ -1,7 +1,7 @@
package main package main
import ( import (
"code.google.com/p/weed-fs/go/storage"
"github.com/chrislusf/weed-fs/go/storage"
"flag" "flag"
"fmt" "fmt"
"log" "log"

4
go/topology/allocate_volume.go

@ -1,8 +1,8 @@
package topology package topology
import ( 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" "encoding/json"
"errors" "errors"
"net/url" "net/url"

4
go/topology/cluster_commands.go

@ -1,8 +1,8 @@
package topology package topology
import ( 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" "github.com/goraft/raft"
) )

2
go/topology/collection.go

@ -1,7 +1,7 @@
package topology package topology
import ( import (
"code.google.com/p/weed-fs/go/storage"
"github.com/chrislusf/weed-fs/go/storage"
) )
type Collection struct { type Collection struct {

4
go/topology/data_node.go

@ -1,8 +1,8 @@
package topology package topology
import ( 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" "strconv"
) )

4
go/topology/node.go

@ -1,8 +1,8 @@
package topology package topology
import ( 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" "errors"
"math/rand" "math/rand"
"strings" "strings"

8
go/topology/store_replicate.go

@ -2,10 +2,10 @@ package topology
import ( import (
"bytes" "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" "net/http"
"strconv" "strconv"
) )

8
go/topology/topology.go

@ -1,10 +1,10 @@
package topology package topology
import ( 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" "errors"
"github.com/goraft/raft" "github.com/goraft/raft"
"io/ioutil" "io/ioutil"

4
go/topology/topology_event_handling.go

@ -1,8 +1,8 @@
package topology package topology
import ( 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" "math/rand"
"time" "time"
) )

6
go/topology/topology_vacuum.go

@ -1,9 +1,9 @@
package topology package topology
import ( 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" "encoding/json"
"errors" "errors"
"net/url" "net/url"

4
go/topology/volume_growth.go

@ -1,8 +1,8 @@
package topology package topology
import ( 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" "fmt"
"math/rand" "math/rand"
"sync" "sync"

4
go/topology/volume_growth_test.go

@ -1,8 +1,8 @@
package topology package topology
import ( 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" "encoding/json"
"fmt" "fmt"
"testing" "testing"

4
go/topology/volume_layout.go

@ -1,8 +1,8 @@
package topology package topology
import ( 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" "errors"
"math/rand" "math/rand"
"sync" "sync"

2
go/util/config.go

@ -10,7 +10,7 @@ package util
import ( import (
"bytes" "bytes"
"code.google.com/p/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
"encoding/json" "encoding/json"
"os" "os"
) )

2
go/util/file_util.go

@ -2,7 +2,7 @@ package util
import ( import (
"bufio" "bufio"
"code.google.com/p/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
"errors" "errors"
"os" "os"
) )

2
go/util/net_timeout.go

@ -1,7 +1,7 @@
package util package util
import ( import (
"code.google.com/p/weed-fs/go/stats"
"github.com/chrislusf/weed-fs/go/stats"
"net" "net"
"time" "time"
) )

6
go/weed/benchmark.go

@ -2,9 +2,9 @@ package main
import ( import (
"bufio" "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" "fmt"
"io" "io"
"math" "math"

4
go/weed/compact.go

@ -1,8 +1,8 @@
package main package main
import ( 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() { func init() {

4
go/weed/download.go

@ -1,8 +1,8 @@
package main package main
import ( 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" "fmt"
"io" "io"
"io/ioutil" "io/ioutil"

4
go/weed/export.go

@ -3,8 +3,8 @@ package main
import ( import (
"archive/tar" "archive/tar"
"bytes" "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" "fmt"
"os" "os"
"path" "path"

6
go/weed/filer.go

@ -1,9 +1,9 @@
package main package main
import ( 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" "net/http"
"os" "os"
"strconv" "strconv"

4
go/weed/fix.go

@ -1,8 +1,8 @@
package main package main
import ( 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" "os"
"path" "path"
"strconv" "strconv"

6
go/weed/master.go

@ -1,9 +1,9 @@
package main package main
import ( 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" "github.com/gorilla/mux"
"net/http" "net/http"
"os" "os"

8
go/weed/mount_std.go

@ -5,10 +5,10 @@ package main
import ( import (
"bazil.org/fuse" "bazil.org/fuse"
"bazil.org/fuse/fs" "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" "fmt"
"os" "os"
"runtime" "runtime"

6
go/weed/server.go

@ -1,9 +1,9 @@
package main package main
import ( 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" "github.com/gorilla/mux"
"net/http" "net/http"
"os" "os"

2
go/weed/shell.go

@ -2,7 +2,7 @@ package main
import ( import (
"bufio" "bufio"
"code.google.com/p/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
"fmt" "fmt"
"os" "os"
) )

2
go/weed/upload.go

@ -1,7 +1,7 @@
package main package main
import ( import (
"code.google.com/p/weed-fs/go/operation"
"github.com/chrislusf/weed-fs/go/operation"
"encoding/json" "encoding/json"
"fmt" "fmt"
"os" "os"

2
go/weed/version.go

@ -1,7 +1,7 @@
package main package main
import ( import (
"code.google.com/p/weed-fs/go/util"
"github.com/chrislusf/weed-fs/go/util"
"fmt" "fmt"
"runtime" "runtime"
) )

6
go/weed/volume.go

@ -1,9 +1,9 @@
package main package main
import ( 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" "net/http"
"os" "os"
"runtime" "runtime"

2
go/weed/volume_test.go

@ -1,7 +1,7 @@
package main package main
import ( import (
"code.google.com/p/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
"net/http" "net/http"
"testing" "testing"
"time" "time"

2
go/weed/weed.go

@ -1,7 +1,7 @@
package main package main
import ( import (
"code.google.com/p/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
"flag" "flag"
"fmt" "fmt"
"io" "io"

10
go/weed/weed_server/common.go

@ -2,11 +2,11 @@ package weed_server
import ( import (
"bytes" "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" "encoding/json"
"fmt" "fmt"
"net" "net"

4
go/weed/weed_server/filer_server.go

@ -1,8 +1,8 @@
package weed_server package weed_server
import ( 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" "net/http"
"strconv" "strconv"
) )

6
go/weed/weed_server/filer_server_handlers.go

@ -1,9 +1,9 @@
package weed_server package weed_server
import ( 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" "encoding/json"
"errors" "errors"
"github.com/syndtr/goleveldb/leveldb" "github.com/syndtr/goleveldb/leveldb"

2
go/weed/weed_server/filer_server_handlers_admin.go

@ -1,7 +1,7 @@
package weed_server package weed_server
import ( import (
"code.google.com/p/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
"net/http" "net/http"
) )

8
go/weed/weed_server/master_server.go

@ -1,10 +1,10 @@
package weed_server package weed_server
import ( 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/goraft/raft"
"github.com/gorilla/mux" "github.com/gorilla/mux"
"net/http" "net/http"

6
go/weed/weed_server/master_server_handlers.go

@ -1,9 +1,9 @@
package weed_server package weed_server
import ( 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" "net/http"
"strconv" "strconv"
"strings" "strings"

10
go/weed/weed_server/master_server_handlers_admin.go

@ -2,11 +2,11 @@ package weed_server
import ( import (
proto "code.google.com/p/goprotobuf/proto" 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" "encoding/json"
"errors" "errors"
"io/ioutil" "io/ioutil"

4
go/weed/weed_server/raft_server.go

@ -2,8 +2,8 @@ package weed_server
import ( import (
"bytes" "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" "encoding/json"
"errors" "errors"
"fmt" "fmt"

4
go/weed/weed_server/raft_server_handlers.go

@ -1,8 +1,8 @@
package weed_server package weed_server
import ( 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" "encoding/json"
"github.com/goraft/raft" "github.com/goraft/raft"
"io/ioutil" "io/ioutil"

4
go/weed/weed_server/volume_server.go

@ -1,8 +1,8 @@
package weed_server package weed_server
import ( 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" "math/rand"
"net/http" "net/http"
"strconv" "strconv"

12
go/weed/weed_server/volume_server_handlers.go

@ -1,12 +1,12 @@
package weed_server package weed_server
import ( 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" "io"
"mime" "mime"
"mime/multipart" "mime/multipart"

6
go/weed/weed_server/volume_server_handlers_admin.go

@ -1,9 +1,9 @@
package weed_server package weed_server
import ( 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" "net/http"
"path/filepath" "path/filepath"
) )

2
go/weed/weed_server/volume_server_handlers_vacuum.go

@ -1,7 +1,7 @@
package weed_server package weed_server
import ( import (
"code.google.com/p/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/glog"
"net/http" "net/http"
) )

Loading…
Cancel
Save