Skip to content

Commit

Permalink
update import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
mna committed Jul 13, 2017
1 parent b22a3db commit 838cb4b
Show file tree
Hide file tree
Showing 15 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion common/idletracker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
"time"

"bitbucket.org/harfangapps/regis-companion/internal/testutils"
"github.com/harfangapps/regis-companion/internal/testutils"
)

func TestIdleTrackerNoActivity(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion common/retryserver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"
"time"

"bitbucket.org/harfangapps/regis-companion/internal/testutils"
"github.com/harfangapps/regis-companion/internal/testutils"
"github.com/pkg/errors"
)

Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"syscall"
"time"

"bitbucket.org/harfangapps/regis-companion/server"
"bitbucket.org/harfangapps/regis-companion/sshconfig"
"github.com/harfangapps/regis-companion/server"
"github.com/harfangapps/regis-companion/sshconfig"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion misc/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -euo pipefail

importPath="bitbucket.org/harfangapps/regis-companion/server"
importPath="github.com/harfangapps/regis-companion/server"
gitHash=$(git rev-parse --short HEAD)
version=$(git describe --tags)

Expand Down
4 changes: 2 additions & 2 deletions misc/tools/testtunnel/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"strconv"
"time"

"bitbucket.org/harfangapps/regis-companion/addr"
"bitbucket.org/harfangapps/regis-companion/tunnel"
"github.com/harfangapps/regis-companion/addr"
"github.com/harfangapps/regis-companion/tunnel"

"golang.org/x/crypto/ssh"
"golang.org/x/crypto/ssh/agent"
Expand Down
2 changes: 1 addition & 1 deletion server/command_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package server
import (
"fmt"

"bitbucket.org/harfangapps/regis-companion/resp"
"github.com/harfangapps/regis-companion/resp"
)

type commandCmd struct{}
Expand Down
4 changes: 2 additions & 2 deletions server/gettunneladdr_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package server
import (
"fmt"

"bitbucket.org/harfangapps/regis-companion/addr"
"bitbucket.org/harfangapps/regis-companion/resp"
"github.com/harfangapps/regis-companion/addr"
"github.com/harfangapps/regis-companion/resp"
)

type getTunnelAddrCmd struct{}
Expand Down
2 changes: 1 addition & 1 deletion server/info_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"runtime"
"strings"

"bitbucket.org/harfangapps/regis-companion/resp"
"github.com/harfangapps/regis-companion/resp"
)

type infoCmd struct{}
Expand Down
4 changes: 2 additions & 2 deletions server/killtunnel_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package server
import (
"fmt"

"bitbucket.org/harfangapps/regis-companion/addr"
"bitbucket.org/harfangapps/regis-companion/resp"
"github.com/harfangapps/regis-companion/addr"
"github.com/harfangapps/regis-companion/resp"
)

type killTunnelCmd struct{}
Expand Down
2 changes: 1 addition & 1 deletion server/ping_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package server
import (
"fmt"

"bitbucket.org/harfangapps/regis-companion/resp"
"github.com/harfangapps/regis-companion/resp"
)

type pingCmd struct{}
Expand Down
10 changes: 5 additions & 5 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import (
"sync"
"time"

"bitbucket.org/harfangapps/regis-companion/addr"
"bitbucket.org/harfangapps/regis-companion/common"
"bitbucket.org/harfangapps/regis-companion/resp"
"bitbucket.org/harfangapps/regis-companion/sshconfig"
"bitbucket.org/harfangapps/regis-companion/tunnel"
"github.com/harfangapps/regis-companion/addr"
"github.com/harfangapps/regis-companion/common"
"github.com/harfangapps/regis-companion/resp"
"github.com/harfangapps/regis-companion/sshconfig"
"github.com/harfangapps/regis-companion/tunnel"

"github.com/pkg/errors"
)
Expand Down
4 changes: 2 additions & 2 deletions server/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (

"github.com/pkg/errors"

"bitbucket.org/harfangapps/regis-companion/internal/testutils"
"bitbucket.org/harfangapps/regis-companion/resp"
"github.com/harfangapps/regis-companion/internal/testutils"
"github.com/harfangapps/regis-companion/resp"
)

var tcpAddr = &net.TCPAddr{IP: net.ParseIP("127.0.0.1"), Port: 8000}
Expand Down
10 changes: 5 additions & 5 deletions server/server_tunnel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import (

"github.com/pkg/errors"

"bitbucket.org/harfangapps/regis-companion/addr"
"bitbucket.org/harfangapps/regis-companion/internal/testutils"
"bitbucket.org/harfangapps/regis-companion/resp"
"bitbucket.org/harfangapps/regis-companion/sshconfig"
"bitbucket.org/harfangapps/regis-companion/tunnel"
"github.com/harfangapps/regis-companion/addr"
"github.com/harfangapps/regis-companion/internal/testutils"
"github.com/harfangapps/regis-companion/resp"
"github.com/harfangapps/regis-companion/sshconfig"
"github.com/harfangapps/regis-companion/tunnel"
"golang.org/x/crypto/ssh"
)

Expand Down
2 changes: 1 addition & 1 deletion tunnel/tunnel.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

"golang.org/x/crypto/ssh"

"bitbucket.org/harfangapps/regis-companion/common"
"github.com/harfangapps/regis-companion/common"

"github.com/pkg/errors"
)
Expand Down
2 changes: 1 addition & 1 deletion tunnel/tunnel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

"github.com/pkg/errors"

"bitbucket.org/harfangapps/regis-companion/internal/testutils"
"github.com/harfangapps/regis-companion/internal/testutils"
"golang.org/x/crypto/ssh"
)

Expand Down

0 comments on commit 838cb4b

Please sign in to comment.