From 0d046a598407196c3095cc874616f1ea58ea2747 Mon Sep 17 00:00:00 2001 From: Ryszard Szopa Date: Thu, 18 Jul 2013 18:18:20 -0700 Subject: [PATCH] Replace code.google.com with github.com/youtube/vitess. --- README | 2 +- dev.env | 2 +- go/bson/bson_test.go | 2 +- go/bson/marshal.go | 2 +- go/bson/marshal_util.go | 2 +- go/bson/unmarshal_util.go | 2 +- go/bytes2/chunked_writer.go | 2 +- go/cmd/mysqlctl/mysqlctl.go | 8 ++--- go/cmd/normalizer/normalizer.go | 4 +-- go/cmd/topo2topo/plugin_zktopo.go | 2 +- go/cmd/topo2topo/topo2topo.go | 8 ++--- go/cmd/topo2topo/topo2topo_test.go | 12 +++---- go/cmd/vt_binlog_player/vt_binlog_player.go | 18 +++++----- go/cmd/vt_binlog_server/vt_binlog_server.go | 20 +++++------ go/cmd/vtaction/plugin_zktopo.go | 2 +- go/cmd/vtaction/vtaction.go | 20 +++++------ go/cmd/vtclient2/vtclient2.go | 6 ++-- go/cmd/vtctl/plugin_zktopo.go | 14 ++++---- go/cmd/vtctl/vtctl.go | 18 +++++----- go/cmd/vtctld/plugin_zktopo.go | 2 +- go/cmd/vtctld/vtctld.go | 10 +++--- go/cmd/vtocc/vtocc.go | 20 +++++------ go/cmd/vttablet/plugin_zktopo.go | 2 +- go/cmd/vttablet/vttablet.go | 34 +++++++++---------- go/cmd/zk/zkcmd.go | 4 +-- go/cmd/zkclient2/zkclient2.go | 8 ++--- go/cmd/zkctl/zkctl.go | 4 +-- go/cmd/zkns2pdns/pdns.go | 8 ++--- go/cmd/zkns2pdns/pdns_test.go | 4 +-- go/cmd/zkocc/zkocc.go | 18 +++++----- go/jscfg/jscfg.go | 2 +- go/mysql/mysql.go | 8 ++--- go/mysql/proto/bson.go | 6 ++-- go/mysql/proto/qr_bson_test.go | 4 +-- go/mysql/proto/structs.go | 2 +- go/pools/resource_pool.go | 2 +- go/pools/resource_pool_test.go | 2 +- go/rpcplus/jsonrpc/all_test.go | 2 +- go/rpcplus/jsonrpc/client.go | 2 +- go/rpcplus/jsonrpc/server.go | 2 +- go/rpcwrap/auth/authentication.go | 6 ++-- go/rpcwrap/bsonrpc/codecs.go | 8 ++--- go/rpcwrap/bsonrpc/custom_codecs.go | 6 ++-- go/rpcwrap/jsonrpc/wrapper.go | 6 ++-- go/rpcwrap/rpcwrap.go | 8 ++--- go/snitch/handler.go | 2 +- go/sqltypes/sqltypes.go | 2 +- go/streamlog/streamlog.go | 4 +-- go/timer/timer.go | 2 +- go/umgmt/client.go | 2 +- go/umgmt/http.go | 2 +- go/umgmt/server.go | 2 +- go/umgmt/umgmt_test.go | 2 +- go/umgmt/umgmtping/umgmtping.go | 2 +- go/vt/client2/sharded.go | 16 ++++----- go/vt/client2/sharded_test.go | 2 +- go/vt/client2/tablet/tclient.go | 12 +++---- go/vt/client2/tablet/vclient.go | 4 +-- go/vt/concurrency/error_recorder.go | 2 +- go/vt/concurrency/resource_constraint.go | 2 +- go/vt/dbconfigs/dbconfigs.go | 8 ++--- go/vt/hook/hook.go | 6 ++-- go/vt/mysqlctl/binlog_parser.go | 8 ++--- go/vt/mysqlctl/binlog_reader.go | 2 +- go/vt/mysqlctl/clone.go | 6 ++-- go/vt/mysqlctl/csvsplitter/csvsplitter.go | 2 +- .../mysqlctl/csvsplitter/csvsplitter_test.go | 2 +- go/vt/mysqlctl/fileutil.go | 6 ++-- go/vt/mysqlctl/mycnf_gen.go | 2 +- go/vt/mysqlctl/mycnf_test.go | 8 ++--- go/vt/mysqlctl/mysqlbinlog.go | 4 +-- go/vt/mysqlctl/mysqld.go | 10 +++--- go/vt/mysqlctl/permissions.go | 6 ++-- go/vt/mysqlctl/permissions_test.go | 4 +-- go/vt/mysqlctl/reparent.go | 2 +- go/vt/mysqlctl/replication.go | 6 ++-- go/vt/mysqlctl/schema.go | 6 ++-- go/vt/mysqlctl/split.go | 14 ++++---- go/vt/mysqlctl/updatestreamctl.go | 10 +++--- go/vt/mysqlctl/utils.go | 2 +- go/vt/schema/schema.go | 2 +- go/vt/servenv/servenv.go | 4 +-- go/vt/sqlparser/ast.go | 2 +- go/vt/sqlparser/execution.go | 6 ++-- go/vt/sqlparser/parse_test.go | 6 ++-- go/vt/sqlparser/parsed_query.go | 2 +- go/vt/sqlparser/router.go | 2 +- go/vt/sqlparser/token.go | 2 +- go/vt/tabletmanager/action.go | 10 +++--- go/vt/tabletmanager/actor.go | 14 ++++---- go/vt/tabletmanager/agent.go | 10 +++--- go/vt/tabletmanager/initiator.go | 12 +++---- go/vt/tabletmanager/rpc.go | 10 +++--- go/vt/tabletserver/active_pool.go | 8 ++--- go/vt/tabletserver/active_tx_pool.go | 12 +++---- go/vt/tabletserver/cache_pool.go | 8 ++--- go/vt/tabletserver/codex.go | 6 ++-- go/vt/tabletserver/comments.go | 2 +- go/vt/tabletserver/conn_pool.go | 2 +- go/vt/tabletserver/connection.go | 10 +++--- go/vt/tabletserver/consolidator.go | 4 +-- go/vt/tabletserver/proto/bson.go | 4 +-- go/vt/tabletserver/proto/sqlquery.go | 6 ++-- go/vt/tabletserver/proto/structs.go | 4 +-- go/vt/tabletserver/qr_test.go | 4 +-- go/vt/tabletserver/query_engine.go | 20 +++++------ go/vt/tabletserver/query_rules.go | 4 +-- go/vt/tabletserver/queryctl.go | 10 +++--- go/vt/tabletserver/reserved_pool.go | 4 +-- go/vt/tabletserver/rowcache.go | 6 ++-- go/vt/tabletserver/rowcache_invalidator.go | 14 ++++---- go/vt/tabletserver/schema_info.go | 14 ++++---- go/vt/tabletserver/sqlquery.go | 18 +++++----- go/vt/tabletserver/streamlogger.go | 8 ++--- go/vt/tabletserver/table_info.go | 8 ++--- go/vt/tabletserver/tablet_error.go | 4 +-- go/vt/topo/naming.go | 4 +-- go/vt/topo/shard.go | 4 +-- go/vt/topo/srvshard.go | 2 +- go/vt/topo/tablet.go | 8 ++--- go/vt/topo/topology_server.go | 2 +- go/vt/wrangler/clone.go | 8 ++--- go/vt/wrangler/hook.go | 6 ++-- go/vt/wrangler/permissions.go | 8 ++--- go/vt/wrangler/rebuild.go | 10 +++--- go/vt/wrangler/reparent.go | 8 ++--- go/vt/wrangler/reparent_action.go | 10 +++--- go/vt/wrangler/reparent_brutal.go | 6 ++-- go/vt/wrangler/reparent_external.go | 8 ++--- go/vt/wrangler/reparent_graceful.go | 4 +-- go/vt/wrangler/schema.go | 8 ++--- go/vt/wrangler/split.go | 8 ++--- go/vt/wrangler/topology.go | 2 +- go/vt/wrangler/utils.go | 4 +-- go/vt/wrangler/validator.go | 6 ++-- go/vt/wrangler/version.go | 6 ++-- go/vt/wrangler/wrangler.go | 8 ++--- go/vt/wrangler/zkns.go | 12 +++---- go/vt/zktopo/cell.go | 8 ++--- go/vt/zktopo/global.go | 6 ++-- go/vt/zktopo/zk_topology_server.go | 4 +-- go/zk/conn_cache.go | 2 +- go/zk/fakezk/fakezk.go | 2 +- go/zk/fakezk/fakezk_test.go | 2 +- go/zk/zkconn.go | 2 +- go/zk/zkctl/zkconf.go | 4 +-- go/zk/zkctl/zkctl.go | 4 +-- go/zk/zkns/zkns.go | 4 +-- go/zk/zkocc/cache.go | 4 +-- go/zk/zkocc/cell.go | 8 ++--- go/zk/zkocc/rpc.go | 8 ++--- go/zk/zkocc_bson.go | 4 +-- go/zk/zkocc_rpc.go | 2 +- go/zk/zkoccconn.go | 4 +-- test/goloadgen/goloadgen.go | 2 +- 155 files changed, 486 insertions(+), 486 deletions(-) diff --git a/README b/README index 457fc42b9f..a1dab3186b 100644 --- a/README +++ b/README @@ -1,6 +1,6 @@ This the source code repository for the vitess project. For documentation on how install and use vitess, -visit http://code.google.com/p/vitess/. +visit http://github.com/youtube/vitess/. Unless otherwise noted, the vitess source files are distributed under the BSD-style license found in the LICENSE file. diff --git a/dev.env b/dev.env index 2f3ab2baea..66e099b926 100644 --- a/dev.env +++ b/dev.env @@ -6,7 +6,7 @@ export VTTOP=$(pwd) export VTROOT="${VTROOT:-${VTTOP/\/src\/code.google.com\/p\/vitess/}}" # VTTOP sanity check if [[ "$VTTOP" == "${VTTOP/\/src\/code.google.com\/p\/vitess/}" ]]; then - echo "WARNING: VTTOP($VTTOP) does not contain src/code.google.com/p/vitess" + echo "WARNING: VTTOP($VTTOP) does not contain src/github.com/youtube/vitess" fi export GOTOP=$VTTOP/go export PYTOP=$VTTOP/py diff --git a/go/bson/bson_test.go b/go/bson/bson_test.go index ac2d980ed9..4619ffa9ac 100644 --- a/go/bson/bson_test.go +++ b/go/bson/bson_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "code.google.com/p/vitess/go/bytes2" + "github.com/youtube/vitess/go/bytes2" ) func TestVariety(t *testing.T) { diff --git a/go/bson/marshal.go b/go/bson/marshal.go index 0ce8a5ed23..ac4823935d 100644 --- a/go/bson/marshal.go +++ b/go/bson/marshal.go @@ -11,7 +11,7 @@ import ( "strconv" "time" - "code.google.com/p/vitess/go/bytes2" + "github.com/youtube/vitess/go/bytes2" ) var ( diff --git a/go/bson/marshal_util.go b/go/bson/marshal_util.go index 894cfc0fb4..49d45b875e 100644 --- a/go/bson/marshal_util.go +++ b/go/bson/marshal_util.go @@ -7,7 +7,7 @@ package bson import ( - "code.google.com/p/vitess/go/bytes2" + "github.com/youtube/vitess/go/bytes2" ) func EncodeStringArray(buf *bytes2.ChunkedWriter, name string, values []string) { diff --git a/go/bson/unmarshal_util.go b/go/bson/unmarshal_util.go index 88d92416bd..af53f0dc8a 100644 --- a/go/bson/unmarshal_util.go +++ b/go/bson/unmarshal_util.go @@ -12,7 +12,7 @@ import ( "strconv" "time" - "code.google.com/p/vitess/go/hack" + "github.com/youtube/vitess/go/hack" ) var ( diff --git a/go/bytes2/chunked_writer.go b/go/bytes2/chunked_writer.go index a9530d0547..183af458b3 100644 --- a/go/bytes2/chunked_writer.go +++ b/go/bytes2/chunked_writer.go @@ -8,7 +8,7 @@ package bytes2 import ( - "code.google.com/p/vitess/go/hack" + "github.com/youtube/vitess/go/hack" "fmt" "io" "unicode/utf8" diff --git a/go/cmd/mysqlctl/mysqlctl.go b/go/cmd/mysqlctl/mysqlctl.go index 79082cf218..09cc19bdff 100644 --- a/go/cmd/mysqlctl/mysqlctl.go +++ b/go/cmd/mysqlctl/mysqlctl.go @@ -11,10 +11,10 @@ import ( "os" "strings" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/dbconfigs" - "code.google.com/p/vitess/go/vt/key" - "code.google.com/p/vitess/go/vt/mysqlctl" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/dbconfigs" + "github.com/youtube/vitess/go/vt/key" + "github.com/youtube/vitess/go/vt/mysqlctl" ) var port = flag.Int("port", 6612, "vtocc port") diff --git a/go/cmd/normalizer/normalizer.go b/go/cmd/normalizer/normalizer.go index 8de7b963b3..321b2c1a63 100644 --- a/go/cmd/normalizer/normalizer.go +++ b/go/cmd/normalizer/normalizer.go @@ -15,8 +15,8 @@ import ( "strconv" "strings" - "code.google.com/p/vitess/go/bson" - "code.google.com/p/vitess/go/vt/sqlparser" + "github.com/youtube/vitess/go/bson" + "github.com/youtube/vitess/go/vt/sqlparser" ) type NormalizedQuery struct { diff --git a/go/cmd/topo2topo/plugin_zktopo.go b/go/cmd/topo2topo/plugin_zktopo.go index 96aca53ef4..77409609bc 100644 --- a/go/cmd/topo2topo/plugin_zktopo.go +++ b/go/cmd/topo2topo/plugin_zktopo.go @@ -7,5 +7,5 @@ package main // Imports and register the Zookeeper TopologyServer import ( - _ "code.google.com/p/vitess/go/vt/zktopo" + _ "github.com/youtube/vitess/go/vt/zktopo" ) diff --git a/go/cmd/topo2topo/topo2topo.go b/go/cmd/topo2topo/topo2topo.go index e3f63fd759..133a630999 100644 --- a/go/cmd/topo2topo/topo2topo.go +++ b/go/cmd/topo2topo/topo2topo.go @@ -9,10 +9,10 @@ import ( "os" "sync" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/tb" - "code.google.com/p/vitess/go/vt/concurrency" - "code.google.com/p/vitess/go/vt/topo" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/tb" + "github.com/youtube/vitess/go/vt/concurrency" + "github.com/youtube/vitess/go/vt/topo" ) var fromTopo = flag.String("from", "", "topology to copy data from") diff --git a/go/cmd/topo2topo/topo2topo_test.go b/go/cmd/topo2topo/topo2topo_test.go index 3c00582fec..0687f05b78 100644 --- a/go/cmd/topo2topo/topo2topo_test.go +++ b/go/cmd/topo2topo/topo2topo_test.go @@ -8,12 +8,12 @@ import ( "os" "testing" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/key" - "code.google.com/p/vitess/go/vt/topo" - "code.google.com/p/vitess/go/vt/zktopo" - "code.google.com/p/vitess/go/zk" - "code.google.com/p/vitess/go/zk/fakezk" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/key" + "github.com/youtube/vitess/go/vt/topo" + "github.com/youtube/vitess/go/vt/zktopo" + "github.com/youtube/vitess/go/zk" + "github.com/youtube/vitess/go/zk/fakezk" "launchpad.net/gozk/zookeeper" ) diff --git a/go/cmd/vt_binlog_player/vt_binlog_player.go b/go/cmd/vt_binlog_player/vt_binlog_player.go index 050aaa105d..3161612408 100644 --- a/go/cmd/vt_binlog_player/vt_binlog_player.go +++ b/go/cmd/vt_binlog_player/vt_binlog_player.go @@ -22,15 +22,15 @@ import ( "syscall" "time" - "code.google.com/p/vitess/go/mysql" - "code.google.com/p/vitess/go/mysql/proto" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/rpcplus" - "code.google.com/p/vitess/go/stats" - "code.google.com/p/vitess/go/umgmt" - "code.google.com/p/vitess/go/vt/key" - "code.google.com/p/vitess/go/vt/mysqlctl" - "code.google.com/p/vitess/go/vt/servenv" + "github.com/youtube/vitess/go/mysql" + "github.com/youtube/vitess/go/mysql/proto" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/rpcplus" + "github.com/youtube/vitess/go/stats" + "github.com/youtube/vitess/go/umgmt" + "github.com/youtube/vitess/go/vt/key" + "github.com/youtube/vitess/go/vt/mysqlctl" + "github.com/youtube/vitess/go/vt/servenv" ) var stdout *bufio.Writer diff --git a/go/cmd/vt_binlog_server/vt_binlog_server.go b/go/cmd/vt_binlog_server/vt_binlog_server.go index 4f79dfa323..6a1c3edcab 100644 --- a/go/cmd/vt_binlog_server/vt_binlog_server.go +++ b/go/cmd/vt_binlog_server/vt_binlog_server.go @@ -20,16 +20,16 @@ import ( "syscall" "time" - "code.google.com/p/vitess/go/relog" - rpc "code.google.com/p/vitess/go/rpcplus" - "code.google.com/p/vitess/go/rpcwrap" - "code.google.com/p/vitess/go/rpcwrap/bsonrpc" - _ "code.google.com/p/vitess/go/snitch" - "code.google.com/p/vitess/go/stats" - "code.google.com/p/vitess/go/umgmt" - "code.google.com/p/vitess/go/vt/key" - "code.google.com/p/vitess/go/vt/mysqlctl" - "code.google.com/p/vitess/go/vt/servenv" + "github.com/youtube/vitess/go/relog" + rpc "github.com/youtube/vitess/go/rpcplus" + "github.com/youtube/vitess/go/rpcwrap" + "github.com/youtube/vitess/go/rpcwrap/bsonrpc" + _ "github.com/youtube/vitess/go/snitch" + "github.com/youtube/vitess/go/stats" + "github.com/youtube/vitess/go/umgmt" + "github.com/youtube/vitess/go/vt/key" + "github.com/youtube/vitess/go/vt/mysqlctl" + "github.com/youtube/vitess/go/vt/servenv" ) var ( diff --git a/go/cmd/vtaction/plugin_zktopo.go b/go/cmd/vtaction/plugin_zktopo.go index 96aca53ef4..77409609bc 100644 --- a/go/cmd/vtaction/plugin_zktopo.go +++ b/go/cmd/vtaction/plugin_zktopo.go @@ -7,5 +7,5 @@ package main // Imports and register the Zookeeper TopologyServer import ( - _ "code.google.com/p/vitess/go/vt/zktopo" + _ "github.com/youtube/vitess/go/vt/zktopo" ) diff --git a/go/cmd/vtaction/vtaction.go b/go/cmd/vtaction/vtaction.go index e9f9ff85e7..0c106e46d7 100644 --- a/go/cmd/vtaction/vtaction.go +++ b/go/cmd/vtaction/vtaction.go @@ -12,17 +12,17 @@ import ( _ "net/http/pprof" "os" - "code.google.com/p/vitess/go/jscfg" - "code.google.com/p/vitess/go/relog" - rpc "code.google.com/p/vitess/go/rpcplus" - "code.google.com/p/vitess/go/rpcwrap/bsonrpc" - "code.google.com/p/vitess/go/rpcwrap/jsonrpc" - _ "code.google.com/p/vitess/go/snitch" + "github.com/youtube/vitess/go/jscfg" + "github.com/youtube/vitess/go/relog" + rpc "github.com/youtube/vitess/go/rpcplus" + "github.com/youtube/vitess/go/rpcwrap/bsonrpc" + "github.com/youtube/vitess/go/rpcwrap/jsonrpc" + _ "github.com/youtube/vitess/go/snitch" - "code.google.com/p/vitess/go/vt/dbconfigs" - "code.google.com/p/vitess/go/vt/mysqlctl" - "code.google.com/p/vitess/go/vt/tabletmanager" - "code.google.com/p/vitess/go/vt/topo" + "github.com/youtube/vitess/go/vt/dbconfigs" + "github.com/youtube/vitess/go/vt/mysqlctl" + "github.com/youtube/vitess/go/vt/tabletmanager" + "github.com/youtube/vitess/go/vt/topo" ) var port = flag.Int("port", 0, "port for debug http server") diff --git a/go/cmd/vtclient2/vtclient2.go b/go/cmd/vtclient2/vtclient2.go index 40039b31f3..c156181d97 100644 --- a/go/cmd/vtclient2/vtclient2.go +++ b/go/cmd/vtclient2/vtclient2.go @@ -13,9 +13,9 @@ import ( "strings" "time" - "code.google.com/p/vitess/go/db" - _ "code.google.com/p/vitess/go/vt/client2" - _ "code.google.com/p/vitess/go/vt/client2/tablet" + "github.com/youtube/vitess/go/db" + _ "github.com/youtube/vitess/go/vt/client2" + _ "github.com/youtube/vitess/go/vt/client2/tablet" ) var usage = ` diff --git a/go/cmd/vtctl/plugin_zktopo.go b/go/cmd/vtctl/plugin_zktopo.go index 5fde540b97..cb2d01fa5b 100644 --- a/go/cmd/vtctl/plugin_zktopo.go +++ b/go/cmd/vtctl/plugin_zktopo.go @@ -15,13 +15,13 @@ import ( "sync" "time" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/sync2" - tm "code.google.com/p/vitess/go/vt/tabletmanager" - "code.google.com/p/vitess/go/vt/topo" - "code.google.com/p/vitess/go/vt/wrangler" - "code.google.com/p/vitess/go/vt/zktopo" - "code.google.com/p/vitess/go/zk" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/sync2" + tm "github.com/youtube/vitess/go/vt/tabletmanager" + "github.com/youtube/vitess/go/vt/topo" + "github.com/youtube/vitess/go/vt/wrangler" + "github.com/youtube/vitess/go/vt/zktopo" + "github.com/youtube/vitess/go/zk" "launchpad.net/gozk/zookeeper" ) diff --git a/go/cmd/vtctl/vtctl.go b/go/cmd/vtctl/vtctl.go index 1a730c32d8..6ecbf2ca82 100644 --- a/go/cmd/vtctl/vtctl.go +++ b/go/cmd/vtctl/vtctl.go @@ -18,15 +18,15 @@ import ( "syscall" "time" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/tb" - "code.google.com/p/vitess/go/vt/client2" - hk "code.google.com/p/vitess/go/vt/hook" - "code.google.com/p/vitess/go/vt/key" - "code.google.com/p/vitess/go/vt/mysqlctl" - tm "code.google.com/p/vitess/go/vt/tabletmanager" - "code.google.com/p/vitess/go/vt/topo" - "code.google.com/p/vitess/go/vt/wrangler" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/tb" + "github.com/youtube/vitess/go/vt/client2" + hk "github.com/youtube/vitess/go/vt/hook" + "github.com/youtube/vitess/go/vt/key" + "github.com/youtube/vitess/go/vt/mysqlctl" + tm "github.com/youtube/vitess/go/vt/tabletmanager" + "github.com/youtube/vitess/go/vt/topo" + "github.com/youtube/vitess/go/vt/wrangler" ) var noWaitForAction = flag.Bool("no-wait", false, "don't wait for action completion, detach") diff --git a/go/cmd/vtctld/plugin_zktopo.go b/go/cmd/vtctld/plugin_zktopo.go index 96aca53ef4..77409609bc 100644 --- a/go/cmd/vtctld/plugin_zktopo.go +++ b/go/cmd/vtctld/plugin_zktopo.go @@ -7,5 +7,5 @@ package main // Imports and register the Zookeeper TopologyServer import ( - _ "code.google.com/p/vitess/go/vt/zktopo" + _ "github.com/youtube/vitess/go/vt/zktopo" ) diff --git a/go/cmd/vtctld/vtctld.go b/go/cmd/vtctld/vtctld.go index 6973eaf847..ac8b9e45e8 100644 --- a/go/cmd/vtctld/vtctld.go +++ b/go/cmd/vtctld/vtctld.go @@ -14,11 +14,11 @@ import ( "strings" "time" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/topo" - "code.google.com/p/vitess/go/vt/wrangler" - "code.google.com/p/vitess/go/vt/zktopo" // FIXME(alainjobart) to be removed - "code.google.com/p/vitess/go/zk" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/topo" + "github.com/youtube/vitess/go/vt/wrangler" + "github.com/youtube/vitess/go/vt/zktopo" // FIXME(alainjobart) to be removed + "github.com/youtube/vitess/go/zk" ) var ( diff --git a/go/cmd/vtocc/vtocc.go b/go/cmd/vtocc/vtocc.go index c5a3b86159..7780d1c777 100644 --- a/go/cmd/vtocc/vtocc.go +++ b/go/cmd/vtocc/vtocc.go @@ -14,16 +14,16 @@ import ( "os/signal" "syscall" - "code.google.com/p/vitess/go/relog" - rpc "code.google.com/p/vitess/go/rpcplus" - "code.google.com/p/vitess/go/rpcwrap/auth" - "code.google.com/p/vitess/go/rpcwrap/bsonrpc" - "code.google.com/p/vitess/go/rpcwrap/jsonrpc" - _ "code.google.com/p/vitess/go/snitch" - "code.google.com/p/vitess/go/umgmt" - "code.google.com/p/vitess/go/vt/dbconfigs" - "code.google.com/p/vitess/go/vt/servenv" - ts "code.google.com/p/vitess/go/vt/tabletserver" + "github.com/youtube/vitess/go/relog" + rpc "github.com/youtube/vitess/go/rpcplus" + "github.com/youtube/vitess/go/rpcwrap/auth" + "github.com/youtube/vitess/go/rpcwrap/bsonrpc" + "github.com/youtube/vitess/go/rpcwrap/jsonrpc" + _ "github.com/youtube/vitess/go/snitch" + "github.com/youtube/vitess/go/umgmt" + "github.com/youtube/vitess/go/vt/dbconfigs" + "github.com/youtube/vitess/go/vt/servenv" + ts "github.com/youtube/vitess/go/vt/tabletserver" ) const ( diff --git a/go/cmd/vttablet/plugin_zktopo.go b/go/cmd/vttablet/plugin_zktopo.go index 96aca53ef4..77409609bc 100644 --- a/go/cmd/vttablet/plugin_zktopo.go +++ b/go/cmd/vttablet/plugin_zktopo.go @@ -7,5 +7,5 @@ package main // Imports and register the Zookeeper TopologyServer import ( - _ "code.google.com/p/vitess/go/vt/zktopo" + _ "github.com/youtube/vitess/go/vt/zktopo" ) diff --git a/go/cmd/vttablet/vttablet.go b/go/cmd/vttablet/vttablet.go index 760248a3eb..3aecdeb7ff 100644 --- a/go/cmd/vttablet/vttablet.go +++ b/go/cmd/vttablet/vttablet.go @@ -21,23 +21,23 @@ import ( "syscall" "time" - "code.google.com/p/vitess/go/cgzip" - "code.google.com/p/vitess/go/jscfg" - "code.google.com/p/vitess/go/relog" - rpc "code.google.com/p/vitess/go/rpcplus" - "code.google.com/p/vitess/go/rpcwrap/auth" - "code.google.com/p/vitess/go/rpcwrap/bsonrpc" - "code.google.com/p/vitess/go/rpcwrap/jsonrpc" - _ "code.google.com/p/vitess/go/snitch" - "code.google.com/p/vitess/go/umgmt" - "code.google.com/p/vitess/go/vt/dbconfigs" - vtenv "code.google.com/p/vitess/go/vt/env" - "code.google.com/p/vitess/go/vt/mysqlctl" - "code.google.com/p/vitess/go/vt/servenv" - "code.google.com/p/vitess/go/vt/sqlparser" - tm "code.google.com/p/vitess/go/vt/tabletmanager" - ts "code.google.com/p/vitess/go/vt/tabletserver" - "code.google.com/p/vitess/go/vt/topo" + "github.com/youtube/vitess/go/cgzip" + "github.com/youtube/vitess/go/jscfg" + "github.com/youtube/vitess/go/relog" + rpc "github.com/youtube/vitess/go/rpcplus" + "github.com/youtube/vitess/go/rpcwrap/auth" + "github.com/youtube/vitess/go/rpcwrap/bsonrpc" + "github.com/youtube/vitess/go/rpcwrap/jsonrpc" + _ "github.com/youtube/vitess/go/snitch" + "github.com/youtube/vitess/go/umgmt" + "github.com/youtube/vitess/go/vt/dbconfigs" + vtenv "github.com/youtube/vitess/go/vt/env" + "github.com/youtube/vitess/go/vt/mysqlctl" + "github.com/youtube/vitess/go/vt/servenv" + "github.com/youtube/vitess/go/vt/sqlparser" + tm "github.com/youtube/vitess/go/vt/tabletmanager" + ts "github.com/youtube/vitess/go/vt/tabletserver" + "github.com/youtube/vitess/go/vt/topo" ) const ( diff --git a/go/cmd/zk/zkcmd.go b/go/cmd/zk/zkcmd.go index 0d7e6be363..053cb16ac9 100644 --- a/go/cmd/zk/zkcmd.go +++ b/go/cmd/zk/zkcmd.go @@ -16,8 +16,8 @@ import ( "time" opts "code.google.com/p/opts-go" - "code.google.com/p/vitess/go/terminal" - "code.google.com/p/vitess/go/zk" + "github.com/youtube/vitess/go/terminal" + "github.com/youtube/vitess/go/zk" "launchpad.net/gozk/zookeeper" ) diff --git a/go/cmd/zkclient2/zkclient2.go b/go/cmd/zkclient2/zkclient2.go index 55ff6163ee..dec2516085 100644 --- a/go/cmd/zkclient2/zkclient2.go +++ b/go/cmd/zkclient2/zkclient2.go @@ -11,10 +11,10 @@ import ( "os" "time" - "code.google.com/p/vitess/go/rpcplus" - "code.google.com/p/vitess/go/rpcwrap/bsonrpc" - "code.google.com/p/vitess/go/sync2" - "code.google.com/p/vitess/go/zk" + "github.com/youtube/vitess/go/rpcplus" + "github.com/youtube/vitess/go/rpcwrap/bsonrpc" + "github.com/youtube/vitess/go/sync2" + "github.com/youtube/vitess/go/zk" ) var usage = ` diff --git a/go/cmd/zkctl/zkctl.go b/go/cmd/zkctl/zkctl.go index 6e05ee8f03..550a342c41 100644 --- a/go/cmd/zkctl/zkctl.go +++ b/go/cmd/zkctl/zkctl.go @@ -12,8 +12,8 @@ import ( "os" "strings" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/zk/zkctl" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/zk/zkctl" ) var usage = ` diff --git a/go/cmd/zkns2pdns/pdns.go b/go/cmd/zkns2pdns/pdns.go index b66f490852..4269c3fe4a 100644 --- a/go/cmd/zkns2pdns/pdns.go +++ b/go/cmd/zkns2pdns/pdns.go @@ -22,10 +22,10 @@ import ( "path" "strings" - "code.google.com/p/vitess/go/netutil" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/zk" - "code.google.com/p/vitess/go/zk/zkns" + "github.com/youtube/vitess/go/netutil" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/zk" + "github.com/youtube/vitess/go/zk/zkns" ) var ( diff --git a/go/cmd/zkns2pdns/pdns_test.go b/go/cmd/zkns2pdns/pdns_test.go index 6af817983b..c0a817daf7 100644 --- a/go/cmd/zkns2pdns/pdns_test.go +++ b/go/cmd/zkns2pdns/pdns_test.go @@ -6,8 +6,8 @@ import ( "os" "testing" - "code.google.com/p/vitess/go/netutil" - "code.google.com/p/vitess/go/zk" + "github.com/youtube/vitess/go/netutil" + "github.com/youtube/vitess/go/zk" "launchpad.net/gozk/zookeeper" ) diff --git a/go/cmd/zkocc/zkocc.go b/go/cmd/zkocc/zkocc.go index fec5c084ab..3323fac1c6 100644 --- a/go/cmd/zkocc/zkocc.go +++ b/go/cmd/zkocc/zkocc.go @@ -10,15 +10,15 @@ import ( _ "net/http/pprof" "os" - "code.google.com/p/vitess/go/relog" - rpc "code.google.com/p/vitess/go/rpcplus" - "code.google.com/p/vitess/go/rpcwrap/bsonrpc" - "code.google.com/p/vitess/go/rpcwrap/jsonrpc" - _ "code.google.com/p/vitess/go/snitch" - "code.google.com/p/vitess/go/umgmt" - "code.google.com/p/vitess/go/vt/servenv" - "code.google.com/p/vitess/go/zk" - "code.google.com/p/vitess/go/zk/zkocc" + "github.com/youtube/vitess/go/relog" + rpc "github.com/youtube/vitess/go/rpcplus" + "github.com/youtube/vitess/go/rpcwrap/bsonrpc" + "github.com/youtube/vitess/go/rpcwrap/jsonrpc" + _ "github.com/youtube/vitess/go/snitch" + "github.com/youtube/vitess/go/umgmt" + "github.com/youtube/vitess/go/vt/servenv" + "github.com/youtube/vitess/go/zk" + "github.com/youtube/vitess/go/zk/zkocc" ) const ( diff --git a/go/jscfg/jscfg.go b/go/jscfg/jscfg.go index 1408fe0f1a..97df3a236b 100644 --- a/go/jscfg/jscfg.go +++ b/go/jscfg/jscfg.go @@ -12,7 +12,7 @@ import ( "fmt" "io/ioutil" - "code.google.com/p/vitess/go/ioutil2" + "github.com/youtube/vitess/go/ioutil2" ) func ToJson(val interface{}) string { diff --git a/go/mysql/mysql.go b/go/mysql/mysql.go index daccf50765..85d51930c6 100644 --- a/go/mysql/mysql.go +++ b/go/mysql/mysql.go @@ -15,10 +15,10 @@ import ( "fmt" "unsafe" - "code.google.com/p/vitess/go/hack" - "code.google.com/p/vitess/go/mysql/proto" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/sqltypes" + "github.com/youtube/vitess/go/hack" + "github.com/youtube/vitess/go/mysql/proto" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/sqltypes" ) const ( diff --git a/go/mysql/proto/bson.go b/go/mysql/proto/bson.go index fd92b750c5..38a375ad73 100644 --- a/go/mysql/proto/bson.go +++ b/go/mysql/proto/bson.go @@ -7,9 +7,9 @@ package proto import ( "bytes" - "code.google.com/p/vitess/go/bson" - "code.google.com/p/vitess/go/bytes2" - "code.google.com/p/vitess/go/sqltypes" + "github.com/youtube/vitess/go/bson" + "github.com/youtube/vitess/go/bytes2" + "github.com/youtube/vitess/go/sqltypes" ) func MarshalFieldBson(field Field, buf *bytes2.ChunkedWriter) { diff --git a/go/mysql/proto/qr_bson_test.go b/go/mysql/proto/qr_bson_test.go index a58ecd5e2d..f04a46c259 100644 --- a/go/mysql/proto/qr_bson_test.go +++ b/go/mysql/proto/qr_bson_test.go @@ -7,8 +7,8 @@ package proto import ( "testing" - "code.google.com/p/vitess/go/bson" - "code.google.com/p/vitess/go/sqltypes" + "github.com/youtube/vitess/go/bson" + "github.com/youtube/vitess/go/sqltypes" ) type TestCase struct { diff --git a/go/mysql/proto/structs.go b/go/mysql/proto/structs.go index d4098b2e36..81545f5bd3 100644 --- a/go/mysql/proto/structs.go +++ b/go/mysql/proto/structs.go @@ -5,7 +5,7 @@ package proto import ( - "code.google.com/p/vitess/go/sqltypes" + "github.com/youtube/vitess/go/sqltypes" ) type Field struct { diff --git a/go/pools/resource_pool.go b/go/pools/resource_pool.go index 8fa2bec5dc..983a4316c6 100644 --- a/go/pools/resource_pool.go +++ b/go/pools/resource_pool.go @@ -10,7 +10,7 @@ import ( "fmt" "time" - "code.google.com/p/vitess/go/sync2" + "github.com/youtube/vitess/go/sync2" ) var ( diff --git a/go/pools/resource_pool_test.go b/go/pools/resource_pool_test.go index 4ebcf48257..9a01bbfa10 100644 --- a/go/pools/resource_pool_test.go +++ b/go/pools/resource_pool_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "code.google.com/p/vitess/go/sync2" + "github.com/youtube/vitess/go/sync2" ) var lastId, count sync2.AtomicInt64 diff --git a/go/rpcplus/jsonrpc/all_test.go b/go/rpcplus/jsonrpc/all_test.go index 2facadc71b..5ac4dd659a 100644 --- a/go/rpcplus/jsonrpc/all_test.go +++ b/go/rpcplus/jsonrpc/all_test.go @@ -5,7 +5,7 @@ package jsonrpc import ( - "code.google.com/p/vitess/go/rpcplus" + "github.com/youtube/vitess/go/rpcplus" "encoding/json" "errors" "fmt" diff --git a/go/rpcplus/jsonrpc/client.go b/go/rpcplus/jsonrpc/client.go index a44ff3473e..7bd3821ceb 100644 --- a/go/rpcplus/jsonrpc/client.go +++ b/go/rpcplus/jsonrpc/client.go @@ -13,7 +13,7 @@ import ( "net" "sync" - rpc "code.google.com/p/vitess/go/rpcplus" + rpc "github.com/youtube/vitess/go/rpcplus" ) type clientCodec struct { diff --git a/go/rpcplus/jsonrpc/server.go b/go/rpcplus/jsonrpc/server.go index 7e22b6f838..783f9b6883 100644 --- a/go/rpcplus/jsonrpc/server.go +++ b/go/rpcplus/jsonrpc/server.go @@ -10,7 +10,7 @@ import ( "io" "sync" - rpc "code.google.com/p/vitess/go/rpcplus" + rpc "github.com/youtube/vitess/go/rpcplus" ) type serverCodec struct { diff --git a/go/rpcwrap/auth/authentication.go b/go/rpcwrap/auth/authentication.go index ae1102265b..a8bfd8c95d 100644 --- a/go/rpcwrap/auth/authentication.go +++ b/go/rpcwrap/auth/authentication.go @@ -7,9 +7,9 @@ import ( "io/ioutil" "strings" - "code.google.com/p/vitess/go/relog" - rpc "code.google.com/p/vitess/go/rpcplus" - "code.google.com/p/vitess/go/rpcwrap/proto" + "github.com/youtube/vitess/go/relog" + rpc "github.com/youtube/vitess/go/rpcplus" + "github.com/youtube/vitess/go/rpcwrap/proto" ) // UnusedArgument is a type used to indicate an argument that is diff --git a/go/rpcwrap/bsonrpc/codecs.go b/go/rpcwrap/bsonrpc/codecs.go index a4c39df877..c9c0e75daa 100644 --- a/go/rpcwrap/bsonrpc/codecs.go +++ b/go/rpcwrap/bsonrpc/codecs.go @@ -8,10 +8,10 @@ import ( "io" "time" - "code.google.com/p/vitess/go/bson" - "code.google.com/p/vitess/go/bytes2" - rpc "code.google.com/p/vitess/go/rpcplus" - "code.google.com/p/vitess/go/rpcwrap" + "github.com/youtube/vitess/go/bson" + "github.com/youtube/vitess/go/bytes2" + rpc "github.com/youtube/vitess/go/rpcplus" + "github.com/youtube/vitess/go/rpcwrap" ) const ( diff --git a/go/rpcwrap/bsonrpc/custom_codecs.go b/go/rpcwrap/bsonrpc/custom_codecs.go index 9f07a3d564..457aff34cf 100644 --- a/go/rpcwrap/bsonrpc/custom_codecs.go +++ b/go/rpcwrap/bsonrpc/custom_codecs.go @@ -6,9 +6,9 @@ package bsonrpc import ( "bytes" - "code.google.com/p/vitess/go/bson" - "code.google.com/p/vitess/go/bytes2" - rpc "code.google.com/p/vitess/go/rpcplus" + "github.com/youtube/vitess/go/bson" + "github.com/youtube/vitess/go/bytes2" + rpc "github.com/youtube/vitess/go/rpcplus" ) type RequestBson struct { diff --git a/go/rpcwrap/jsonrpc/wrapper.go b/go/rpcwrap/jsonrpc/wrapper.go index b36dcf23d4..c24737132e 100644 --- a/go/rpcwrap/jsonrpc/wrapper.go +++ b/go/rpcwrap/jsonrpc/wrapper.go @@ -7,9 +7,9 @@ package jsonrpc import ( "time" - rpc "code.google.com/p/vitess/go/rpcplus" - oldjson "code.google.com/p/vitess/go/rpcplus/jsonrpc" - "code.google.com/p/vitess/go/rpcwrap" + rpc "github.com/youtube/vitess/go/rpcplus" + oldjson "github.com/youtube/vitess/go/rpcplus/jsonrpc" + "github.com/youtube/vitess/go/rpcwrap" ) func DialHTTP(network, address string, connectTimeout time.Duration) (*rpc.Client, error) { diff --git a/go/rpcwrap/rpcwrap.go b/go/rpcwrap/rpcwrap.go index 85664fd68e..74b555fb8a 100644 --- a/go/rpcwrap/rpcwrap.go +++ b/go/rpcwrap/rpcwrap.go @@ -12,10 +12,10 @@ import ( "net/http" "time" - "code.google.com/p/vitess/go/relog" - rpc "code.google.com/p/vitess/go/rpcplus" - "code.google.com/p/vitess/go/rpcwrap/auth" - "code.google.com/p/vitess/go/rpcwrap/proto" + "github.com/youtube/vitess/go/relog" + rpc "github.com/youtube/vitess/go/rpcplus" + "github.com/youtube/vitess/go/rpcwrap/auth" + "github.com/youtube/vitess/go/rpcwrap/proto" ) const ( diff --git a/go/snitch/handler.go b/go/snitch/handler.go index 25f65d1c8a..2e4722ea05 100644 --- a/go/snitch/handler.go +++ b/go/snitch/handler.go @@ -5,7 +5,7 @@ package snitch import ( - "code.google.com/p/vitess/go/relog" + "github.com/youtube/vitess/go/relog" "fmt" "net/http" "runtime" diff --git a/go/sqltypes/sqltypes.go b/go/sqltypes/sqltypes.go index ad2ad272f6..5988b44357 100644 --- a/go/sqltypes/sqltypes.go +++ b/go/sqltypes/sqltypes.go @@ -13,7 +13,7 @@ import ( "strconv" "time" - "code.google.com/p/vitess/go/hack" + "github.com/youtube/vitess/go/hack" ) var ( diff --git a/go/streamlog/streamlog.go b/go/streamlog/streamlog.go index 256f3f4aa6..9127ec2362 100644 --- a/go/streamlog/streamlog.go +++ b/go/streamlog/streamlog.go @@ -7,8 +7,8 @@ import ( "net/url" "sync" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/sync2" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/sync2" ) var droppedMessages = expvar.NewMap("streamlog-dropped-messages") diff --git a/go/timer/timer.go b/go/timer/timer.go index 7e04e52fef..3325bdc8de 100644 --- a/go/timer/timer.go +++ b/go/timer/timer.go @@ -30,7 +30,7 @@ import ( "sync" "time" - "code.google.com/p/vitess/go/sync2" + "github.com/youtube/vitess/go/sync2" ) // Out-of-band messages diff --git a/go/umgmt/client.go b/go/umgmt/client.go index f40b764d1c..995057c080 100644 --- a/go/umgmt/client.go +++ b/go/umgmt/client.go @@ -9,7 +9,7 @@ import ( "net" "net/rpc" - "code.google.com/p/vitess/go/relog" + "github.com/youtube/vitess/go/relog" ) type Client struct { diff --git a/go/umgmt/http.go b/go/umgmt/http.go index 2f4efb7ff5..f360d6b669 100644 --- a/go/umgmt/http.go +++ b/go/umgmt/http.go @@ -14,7 +14,7 @@ import ( "strings" "sync" - "code.google.com/p/vitess/go/relog" + "github.com/youtube/vitess/go/relog" ) var connectionCount = expvar.NewInt("connection-count") diff --git a/go/umgmt/server.go b/go/umgmt/server.go index 6e794f3f4b..a6fe23c954 100644 --- a/go/umgmt/server.go +++ b/go/umgmt/server.go @@ -26,7 +26,7 @@ import ( "syscall" "time" - "code.google.com/p/vitess/go/relog" + "github.com/youtube/vitess/go/relog" ) type Request struct{} diff --git a/go/umgmt/umgmt_test.go b/go/umgmt/umgmt_test.go index a5f7110890..080d505f99 100644 --- a/go/umgmt/umgmt_test.go +++ b/go/umgmt/umgmt_test.go @@ -7,7 +7,7 @@ package umgmt import ( "testing" - "code.google.com/p/vitess/go/relog" + "github.com/youtube/vitess/go/relog" ) var ready = make(chan bool) diff --git a/go/umgmt/umgmtping/umgmtping.go b/go/umgmt/umgmtping/umgmtping.go index 616774b2d5..4dbf15cefc 100644 --- a/go/umgmt/umgmtping/umgmtping.go +++ b/go/umgmt/umgmtping/umgmtping.go @@ -1,7 +1,7 @@ package main import ( - "code.google.com/p/vitess/go/umgmt" + "github.com/youtube/vitess/go/umgmt" "flag" ) diff --git a/go/vt/client2/sharded.go b/go/vt/client2/sharded.go index 6f9977de37..c23dc1ab0e 100644 --- a/go/vt/client2/sharded.go +++ b/go/vt/client2/sharded.go @@ -11,18 +11,18 @@ import ( "sync" "time" - "code.google.com/p/vitess/go/db" + "github.com/youtube/vitess/go/db" // FIXME(msolomon) needed for the field mapping. Probably should be part of // tablet, or moved. - mproto "code.google.com/p/vitess/go/mysql/proto" - "code.google.com/p/vitess/go/vt/client2/tablet" - "code.google.com/p/vitess/go/vt/key" + mproto "github.com/youtube/vitess/go/mysql/proto" + "github.com/youtube/vitess/go/vt/client2/tablet" + "github.com/youtube/vitess/go/vt/key" // FIXME(msolomon) zk indirect dependency - "code.google.com/p/vitess/go/vt/topo" + "github.com/youtube/vitess/go/vt/topo" // FIXME(msolomon) seems like a subpackage - "code.google.com/p/vitess/go/vt/sqlparser" - "code.google.com/p/vitess/go/vt/zktopo" - "code.google.com/p/vitess/go/zk" + "github.com/youtube/vitess/go/vt/sqlparser" + "github.com/youtube/vitess/go/vt/zktopo" + "github.com/youtube/vitess/go/zk" ) // The sharded client handles writing to multiple shards across the diff --git a/go/vt/client2/sharded_test.go b/go/vt/client2/sharded_test.go index b98cdfca28..a2a0c9bc09 100644 --- a/go/vt/client2/sharded_test.go +++ b/go/vt/client2/sharded_test.go @@ -10,7 +10,7 @@ package client2 // "testing" // _ "time" -// _ "code.google.com/p/vitess/go/zk" +// _ "github.com/youtube/vitess/go/zk" // ) // // This is more of an example code than a real test diff --git a/go/vt/client2/tablet/tclient.go b/go/vt/client2/tablet/tclient.go index 9389d5a4d1..bf95c442b0 100644 --- a/go/vt/client2/tablet/tclient.go +++ b/go/vt/client2/tablet/tclient.go @@ -15,12 +15,12 @@ import ( "net/url" "strings" - "code.google.com/p/vitess/go/db" - mproto "code.google.com/p/vitess/go/mysql/proto" - "code.google.com/p/vitess/go/rpcplus" - "code.google.com/p/vitess/go/rpcwrap/bsonrpc" - "code.google.com/p/vitess/go/sqltypes" - tproto "code.google.com/p/vitess/go/vt/tabletserver/proto" + "github.com/youtube/vitess/go/db" + mproto "github.com/youtube/vitess/go/mysql/proto" + "github.com/youtube/vitess/go/rpcplus" + "github.com/youtube/vitess/go/rpcwrap/bsonrpc" + "github.com/youtube/vitess/go/sqltypes" + tproto "github.com/youtube/vitess/go/vt/tabletserver/proto" ) var ( diff --git a/go/vt/client2/tablet/vclient.go b/go/vt/client2/tablet/vclient.go index 694bb3bae9..77a011ce29 100644 --- a/go/vt/client2/tablet/vclient.go +++ b/go/vt/client2/tablet/vclient.go @@ -12,8 +12,8 @@ import ( "strings" "time" - "code.google.com/p/vitess/go/db" - "code.google.com/p/vitess/go/relog" + "github.com/youtube/vitess/go/db" + "github.com/youtube/vitess/go/relog" ) const ( diff --git a/go/vt/concurrency/error_recorder.go b/go/vt/concurrency/error_recorder.go index 07c7594912..c68ed6c16f 100644 --- a/go/vt/concurrency/error_recorder.go +++ b/go/vt/concurrency/error_recorder.go @@ -9,7 +9,7 @@ import ( "strings" "sync" - "code.google.com/p/vitess/go/relog" + "github.com/youtube/vitess/go/relog" ) // ErrorRecorder offers a way to record errors during complex diff --git a/go/vt/concurrency/resource_constraint.go b/go/vt/concurrency/resource_constraint.go index 7e5a5e67b4..915363a62a 100644 --- a/go/vt/concurrency/resource_constraint.go +++ b/go/vt/concurrency/resource_constraint.go @@ -8,7 +8,7 @@ import ( "fmt" "sync" - "code.google.com/p/vitess/go/sync2" + "github.com/youtube/vitess/go/sync2" ) // ResourceConstraint combines 3 different features: diff --git a/go/vt/dbconfigs/dbconfigs.go b/go/vt/dbconfigs/dbconfigs.go index 199a1b825a..821227ac31 100644 --- a/go/vt/dbconfigs/dbconfigs.go +++ b/go/vt/dbconfigs/dbconfigs.go @@ -10,10 +10,10 @@ import ( "encoding/json" "flag" - "code.google.com/p/vitess/go/jscfg" - "code.google.com/p/vitess/go/mysql" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/key" + "github.com/youtube/vitess/go/jscfg" + "github.com/youtube/vitess/go/mysql" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/key" ) // Offer a sample config - probably should load this when file isn't set. diff --git a/go/vt/hook/hook.go b/go/vt/hook/hook.go index fbe6f4f216..617cecb68d 100644 --- a/go/vt/hook/hook.go +++ b/go/vt/hook/hook.go @@ -13,9 +13,9 @@ import ( "strings" "syscall" - "code.google.com/p/vitess/go/jscfg" - "code.google.com/p/vitess/go/relog" - vtenv "code.google.com/p/vitess/go/vt/env" + "github.com/youtube/vitess/go/jscfg" + "github.com/youtube/vitess/go/relog" + vtenv "github.com/youtube/vitess/go/vt/env" ) type Hook struct { diff --git a/go/vt/mysqlctl/binlog_parser.go b/go/vt/mysqlctl/binlog_parser.go index 31c3c019e8..375c879ce0 100644 --- a/go/vt/mysqlctl/binlog_parser.go +++ b/go/vt/mysqlctl/binlog_parser.go @@ -16,10 +16,10 @@ import ( "strings" "time" - "code.google.com/p/vitess/go/bson" - "code.google.com/p/vitess/go/bytes2" - "code.google.com/p/vitess/go/relog" - parser "code.google.com/p/vitess/go/vt/sqlparser" + "github.com/youtube/vitess/go/bson" + "github.com/youtube/vitess/go/bytes2" + "github.com/youtube/vitess/go/relog" + parser "github.com/youtube/vitess/go/vt/sqlparser" ) /* diff --git a/go/vt/mysqlctl/binlog_reader.go b/go/vt/mysqlctl/binlog_reader.go index a338e4024a..980fc9c1cd 100644 --- a/go/vt/mysqlctl/binlog_reader.go +++ b/go/vt/mysqlctl/binlog_reader.go @@ -11,7 +11,7 @@ condition is if EOF is reached *and* the next file has appeared. */ import ( - "code.google.com/p/vitess/go/relog" + "github.com/youtube/vitess/go/relog" "encoding/binary" "fmt" "io" diff --git a/go/vt/mysqlctl/clone.go b/go/vt/mysqlctl/clone.go index 04ed3885c2..08128f778e 100644 --- a/go/vt/mysqlctl/clone.go +++ b/go/vt/mysqlctl/clone.go @@ -14,9 +14,9 @@ import ( "path/filepath" "strings" - "code.google.com/p/vitess/go/ioutil2" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/hook" + "github.com/youtube/vitess/go/ioutil2" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/hook" ) // These methods deal with cloning a running instance of mysql. diff --git a/go/vt/mysqlctl/csvsplitter/csvsplitter.go b/go/vt/mysqlctl/csvsplitter/csvsplitter.go index b9e0d03855..a53cab5741 100644 --- a/go/vt/mysqlctl/csvsplitter/csvsplitter.go +++ b/go/vt/mysqlctl/csvsplitter/csvsplitter.go @@ -6,7 +6,7 @@ import ( "io" "strconv" - "code.google.com/p/vitess/go/vt/key" + "github.com/youtube/vitess/go/vt/key" ) type KeyspaceCSVReader struct { diff --git a/go/vt/mysqlctl/csvsplitter/csvsplitter_test.go b/go/vt/mysqlctl/csvsplitter/csvsplitter_test.go index 919292e201..78b3ddd780 100644 --- a/go/vt/mysqlctl/csvsplitter/csvsplitter_test.go +++ b/go/vt/mysqlctl/csvsplitter/csvsplitter_test.go @@ -5,7 +5,7 @@ import ( "os" "testing" - "code.google.com/p/vitess/go/vt/key" + "github.com/youtube/vitess/go/vt/key" ) type pair struct { diff --git a/go/vt/mysqlctl/fileutil.go b/go/vt/mysqlctl/fileutil.go index 47c1890580..56181a4265 100644 --- a/go/vt/mysqlctl/fileutil.go +++ b/go/vt/mysqlctl/fileutil.go @@ -22,9 +22,9 @@ import ( "strings" "sync" - "code.google.com/p/vitess/go/cgzip" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/key" + "github.com/youtube/vitess/go/cgzip" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/key" ) // Use this to simulate failures in tests diff --git a/go/vt/mysqlctl/mycnf_gen.go b/go/vt/mysqlctl/mycnf_gen.go index 4f5b47199a..339ccc9132 100644 --- a/go/vt/mysqlctl/mycnf_gen.go +++ b/go/vt/mysqlctl/mycnf_gen.go @@ -13,7 +13,7 @@ import ( "path" "text/template" - "code.google.com/p/vitess/go/vt/env" + "github.com/youtube/vitess/go/vt/env" ) type VtReplParams struct { diff --git a/go/vt/mysqlctl/mycnf_test.go b/go/vt/mysqlctl/mycnf_test.go index d7c20c2b54..a90e83f03c 100644 --- a/go/vt/mysqlctl/mycnf_test.go +++ b/go/vt/mysqlctl/mycnf_test.go @@ -9,7 +9,7 @@ import ( "path" "testing" - "code.google.com/p/vitess/go/vt/env" + "github.com/youtube/vitess/go/vt/env" ) var MYCNF_PATH = "/tmp/my.cnf" @@ -25,9 +25,9 @@ func TestMycnf(t *testing.T) { t.Errorf("err: %v", err) } cnfTemplatePaths := []string{ - path.Join(root, "src/code.google.com/p/vitess/config/mycnf/default.cnf"), - path.Join(root, "src/code.google.com/p/vitess/config/mycnf/replica.cnf"), - path.Join(root, "src/code.google.com/p/vitess/config/mycnf/master.cnf"), + path.Join(root, "src/github.com/youtube/vitess/config/mycnf/default.cnf"), + path.Join(root, "src/github.com/youtube/vitess/config/mycnf/replica.cnf"), + path.Join(root, "src/github.com/youtube/vitess/config/mycnf/master.cnf"), } data, err := MakeMycnf(tablet0.config, cnfTemplatePaths) if err != nil { diff --git a/go/vt/mysqlctl/mysqlbinlog.go b/go/vt/mysqlctl/mysqlbinlog.go index de9889635a..7436278d1d 100644 --- a/go/vt/mysqlctl/mysqlbinlog.go +++ b/go/vt/mysqlctl/mysqlbinlog.go @@ -10,8 +10,8 @@ import ( "os" "path" - "code.google.com/p/vitess/go/relog" - vtenv "code.google.com/p/vitess/go/vt/env" + "github.com/youtube/vitess/go/relog" + vtenv "github.com/youtube/vitess/go/vt/env" ) /* diff --git a/go/vt/mysqlctl/mysqld.go b/go/vt/mysqlctl/mysqld.go index 794e07b964..d520b49ad1 100644 --- a/go/vt/mysqlctl/mysqld.go +++ b/go/vt/mysqlctl/mysqld.go @@ -22,11 +22,11 @@ import ( "strings" "time" - "code.google.com/p/vitess/go/mysql" - "code.google.com/p/vitess/go/netutil" - "code.google.com/p/vitess/go/relog" - vtenv "code.google.com/p/vitess/go/vt/env" - "code.google.com/p/vitess/go/vt/hook" + "github.com/youtube/vitess/go/mysql" + "github.com/youtube/vitess/go/netutil" + "github.com/youtube/vitess/go/relog" + vtenv "github.com/youtube/vitess/go/vt/env" + "github.com/youtube/vitess/go/vt/hook" ) const ( diff --git a/go/vt/mysqlctl/permissions.go b/go/vt/mysqlctl/permissions.go index a725a95aea..da4a103cf8 100644 --- a/go/vt/mysqlctl/permissions.go +++ b/go/vt/mysqlctl/permissions.go @@ -9,9 +9,9 @@ import ( "hash/crc64" "sort" - "code.google.com/p/vitess/go/mysql/proto" - "code.google.com/p/vitess/go/sqltypes" - "code.google.com/p/vitess/go/vt/concurrency" + "github.com/youtube/vitess/go/mysql/proto" + "github.com/youtube/vitess/go/sqltypes" + "github.com/youtube/vitess/go/vt/concurrency" ) var ( diff --git a/go/vt/mysqlctl/permissions_test.go b/go/vt/mysqlctl/permissions_test.go index 90b6e1865f..cb1c133b9e 100644 --- a/go/vt/mysqlctl/permissions_test.go +++ b/go/vt/mysqlctl/permissions_test.go @@ -7,8 +7,8 @@ package mysqlctl import ( "testing" - "code.google.com/p/vitess/go/mysql/proto" - "code.google.com/p/vitess/go/sqltypes" + "github.com/youtube/vitess/go/mysql/proto" + "github.com/youtube/vitess/go/sqltypes" ) func mapToSqlResults(row map[string]string) ([]proto.Field, []sqltypes.Value) { diff --git a/go/vt/mysqlctl/reparent.go b/go/vt/mysqlctl/reparent.go index bec161cfbb..9ac20594d4 100644 --- a/go/vt/mysqlctl/reparent.go +++ b/go/vt/mysqlctl/reparent.go @@ -8,7 +8,7 @@ import ( "fmt" "time" - "code.google.com/p/vitess/go/relog" + "github.com/youtube/vitess/go/relog" ) // if the master is still alive, then we need to demote it gracefully diff --git a/go/vt/mysqlctl/replication.go b/go/vt/mysqlctl/replication.go index c38721052e..07d4ba1ec2 100644 --- a/go/vt/mysqlctl/replication.go +++ b/go/vt/mysqlctl/replication.go @@ -20,9 +20,9 @@ import ( "text/template" "time" - "code.google.com/p/vitess/go/mysql/proto" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/key" + "github.com/youtube/vitess/go/mysql/proto" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/key" ) const ( diff --git a/go/vt/mysqlctl/schema.go b/go/vt/mysqlctl/schema.go index d39ae4cc7c..b546abfe73 100644 --- a/go/vt/mysqlctl/schema.go +++ b/go/vt/mysqlctl/schema.go @@ -12,9 +12,9 @@ import ( "sort" "strings" - "code.google.com/p/vitess/go/jscfg" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/concurrency" + "github.com/youtube/vitess/go/jscfg" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/concurrency" ) const ( diff --git a/go/vt/mysqlctl/split.go b/go/vt/mysqlctl/split.go index d7517234fa..c834c901c7 100644 --- a/go/vt/mysqlctl/split.go +++ b/go/vt/mysqlctl/split.go @@ -95,13 +95,13 @@ import ( "strings" "time" - "code.google.com/p/vitess/go/bufio2" - "code.google.com/p/vitess/go/cgzip" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/sync2" - "code.google.com/p/vitess/go/vt/concurrency" - "code.google.com/p/vitess/go/vt/key" - "code.google.com/p/vitess/go/vt/mysqlctl/csvsplitter" + "github.com/youtube/vitess/go/bufio2" + "github.com/youtube/vitess/go/cgzip" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/sync2" + "github.com/youtube/vitess/go/vt/concurrency" + "github.com/youtube/vitess/go/vt/key" + "github.com/youtube/vitess/go/vt/mysqlctl/csvsplitter" ) const ( diff --git a/go/vt/mysqlctl/updatestreamctl.go b/go/vt/mysqlctl/updatestreamctl.go index db3de93534..27fae94367 100644 --- a/go/vt/mysqlctl/updatestreamctl.go +++ b/go/vt/mysqlctl/updatestreamctl.go @@ -12,11 +12,11 @@ import ( "sync" "time" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/rpcwrap" - estats "code.google.com/p/vitess/go/stats" // stats is a private type defined somewhere else in this package, so it would conflict - "code.google.com/p/vitess/go/sync2" - "code.google.com/p/vitess/go/vt/dbconfigs" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/rpcwrap" + estats "github.com/youtube/vitess/go/stats" // stats is a private type defined somewhere else in this package, so it would conflict + "github.com/youtube/vitess/go/sync2" + "github.com/youtube/vitess/go/vt/dbconfigs" ) /* API and config for UpdateStream Service */ diff --git a/go/vt/mysqlctl/utils.go b/go/vt/mysqlctl/utils.go index 091042e764..c64c84b292 100644 --- a/go/vt/mysqlctl/utils.go +++ b/go/vt/mysqlctl/utils.go @@ -1,7 +1,7 @@ package mysqlctl import ( - "code.google.com/p/vitess/go/relog" + "github.com/youtube/vitess/go/relog" ) type MapFunc func(index int) error diff --git a/go/vt/schema/schema.go b/go/vt/schema/schema.go index ea8be1a1c2..0246c00211 100644 --- a/go/vt/schema/schema.go +++ b/go/vt/schema/schema.go @@ -10,7 +10,7 @@ package schema import ( "strings" - "code.google.com/p/vitess/go/sqltypes" + "github.com/youtube/vitess/go/sqltypes" ) // Column categories diff --git a/go/vt/servenv/servenv.go b/go/vt/servenv/servenv.go index f6dc5bc7d9..89b455da1b 100644 --- a/go/vt/servenv/servenv.go +++ b/go/vt/servenv/servenv.go @@ -23,8 +23,8 @@ import ( "syscall" "time" - "code.google.com/p/vitess/go/logfile" - "code.google.com/p/vitess/go/relog" + "github.com/youtube/vitess/go/logfile" + "github.com/youtube/vitess/go/relog" ) var ( diff --git a/go/vt/sqlparser/ast.go b/go/vt/sqlparser/ast.go index 0a688ac0b8..f51aa46d36 100644 --- a/go/vt/sqlparser/ast.go +++ b/go/vt/sqlparser/ast.go @@ -8,7 +8,7 @@ import ( "bytes" "fmt" - "code.google.com/p/vitess/go/sqltypes" + "github.com/youtube/vitess/go/sqltypes" ) type ParserError struct { diff --git a/go/vt/sqlparser/execution.go b/go/vt/sqlparser/execution.go index 064f008858..df6ac736e8 100644 --- a/go/vt/sqlparser/execution.go +++ b/go/vt/sqlparser/execution.go @@ -8,9 +8,9 @@ import ( "fmt" "strconv" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/sqltypes" - "code.google.com/p/vitess/go/vt/schema" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/sqltypes" + "github.com/youtube/vitess/go/vt/schema" ) type PlanType int diff --git a/go/vt/sqlparser/parse_test.go b/go/vt/sqlparser/parse_test.go index cd74b2cc9f..293a11fd97 100644 --- a/go/vt/sqlparser/parse_test.go +++ b/go/vt/sqlparser/parse_test.go @@ -15,9 +15,9 @@ import ( "strings" "testing" - "code.google.com/p/vitess/go/sqltypes" - "code.google.com/p/vitess/go/vt/key" - "code.google.com/p/vitess/go/vt/schema" + "github.com/youtube/vitess/go/sqltypes" + "github.com/youtube/vitess/go/vt/key" + "github.com/youtube/vitess/go/vt/schema" ) func TestGen(t *testing.T) { diff --git a/go/vt/sqlparser/parsed_query.go b/go/vt/sqlparser/parsed_query.go index 186e3c9662..51304d1b9c 100644 --- a/go/vt/sqlparser/parsed_query.go +++ b/go/vt/sqlparser/parsed_query.go @@ -9,7 +9,7 @@ import ( "encoding/json" "strconv" - "code.google.com/p/vitess/go/sqltypes" + "github.com/youtube/vitess/go/sqltypes" ) type BindLocation struct { diff --git a/go/vt/sqlparser/router.go b/go/vt/sqlparser/router.go index 15048b029f..7f6c93e5f6 100644 --- a/go/vt/sqlparser/router.go +++ b/go/vt/sqlparser/router.go @@ -7,7 +7,7 @@ package sqlparser import ( "strconv" - "code.google.com/p/vitess/go/vt/key" + "github.com/youtube/vitess/go/vt/key" ) const ( diff --git a/go/vt/sqlparser/token.go b/go/vt/sqlparser/token.go index c95186f984..428c94a83f 100644 --- a/go/vt/sqlparser/token.go +++ b/go/vt/sqlparser/token.go @@ -10,7 +10,7 @@ import ( "io" "unicode" - "code.google.com/p/vitess/go/sqltypes" + "github.com/youtube/vitess/go/sqltypes" ) const EOFCHAR = 0x100 diff --git a/go/vt/tabletmanager/action.go b/go/vt/tabletmanager/action.go index 436557b2c0..670434e019 100644 --- a/go/vt/tabletmanager/action.go +++ b/go/vt/tabletmanager/action.go @@ -15,11 +15,11 @@ import ( "strings" "time" - "code.google.com/p/vitess/go/jscfg" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/hook" - "code.google.com/p/vitess/go/vt/mysqlctl" - "code.google.com/p/vitess/go/vt/topo" + "github.com/youtube/vitess/go/jscfg" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/hook" + "github.com/youtube/vitess/go/vt/mysqlctl" + "github.com/youtube/vitess/go/vt/topo" ) const ( diff --git a/go/vt/tabletmanager/actor.go b/go/vt/tabletmanager/actor.go index 3178557994..fafd7140ee 100644 --- a/go/vt/tabletmanager/actor.go +++ b/go/vt/tabletmanager/actor.go @@ -17,13 +17,13 @@ import ( "syscall" "time" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/tb" - "code.google.com/p/vitess/go/vt/hook" - "code.google.com/p/vitess/go/vt/key" - "code.google.com/p/vitess/go/vt/mysqlctl" - "code.google.com/p/vitess/go/vt/topo" - "code.google.com/p/vitess/go/vt/zktopo" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/tb" + "github.com/youtube/vitess/go/vt/hook" + "github.com/youtube/vitess/go/vt/key" + "github.com/youtube/vitess/go/vt/mysqlctl" + "github.com/youtube/vitess/go/vt/topo" + "github.com/youtube/vitess/go/vt/zktopo" ) // The actor applies individual commands to execute an action read diff --git a/go/vt/tabletmanager/agent.go b/go/vt/tabletmanager/agent.go index fbcb8197b9..79f4e3550a 100644 --- a/go/vt/tabletmanager/agent.go +++ b/go/vt/tabletmanager/agent.go @@ -22,11 +22,11 @@ import ( "strings" "sync" - "code.google.com/p/vitess/go/netutil" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/env" - "code.google.com/p/vitess/go/vt/tabletserver" - "code.google.com/p/vitess/go/vt/topo" + "github.com/youtube/vitess/go/netutil" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/env" + "github.com/youtube/vitess/go/vt/tabletserver" + "github.com/youtube/vitess/go/vt/topo" ) // Each TabletChangeCallback must be idempotent and "threadsafe". The diff --git a/go/vt/tabletmanager/initiator.go b/go/vt/tabletmanager/initiator.go index 663e127e63..a9e66277d2 100644 --- a/go/vt/tabletmanager/initiator.go +++ b/go/vt/tabletmanager/initiator.go @@ -19,12 +19,12 @@ import ( "sync" "time" - "code.google.com/p/vitess/go/rpcwrap/bsonrpc" - "code.google.com/p/vitess/go/vt/hook" - "code.google.com/p/vitess/go/vt/key" - "code.google.com/p/vitess/go/vt/mysqlctl" - "code.google.com/p/vitess/go/vt/topo" - "code.google.com/p/vitess/go/vt/zktopo" + "github.com/youtube/vitess/go/rpcwrap/bsonrpc" + "github.com/youtube/vitess/go/vt/hook" + "github.com/youtube/vitess/go/vt/key" + "github.com/youtube/vitess/go/vt/mysqlctl" + "github.com/youtube/vitess/go/vt/topo" + "github.com/youtube/vitess/go/vt/zktopo" ) // The actor applies individual commands to execute an action read from a node diff --git a/go/vt/tabletmanager/rpc.go b/go/vt/tabletmanager/rpc.go index 3c05659d78..2deaee38cd 100644 --- a/go/vt/tabletmanager/rpc.go +++ b/go/vt/tabletmanager/rpc.go @@ -7,11 +7,11 @@ package tabletmanager import ( "fmt" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/rpcwrap" - rpcproto "code.google.com/p/vitess/go/rpcwrap/proto" - "code.google.com/p/vitess/go/vt/mysqlctl" - "code.google.com/p/vitess/go/vt/rpc" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/rpcwrap" + rpcproto "github.com/youtube/vitess/go/rpcwrap/proto" + "github.com/youtube/vitess/go/vt/mysqlctl" + "github.com/youtube/vitess/go/vt/rpc" ) // we keep track of the agent so we can use its tabletAlias, ts, ... diff --git a/go/vt/tabletserver/active_pool.go b/go/vt/tabletserver/active_pool.go index e76d0cd3ea..ec52c3f1d0 100644 --- a/go/vt/tabletserver/active_pool.go +++ b/go/vt/tabletserver/active_pool.go @@ -8,10 +8,10 @@ import ( "fmt" "time" - "code.google.com/p/vitess/go/pools" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/sync2" - "code.google.com/p/vitess/go/timer" + "github.com/youtube/vitess/go/pools" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/sync2" + "github.com/youtube/vitess/go/timer" ) type ActivePool struct { diff --git a/go/vt/tabletserver/active_tx_pool.go b/go/vt/tabletserver/active_tx_pool.go index 141008ea05..0bf576627b 100644 --- a/go/vt/tabletserver/active_tx_pool.go +++ b/go/vt/tabletserver/active_tx_pool.go @@ -10,12 +10,12 @@ import ( "strings" "time" - "code.google.com/p/vitess/go/pools" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/stats" - "code.google.com/p/vitess/go/streamlog" - "code.google.com/p/vitess/go/sync2" - "code.google.com/p/vitess/go/timer" + "github.com/youtube/vitess/go/pools" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/stats" + "github.com/youtube/vitess/go/streamlog" + "github.com/youtube/vitess/go/sync2" + "github.com/youtube/vitess/go/timer" ) /* Function naming convention: diff --git a/go/vt/tabletserver/cache_pool.go b/go/vt/tabletserver/cache_pool.go index a0502d1c5c..54edaeebc6 100644 --- a/go/vt/tabletserver/cache_pool.go +++ b/go/vt/tabletserver/cache_pool.go @@ -9,10 +9,10 @@ import ( "sync" "time" - "code.google.com/p/vitess/go/memcache" - "code.google.com/p/vitess/go/pools" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/dbconfigs" + "github.com/youtube/vitess/go/memcache" + "github.com/youtube/vitess/go/pools" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/dbconfigs" ) const statsURL = "/debug/memcache/" diff --git a/go/vt/tabletserver/codex.go b/go/vt/tabletserver/codex.go index c1cef4267c..e810397142 100644 --- a/go/vt/tabletserver/codex.go +++ b/go/vt/tabletserver/codex.go @@ -10,9 +10,9 @@ import ( "fmt" "strings" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/sqltypes" - "code.google.com/p/vitess/go/vt/schema" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/sqltypes" + "github.com/youtube/vitess/go/vt/schema" ) // buildValueList builds the set of PK reference rows used to drive the next query. diff --git a/go/vt/tabletserver/comments.go b/go/vt/tabletserver/comments.go index 4a5ddfd66d..f0c18fae90 100644 --- a/go/vt/tabletserver/comments.go +++ b/go/vt/tabletserver/comments.go @@ -5,7 +5,7 @@ package tabletserver import ( - "code.google.com/p/vitess/go/vt/tabletserver/proto" + "github.com/youtube/vitess/go/vt/tabletserver/proto" ) const TRAILING_COMMENT = "_trailingComment" diff --git a/go/vt/tabletserver/conn_pool.go b/go/vt/tabletserver/conn_pool.go index b989d2aa5e..020c0e7a19 100644 --- a/go/vt/tabletserver/conn_pool.go +++ b/go/vt/tabletserver/conn_pool.go @@ -8,7 +8,7 @@ import ( "sync" "time" - "code.google.com/p/vitess/go/pools" + "github.com/youtube/vitess/go/pools" ) // ConnectionPool re-exposes ResourcePool as a pool of DBConnection objects diff --git a/go/vt/tabletserver/connection.go b/go/vt/tabletserver/connection.go index ca8396fcad..0e03467247 100644 --- a/go/vt/tabletserver/connection.go +++ b/go/vt/tabletserver/connection.go @@ -8,11 +8,11 @@ import ( "strings" "time" - "code.google.com/p/vitess/go/mysql" - "code.google.com/p/vitess/go/mysql/proto" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/sqltypes" - "code.google.com/p/vitess/go/stats" + "github.com/youtube/vitess/go/mysql" + "github.com/youtube/vitess/go/mysql/proto" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/sqltypes" + "github.com/youtube/vitess/go/stats" ) var mysqlStats *stats.Timings diff --git a/go/vt/tabletserver/consolidator.go b/go/vt/tabletserver/consolidator.go index bcb8f62c8d..7981faab62 100644 --- a/go/vt/tabletserver/consolidator.go +++ b/go/vt/tabletserver/consolidator.go @@ -11,8 +11,8 @@ import ( "sync/atomic" "time" - "code.google.com/p/vitess/go/cache" - "code.google.com/p/vitess/go/mysql/proto" + "github.com/youtube/vitess/go/cache" + "github.com/youtube/vitess/go/mysql/proto" ) var ( diff --git a/go/vt/tabletserver/proto/bson.go b/go/vt/tabletserver/proto/bson.go index e859630147..0226ca3c35 100644 --- a/go/vt/tabletserver/proto/bson.go +++ b/go/vt/tabletserver/proto/bson.go @@ -10,8 +10,8 @@ import ( "math" "time" - "code.google.com/p/vitess/go/bson" - "code.google.com/p/vitess/go/bytes2" + "github.com/youtube/vitess/go/bson" + "github.com/youtube/vitess/go/bytes2" ) func (query *Query) MarshalBson(buf *bytes2.ChunkedWriter) { diff --git a/go/vt/tabletserver/proto/sqlquery.go b/go/vt/tabletserver/proto/sqlquery.go index 17eadb2546..ae45d4e0f6 100644 --- a/go/vt/tabletserver/proto/sqlquery.go +++ b/go/vt/tabletserver/proto/sqlquery.go @@ -5,9 +5,9 @@ package proto import ( - mproto "code.google.com/p/vitess/go/mysql/proto" - "code.google.com/p/vitess/go/rpcwrap" - rpcproto "code.google.com/p/vitess/go/rpcwrap/proto" + mproto "github.com/youtube/vitess/go/mysql/proto" + "github.com/youtube/vitess/go/rpcwrap" + rpcproto "github.com/youtube/vitess/go/rpcwrap/proto" ) // defines the RPC services diff --git a/go/vt/tabletserver/proto/structs.go b/go/vt/tabletserver/proto/structs.go index d600eef777..33d383874e 100644 --- a/go/vt/tabletserver/proto/structs.go +++ b/go/vt/tabletserver/proto/structs.go @@ -5,8 +5,8 @@ package proto import ( - mproto "code.google.com/p/vitess/go/mysql/proto" - "code.google.com/p/vitess/go/vt/key" + mproto "github.com/youtube/vitess/go/mysql/proto" + "github.com/youtube/vitess/go/vt/key" ) type SessionParams struct { diff --git a/go/vt/tabletserver/qr_test.go b/go/vt/tabletserver/qr_test.go index 48e6744168..431928d5a9 100644 --- a/go/vt/tabletserver/qr_test.go +++ b/go/vt/tabletserver/qr_test.go @@ -9,8 +9,8 @@ import ( "strings" "testing" - "code.google.com/p/vitess/go/vt/key" - "code.google.com/p/vitess/go/vt/sqlparser" + "github.com/youtube/vitess/go/vt/key" + "github.com/youtube/vitess/go/vt/sqlparser" ) func TestQueryRules(t *testing.T) { diff --git a/go/vt/tabletserver/query_engine.go b/go/vt/tabletserver/query_engine.go index 6685ba3c64..9e40c93c68 100644 --- a/go/vt/tabletserver/query_engine.go +++ b/go/vt/tabletserver/query_engine.go @@ -8,16 +8,16 @@ import ( "sync" "time" - "code.google.com/p/vitess/go/hack" - mproto "code.google.com/p/vitess/go/mysql/proto" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/sqltypes" - "code.google.com/p/vitess/go/stats" - "code.google.com/p/vitess/go/sync2" - "code.google.com/p/vitess/go/vt/dbconfigs" - "code.google.com/p/vitess/go/vt/schema" - "code.google.com/p/vitess/go/vt/sqlparser" - "code.google.com/p/vitess/go/vt/tabletserver/proto" + "github.com/youtube/vitess/go/hack" + mproto "github.com/youtube/vitess/go/mysql/proto" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/sqltypes" + "github.com/youtube/vitess/go/stats" + "github.com/youtube/vitess/go/sync2" + "github.com/youtube/vitess/go/vt/dbconfigs" + "github.com/youtube/vitess/go/vt/schema" + "github.com/youtube/vitess/go/vt/sqlparser" + "github.com/youtube/vitess/go/vt/tabletserver/proto" ) const ( diff --git a/go/vt/tabletserver/query_rules.go b/go/vt/tabletserver/query_rules.go index e70292d2db..e0adc5cc13 100644 --- a/go/vt/tabletserver/query_rules.go +++ b/go/vt/tabletserver/query_rules.go @@ -10,8 +10,8 @@ import ( "regexp" "strconv" - "code.google.com/p/vitess/go/vt/key" - "code.google.com/p/vitess/go/vt/sqlparser" + "github.com/youtube/vitess/go/vt/key" + "github.com/youtube/vitess/go/vt/sqlparser" ) //----------------------------------------------- diff --git a/go/vt/tabletserver/queryctl.go b/go/vt/tabletserver/queryctl.go index f5bee5f89e..7b269587cb 100644 --- a/go/vt/tabletserver/queryctl.go +++ b/go/vt/tabletserver/queryctl.go @@ -7,11 +7,11 @@ package tabletserver import ( "net/http" - mproto "code.google.com/p/vitess/go/mysql/proto" - "code.google.com/p/vitess/go/relog" - rpcproto "code.google.com/p/vitess/go/rpcwrap/proto" - "code.google.com/p/vitess/go/vt/dbconfigs" - "code.google.com/p/vitess/go/vt/tabletserver/proto" + mproto "github.com/youtube/vitess/go/mysql/proto" + "github.com/youtube/vitess/go/relog" + rpcproto "github.com/youtube/vitess/go/rpcwrap/proto" + "github.com/youtube/vitess/go/vt/dbconfigs" + "github.com/youtube/vitess/go/vt/tabletserver/proto" ) type Config struct { diff --git a/go/vt/tabletserver/reserved_pool.go b/go/vt/tabletserver/reserved_pool.go index 54afddf584..99f72efec3 100644 --- a/go/vt/tabletserver/reserved_pool.go +++ b/go/vt/tabletserver/reserved_pool.go @@ -7,8 +7,8 @@ package tabletserver import ( "time" - "code.google.com/p/vitess/go/pools" - "code.google.com/p/vitess/go/sync2" + "github.com/youtube/vitess/go/pools" + "github.com/youtube/vitess/go/sync2" ) type ReservedPool struct { diff --git a/go/vt/tabletserver/rowcache.go b/go/vt/tabletserver/rowcache.go index b3a63a43b3..4a6af41462 100644 --- a/go/vt/tabletserver/rowcache.go +++ b/go/vt/tabletserver/rowcache.go @@ -8,9 +8,9 @@ import ( "encoding/binary" "time" - "code.google.com/p/vitess/go/sqltypes" - "code.google.com/p/vitess/go/stats" - "code.google.com/p/vitess/go/vt/schema" + "github.com/youtube/vitess/go/sqltypes" + "github.com/youtube/vitess/go/stats" + "github.com/youtube/vitess/go/vt/schema" ) var cacheStats = stats.NewTimings("Cache") diff --git a/go/vt/tabletserver/rowcache_invalidator.go b/go/vt/tabletserver/rowcache_invalidator.go index e5f7cdd218..5b7513d755 100644 --- a/go/vt/tabletserver/rowcache_invalidator.go +++ b/go/vt/tabletserver/rowcache_invalidator.go @@ -12,13 +12,13 @@ import ( "sync" "time" - "code.google.com/p/vitess/go/bson" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/sqltypes" - estats "code.google.com/p/vitess/go/stats" // stats is a private type defined somewhere else in this package, so it would conflict - "code.google.com/p/vitess/go/sync2" - "code.google.com/p/vitess/go/vt/mysqlctl" - "code.google.com/p/vitess/go/vt/tabletserver/proto" + "github.com/youtube/vitess/go/bson" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/sqltypes" + estats "github.com/youtube/vitess/go/stats" // stats is a private type defined somewhere else in this package, so it would conflict + "github.com/youtube/vitess/go/sync2" + "github.com/youtube/vitess/go/vt/mysqlctl" + "github.com/youtube/vitess/go/vt/tabletserver/proto" ) const ( diff --git a/go/vt/tabletserver/schema_info.go b/go/vt/tabletserver/schema_info.go index 004804cd29..c10ecd514d 100644 --- a/go/vt/tabletserver/schema_info.go +++ b/go/vt/tabletserver/schema_info.go @@ -12,13 +12,13 @@ import ( "sync" "time" - "code.google.com/p/vitess/go/cache" - mproto "code.google.com/p/vitess/go/mysql/proto" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/sqltypes" - "code.google.com/p/vitess/go/timer" - "code.google.com/p/vitess/go/vt/schema" - "code.google.com/p/vitess/go/vt/sqlparser" + "github.com/youtube/vitess/go/cache" + mproto "github.com/youtube/vitess/go/mysql/proto" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/sqltypes" + "github.com/youtube/vitess/go/timer" + "github.com/youtube/vitess/go/vt/schema" + "github.com/youtube/vitess/go/vt/sqlparser" ) const base_show_tables = "select table_name, table_type, unix_timestamp(create_time), table_comment from information_schema.tables where table_schema = database()" diff --git a/go/vt/tabletserver/sqlquery.go b/go/vt/tabletserver/sqlquery.go index 5f0fc8679d..31341e2428 100644 --- a/go/vt/tabletserver/sqlquery.go +++ b/go/vt/tabletserver/sqlquery.go @@ -13,15 +13,15 @@ import ( "sync" "time" - "code.google.com/p/vitess/go/mysql" - mproto "code.google.com/p/vitess/go/mysql/proto" - "code.google.com/p/vitess/go/relog" - rpcproto "code.google.com/p/vitess/go/rpcwrap/proto" - "code.google.com/p/vitess/go/stats" - "code.google.com/p/vitess/go/sync2" - "code.google.com/p/vitess/go/tb" - "code.google.com/p/vitess/go/vt/dbconfigs" - "code.google.com/p/vitess/go/vt/tabletserver/proto" + "github.com/youtube/vitess/go/mysql" + mproto "github.com/youtube/vitess/go/mysql/proto" + "github.com/youtube/vitess/go/relog" + rpcproto "github.com/youtube/vitess/go/rpcwrap/proto" + "github.com/youtube/vitess/go/stats" + "github.com/youtube/vitess/go/sync2" + "github.com/youtube/vitess/go/tb" + "github.com/youtube/vitess/go/vt/dbconfigs" + "github.com/youtube/vitess/go/vt/tabletserver/proto" ) // exclusive transitions can be executed without a lock diff --git a/go/vt/tabletserver/streamlogger.go b/go/vt/tabletserver/streamlogger.go index c0c7ef6db6..f145ab55be 100644 --- a/go/vt/tabletserver/streamlogger.go +++ b/go/vt/tabletserver/streamlogger.go @@ -11,10 +11,10 @@ import ( "strings" "time" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/rpcwrap/proto" - "code.google.com/p/vitess/go/sqltypes" - "code.google.com/p/vitess/go/streamlog" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/rpcwrap/proto" + "github.com/youtube/vitess/go/sqltypes" + "github.com/youtube/vitess/go/streamlog" ) var SqlQueryLogger = streamlog.New("SqlQuery", 50) diff --git a/go/vt/tabletserver/table_info.go b/go/vt/tabletserver/table_info.go index dd1c32ea02..ebffb24dd9 100644 --- a/go/vt/tabletserver/table_info.go +++ b/go/vt/tabletserver/table_info.go @@ -13,10 +13,10 @@ import ( "strconv" "strings" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/sqltypes" - "code.google.com/p/vitess/go/sync2" - "code.google.com/p/vitess/go/vt/schema" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/sqltypes" + "github.com/youtube/vitess/go/sync2" + "github.com/youtube/vitess/go/vt/schema" ) type TableInfo struct { diff --git a/go/vt/tabletserver/tablet_error.go b/go/vt/tabletserver/tablet_error.go index 1cb3e164ad..86c7df2074 100644 --- a/go/vt/tabletserver/tablet_error.go +++ b/go/vt/tabletserver/tablet_error.go @@ -7,8 +7,8 @@ package tabletserver import ( "fmt" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/tb" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/tb" ) const ( diff --git a/go/vt/topo/naming.go b/go/vt/topo/naming.go index fa5dc184b6..6bdcd030bd 100644 --- a/go/vt/topo/naming.go +++ b/go/vt/topo/naming.go @@ -23,8 +23,8 @@ import ( "fmt" "net" - "code.google.com/p/vitess/go/netutil" - "code.google.com/p/vitess/go/relog" + "github.com/youtube/vitess/go/netutil" + "github.com/youtube/vitess/go/relog" ) type VtnsAddr struct { diff --git a/go/vt/topo/shard.go b/go/vt/topo/shard.go index bb1c51630d..8d16cc1777 100644 --- a/go/vt/topo/shard.go +++ b/go/vt/topo/shard.go @@ -10,8 +10,8 @@ import ( "path" "sync" - "code.google.com/p/vitess/go/jscfg" - "code.google.com/p/vitess/go/vt/key" + "github.com/youtube/vitess/go/jscfg" + "github.com/youtube/vitess/go/vt/key" ) // Functions for dealing with shard representations in topology. diff --git a/go/vt/topo/srvshard.go b/go/vt/topo/srvshard.go index 862c70aef5..7e4b400374 100644 --- a/go/vt/topo/srvshard.go +++ b/go/vt/topo/srvshard.go @@ -9,7 +9,7 @@ import ( "fmt" "sort" - "code.google.com/p/vitess/go/vt/key" + "github.com/youtube/vitess/go/vt/key" ) // SrvShard contains a roll-up of the shard in the local namespace. diff --git a/go/vt/topo/tablet.go b/go/vt/topo/tablet.go index 2ef9565851..8a2a3487b9 100644 --- a/go/vt/topo/tablet.go +++ b/go/vt/topo/tablet.go @@ -12,10 +12,10 @@ import ( "strconv" "strings" - "code.google.com/p/vitess/go/jscfg" - "code.google.com/p/vitess/go/netutil" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/key" + "github.com/youtube/vitess/go/jscfg" + "github.com/youtube/vitess/go/netutil" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/key" ) const ( diff --git a/go/vt/topo/topology_server.go b/go/vt/topo/topology_server.go index fcf30ab19b..6fd5fad61a 100644 --- a/go/vt/topo/topology_server.go +++ b/go/vt/topo/topology_server.go @@ -10,7 +10,7 @@ import ( "os" "time" - "code.google.com/p/vitess/go/relog" + "github.com/youtube/vitess/go/relog" ) var ( diff --git a/go/vt/wrangler/clone.go b/go/vt/wrangler/clone.go index 106695016e..6f1b193ef2 100644 --- a/go/vt/wrangler/clone.go +++ b/go/vt/wrangler/clone.go @@ -8,10 +8,10 @@ import ( "fmt" "sync" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/concurrency" - tm "code.google.com/p/vitess/go/vt/tabletmanager" - "code.google.com/p/vitess/go/vt/topo" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/concurrency" + tm "github.com/youtube/vitess/go/vt/tabletmanager" + "github.com/youtube/vitess/go/vt/topo" ) // forceMasterSnapshot: Normally a master is not a viable tablet to snapshot. diff --git a/go/vt/wrangler/hook.go b/go/vt/wrangler/hook.go index 7aad38c047..338a81a31f 100644 --- a/go/vt/wrangler/hook.go +++ b/go/vt/wrangler/hook.go @@ -9,9 +9,9 @@ import ( "strings" "time" - "code.google.com/p/vitess/go/relog" - hk "code.google.com/p/vitess/go/vt/hook" - "code.google.com/p/vitess/go/vt/topo" + "github.com/youtube/vitess/go/relog" + hk "github.com/youtube/vitess/go/vt/hook" + "github.com/youtube/vitess/go/vt/topo" ) func (wr *Wrangler) ExecuteHook(tabletAlias topo.TabletAlias, hook *hk.Hook) (hookResult *hk.HookResult, err error) { diff --git a/go/vt/wrangler/permissions.go b/go/vt/wrangler/permissions.go index bb68bae756..0dc89626fd 100644 --- a/go/vt/wrangler/permissions.go +++ b/go/vt/wrangler/permissions.go @@ -9,10 +9,10 @@ import ( "sort" "sync" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/concurrency" - "code.google.com/p/vitess/go/vt/mysqlctl" - "code.google.com/p/vitess/go/vt/topo" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/concurrency" + "github.com/youtube/vitess/go/vt/mysqlctl" + "github.com/youtube/vitess/go/vt/topo" ) func (wr *Wrangler) GetPermissions(tabletAlias topo.TabletAlias) (*mysqlctl.Permissions, error) { diff --git a/go/vt/wrangler/rebuild.go b/go/vt/wrangler/rebuild.go index 5dba432ef6..ef673fc078 100644 --- a/go/vt/wrangler/rebuild.go +++ b/go/vt/wrangler/rebuild.go @@ -8,11 +8,11 @@ import ( "fmt" "sync" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/concurrency" - "code.google.com/p/vitess/go/vt/key" - tm "code.google.com/p/vitess/go/vt/tabletmanager" - "code.google.com/p/vitess/go/vt/topo" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/concurrency" + "github.com/youtube/vitess/go/vt/key" + tm "github.com/youtube/vitess/go/vt/tabletmanager" + "github.com/youtube/vitess/go/vt/topo" ) func inCellList(cell string, cells []string) bool { diff --git a/go/vt/wrangler/reparent.go b/go/vt/wrangler/reparent.go index f2e72b33a5..e5d8041e3c 100644 --- a/go/vt/wrangler/reparent.go +++ b/go/vt/wrangler/reparent.go @@ -67,10 +67,10 @@ On X: (promoted slave) import ( "fmt" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/mysqlctl" - tm "code.google.com/p/vitess/go/vt/tabletmanager" - "code.google.com/p/vitess/go/vt/topo" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/mysqlctl" + tm "github.com/youtube/vitess/go/vt/tabletmanager" + "github.com/youtube/vitess/go/vt/topo" ) const ( diff --git a/go/vt/wrangler/reparent_action.go b/go/vt/wrangler/reparent_action.go index a646b83e13..7b969aa101 100644 --- a/go/vt/wrangler/reparent_action.go +++ b/go/vt/wrangler/reparent_action.go @@ -7,11 +7,11 @@ import ( "sync" "time" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/hook" - "code.google.com/p/vitess/go/vt/mysqlctl" - tm "code.google.com/p/vitess/go/vt/tabletmanager" - "code.google.com/p/vitess/go/vt/topo" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/hook" + "github.com/youtube/vitess/go/vt/mysqlctl" + tm "github.com/youtube/vitess/go/vt/tabletmanager" + "github.com/youtube/vitess/go/vt/topo" ) // helper struct to queue up results diff --git a/go/vt/wrangler/reparent_brutal.go b/go/vt/wrangler/reparent_brutal.go index dd87a81382..34f8b8995f 100644 --- a/go/vt/wrangler/reparent_brutal.go +++ b/go/vt/wrangler/reparent_brutal.go @@ -3,9 +3,9 @@ package wrangler import ( "fmt" - "code.google.com/p/vitess/go/relog" - tm "code.google.com/p/vitess/go/vt/tabletmanager" - "code.google.com/p/vitess/go/vt/topo" + "github.com/youtube/vitess/go/relog" + tm "github.com/youtube/vitess/go/vt/tabletmanager" + "github.com/youtube/vitess/go/vt/topo" ) // Assume the master is dead and not coming back. Just push your way diff --git a/go/vt/wrangler/reparent_external.go b/go/vt/wrangler/reparent_external.go index d0bda04a18..2a6b4bd3f0 100644 --- a/go/vt/wrangler/reparent_external.go +++ b/go/vt/wrangler/reparent_external.go @@ -8,10 +8,10 @@ import ( "fmt" "sync" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/concurrency" - tm "code.google.com/p/vitess/go/vt/tabletmanager" - "code.google.com/p/vitess/go/vt/topo" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/concurrency" + tm "github.com/youtube/vitess/go/vt/tabletmanager" + "github.com/youtube/vitess/go/vt/topo" ) func (wr *Wrangler) ShardExternallyReparented(keyspace, shard string, masterElectTabletAlias topo.TabletAlias, scrapStragglers bool) error { diff --git a/go/vt/wrangler/reparent_graceful.go b/go/vt/wrangler/reparent_graceful.go index 4d1d518068..f5cdaeecfe 100644 --- a/go/vt/wrangler/reparent_graceful.go +++ b/go/vt/wrangler/reparent_graceful.go @@ -7,8 +7,8 @@ package wrangler import ( "fmt" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/topo" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/topo" ) func (wr *Wrangler) reparentShardGraceful(slaveTabletMap map[topo.TabletAlias]*topo.TabletInfo, masterTablet, masterElectTablet *topo.TabletInfo, leaveMasterReadOnly bool) error { diff --git a/go/vt/wrangler/schema.go b/go/vt/wrangler/schema.go index b74a4ac849..3cdb80304f 100644 --- a/go/vt/wrangler/schema.go +++ b/go/vt/wrangler/schema.go @@ -10,10 +10,10 @@ import ( "strings" "sync" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/concurrency" - "code.google.com/p/vitess/go/vt/mysqlctl" - "code.google.com/p/vitess/go/vt/topo" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/concurrency" + "github.com/youtube/vitess/go/vt/mysqlctl" + "github.com/youtube/vitess/go/vt/topo" ) func (wr *Wrangler) GetSchema(tabletAlias topo.TabletAlias, tables []string, includeViews bool) (*mysqlctl.SchemaDefinition, error) { diff --git a/go/vt/wrangler/split.go b/go/vt/wrangler/split.go index a8bb864468..54bc39f8a6 100644 --- a/go/vt/wrangler/split.go +++ b/go/vt/wrangler/split.go @@ -7,10 +7,10 @@ package wrangler import ( "fmt" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/key" - tm "code.google.com/p/vitess/go/vt/tabletmanager" - "code.google.com/p/vitess/go/vt/topo" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/key" + tm "github.com/youtube/vitess/go/vt/tabletmanager" + "github.com/youtube/vitess/go/vt/topo" ) // replaceError replaces original with recent if recent is not nil, diff --git a/go/vt/wrangler/topology.go b/go/vt/wrangler/topology.go index 949f74b174..cc98a79c20 100644 --- a/go/vt/wrangler/topology.go +++ b/go/vt/wrangler/topology.go @@ -5,7 +5,7 @@ import ( "strconv" "strings" - "code.google.com/p/vitess/go/vt/topo" + "github.com/youtube/vitess/go/vt/topo" ) // TabletNodesByType maps tablet types to slices of tablet nodes. diff --git a/go/vt/wrangler/utils.go b/go/vt/wrangler/utils.go index 6a6fd5eec2..bc913328ba 100644 --- a/go/vt/wrangler/utils.go +++ b/go/vt/wrangler/utils.go @@ -9,8 +9,8 @@ import ( "sort" "sync" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/topo" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/topo" ) // If error is not nil, the results in the dictionary are incomplete. diff --git a/go/vt/wrangler/validator.go b/go/vt/wrangler/validator.go index cd904b57a9..1b66f7a134 100644 --- a/go/vt/wrangler/validator.go +++ b/go/vt/wrangler/validator.go @@ -10,9 +10,9 @@ import ( "sync" "time" - "code.google.com/p/vitess/go/relog" - tm "code.google.com/p/vitess/go/vt/tabletmanager" - "code.google.com/p/vitess/go/vt/topo" + "github.com/youtube/vitess/go/relog" + tm "github.com/youtube/vitess/go/vt/tabletmanager" + "github.com/youtube/vitess/go/vt/topo" ) // As with all distributed systems, things can skew. These functions diff --git a/go/vt/wrangler/version.go b/go/vt/wrangler/version.go index f442abbf8e..82b70dc2d5 100644 --- a/go/vt/wrangler/version.go +++ b/go/vt/wrangler/version.go @@ -13,9 +13,9 @@ import ( "strings" "sync" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/concurrency" - "code.google.com/p/vitess/go/vt/topo" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/concurrency" + "github.com/youtube/vitess/go/vt/topo" ) type debugVars struct { diff --git a/go/vt/wrangler/wrangler.go b/go/vt/wrangler/wrangler.go index dbc4617c79..eda8747b19 100644 --- a/go/vt/wrangler/wrangler.go +++ b/go/vt/wrangler/wrangler.go @@ -9,10 +9,10 @@ import ( "strings" "time" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/key" - tm "code.google.com/p/vitess/go/vt/tabletmanager" - "code.google.com/p/vitess/go/vt/topo" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/key" + tm "github.com/youtube/vitess/go/vt/tabletmanager" + "github.com/youtube/vitess/go/vt/topo" ) const ( diff --git a/go/vt/wrangler/zkns.go b/go/vt/wrangler/zkns.go index a106a0b3a1..fcbcfc916b 100644 --- a/go/vt/wrangler/zkns.go +++ b/go/vt/wrangler/zkns.go @@ -6,12 +6,12 @@ import ( "sort" "strings" - "code.google.com/p/vitess/go/jscfg" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/topo" - "code.google.com/p/vitess/go/vt/zktopo" - "code.google.com/p/vitess/go/zk" - "code.google.com/p/vitess/go/zk/zkns" + "github.com/youtube/vitess/go/jscfg" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/topo" + "github.com/youtube/vitess/go/vt/zktopo" + "github.com/youtube/vitess/go/zk" + "github.com/youtube/vitess/go/zk/zkns" "launchpad.net/gozk/zookeeper" ) diff --git a/go/vt/zktopo/cell.go b/go/vt/zktopo/cell.go index b8ea4d7210..bc8443a723 100644 --- a/go/vt/zktopo/cell.go +++ b/go/vt/zktopo/cell.go @@ -13,10 +13,10 @@ import ( "strings" "time" - "code.google.com/p/vitess/go/jscfg" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/topo" - "code.google.com/p/vitess/go/zk" + "github.com/youtube/vitess/go/jscfg" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/topo" + "github.com/youtube/vitess/go/zk" "launchpad.net/gozk/zookeeper" ) diff --git a/go/vt/zktopo/global.go b/go/vt/zktopo/global.go index 12d37461b0..bd1beb3199 100644 --- a/go/vt/zktopo/global.go +++ b/go/vt/zktopo/global.go @@ -11,9 +11,9 @@ import ( "strings" "time" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/topo" - "code.google.com/p/vitess/go/zk" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/topo" + "github.com/youtube/vitess/go/zk" "launchpad.net/gozk/zookeeper" ) diff --git a/go/vt/zktopo/zk_topology_server.go b/go/vt/zktopo/zk_topology_server.go index e3b1e7ba24..f13b511071 100644 --- a/go/vt/zktopo/zk_topology_server.go +++ b/go/vt/zktopo/zk_topology_server.go @@ -11,8 +11,8 @@ import ( "sort" "time" - "code.google.com/p/vitess/go/vt/topo" - "code.google.com/p/vitess/go/zk" + "github.com/youtube/vitess/go/vt/topo" + "github.com/youtube/vitess/go/zk" "launchpad.net/gozk/zookeeper" ) diff --git a/go/zk/conn_cache.go b/go/zk/conn_cache.go index a620d52da7..dc4bdf3809 100644 --- a/go/zk/conn_cache.go +++ b/go/zk/conn_cache.go @@ -12,7 +12,7 @@ import ( "sync" "time" - "code.google.com/p/vitess/go/stats" + "github.com/youtube/vitess/go/stats" "launchpad.net/gozk/zookeeper" ) diff --git a/go/zk/fakezk/fakezk.go b/go/zk/fakezk/fakezk.go index 62917120f5..dbefc298e6 100644 --- a/go/zk/fakezk/fakezk.go +++ b/go/zk/fakezk/fakezk.go @@ -18,7 +18,7 @@ import ( "sync" "time" - "code.google.com/p/vitess/go/zk" + "github.com/youtube/vitess/go/zk" "launchpad.net/gozk/zookeeper" ) diff --git a/go/zk/fakezk/fakezk_test.go b/go/zk/fakezk/fakezk_test.go index 5d9c20731d..91bdf30d81 100644 --- a/go/zk/fakezk/fakezk_test.go +++ b/go/zk/fakezk/fakezk_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "code.google.com/p/vitess/go/zk" + "github.com/youtube/vitess/go/zk" "launchpad.net/gozk/zookeeper" ) diff --git a/go/zk/zkconn.go b/go/zk/zkconn.go index f0c11f0818..a535accc16 100644 --- a/go/zk/zkconn.go +++ b/go/zk/zkconn.go @@ -11,7 +11,7 @@ import ( "strconv" "time" - "code.google.com/p/vitess/go/sync2" + "github.com/youtube/vitess/go/sync2" "launchpad.net/gozk/zookeeper" ) diff --git a/go/zk/zkctl/zkconf.go b/go/zk/zkctl/zkconf.go index b030397b75..cef563b9a1 100644 --- a/go/zk/zkctl/zkconf.go +++ b/go/zk/zkctl/zkconf.go @@ -17,8 +17,8 @@ import ( "strings" "text/template" - "code.google.com/p/vitess/go/netutil" - "code.google.com/p/vitess/go/vt/env" + "github.com/youtube/vitess/go/netutil" + "github.com/youtube/vitess/go/vt/env" ) type zkServerAddr struct { diff --git a/go/zk/zkctl/zkctl.go b/go/zk/zkctl/zkctl.go index f68c6a72da..d93255a0c9 100644 --- a/go/zk/zkctl/zkctl.go +++ b/go/zk/zkctl/zkctl.go @@ -21,8 +21,8 @@ import ( "syscall" "time" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/vt/env" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/vt/env" "launchpad.net/gozk/zookeeper" ) diff --git a/go/zk/zkns/zkns.go b/go/zk/zkns/zkns.go index 1ca7a80514..8a1f8e0c99 100644 --- a/go/zk/zkns/zkns.go +++ b/go/zk/zkns/zkns.go @@ -10,8 +10,8 @@ import ( "net" "strings" - "code.google.com/p/vitess/go/netutil" - "code.google.com/p/vitess/go/zk" + "github.com/youtube/vitess/go/netutil" + "github.com/youtube/vitess/go/zk" ) type ZknsAddr struct { diff --git a/go/zk/zkocc/cache.go b/go/zk/zkocc/cache.go index 9ce63dce32..c37576eefb 100644 --- a/go/zk/zkocc/cache.go +++ b/go/zk/zkocc/cache.go @@ -10,8 +10,8 @@ import ( "sync" "time" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/zk" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/zk" "launchpad.net/gozk/zookeeper" ) diff --git a/go/zk/zkocc/cell.go b/go/zk/zkocc/cell.go index ff9375a1e0..29f7eab508 100644 --- a/go/zk/zkocc/cell.go +++ b/go/zk/zkocc/cell.go @@ -11,10 +11,10 @@ import ( "sync" "time" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/stats" - "code.google.com/p/vitess/go/sync2" - "code.google.com/p/vitess/go/zk" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/stats" + "github.com/youtube/vitess/go/sync2" + "github.com/youtube/vitess/go/zk" "launchpad.net/gozk/zookeeper" ) diff --git a/go/zk/zkocc/rpc.go b/go/zk/zkocc/rpc.go index b3cf90c4cc..fc3ebf3596 100644 --- a/go/zk/zkocc/rpc.go +++ b/go/zk/zkocc/rpc.go @@ -12,10 +12,10 @@ import ( "strings" "sync" - "code.google.com/p/vitess/go/relog" - "code.google.com/p/vitess/go/stats" - "code.google.com/p/vitess/go/sync2" - "code.google.com/p/vitess/go/zk" + "github.com/youtube/vitess/go/relog" + "github.com/youtube/vitess/go/stats" + "github.com/youtube/vitess/go/sync2" + "github.com/youtube/vitess/go/zk" ) // zkocc diff --git a/go/zk/zkocc_bson.go b/go/zk/zkocc_bson.go index a6a43ad192..23cd6a5310 100644 --- a/go/zk/zkocc_bson.go +++ b/go/zk/zkocc_bson.go @@ -9,8 +9,8 @@ package zk import ( "bytes" - "code.google.com/p/vitess/go/bson" - "code.google.com/p/vitess/go/bytes2" + "github.com/youtube/vitess/go/bson" + "github.com/youtube/vitess/go/bytes2" ) func (zkPath *ZkPath) MarshalBson(buf *bytes2.ChunkedWriter) { diff --git a/go/zk/zkocc_rpc.go b/go/zk/zkocc_rpc.go index 13dfbeaca2..6c8b6b3dc4 100644 --- a/go/zk/zkocc_rpc.go +++ b/go/zk/zkocc_rpc.go @@ -5,7 +5,7 @@ package zk import ( - rpc "code.google.com/p/vitess/go/rpcplus" + rpc "github.com/youtube/vitess/go/rpcplus" ) // defines the RPC services for zkocc diff --git a/go/zk/zkoccconn.go b/go/zk/zkoccconn.go index 9aab82438c..cd6c7585ea 100644 --- a/go/zk/zkoccconn.go +++ b/go/zk/zkoccconn.go @@ -5,8 +5,8 @@ package zk import ( - "code.google.com/p/vitess/go/rpcplus" - "code.google.com/p/vitess/go/rpcwrap/bsonrpc" + "github.com/youtube/vitess/go/rpcplus" + "github.com/youtube/vitess/go/rpcwrap/bsonrpc" "fmt" "launchpad.net/gozk/zookeeper" "log" diff --git a/test/goloadgen/goloadgen.go b/test/goloadgen/goloadgen.go index db7e967f9b..d365595a76 100644 --- a/test/goloadgen/goloadgen.go +++ b/test/goloadgen/goloadgen.go @@ -12,7 +12,7 @@ import ( "sync" "time" - "code.google.com/p/vitess/go/vt/client2/tablet" + "github.com/youtube/vitess/go/vt/client2/tablet" ) func main() {