summaryrefslogtreecommitdiff
path: root/internal/command/receivepack
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2019-10-17 12:10:37 +0100
committerNick Thomas <nick@gitlab.com>2019-10-18 11:47:25 +0100
commitff46222a3a75467d6b22c94abb09a3bb6be60623 (patch)
tree9e9a141a436dbce198eb8c3cbe69be97f71d92b4 /internal/command/receivepack
parent83d11f4deeb20b852a0af3433190a0f7250a0027 (diff)
downloadgitlab-shell-ff46222a3a75467d6b22c94abb09a3bb6be60623.tar.gz
Rename import paths
Diffstat (limited to 'internal/command/receivepack')
-rw-r--r--internal/command/receivepack/customaction.go4
-rw-r--r--internal/command/receivepack/customaction_test.go10
-rw-r--r--internal/command/receivepack/gitalycall.go6
-rw-r--r--internal/command/receivepack/gitalycall_test.go10
-rw-r--r--internal/command/receivepack/receivepack.go10
-rw-r--r--internal/command/receivepack/receivepack_test.go10
6 files changed, 25 insertions, 25 deletions
diff --git a/internal/command/receivepack/customaction.go b/internal/command/receivepack/customaction.go
index 8623437..c94ae4c 100644
--- a/internal/command/receivepack/customaction.go
+++ b/internal/command/receivepack/customaction.go
@@ -9,8 +9,8 @@ import (
"net/http"
"strings"
- "gitlab.com/gitlab-org/gitlab-shell/go/internal/gitlabnet"
- "gitlab.com/gitlab-org/gitlab-shell/go/internal/gitlabnet/accessverifier"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/gitlabnet"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/gitlabnet/accessverifier"
)
type Request struct {
diff --git a/internal/command/receivepack/customaction_test.go b/internal/command/receivepack/customaction_test.go
index bd4991d..2a4a718 100644
--- a/internal/command/receivepack/customaction_test.go
+++ b/internal/command/receivepack/customaction_test.go
@@ -9,11 +9,11 @@ import (
"github.com/stretchr/testify/require"
- "gitlab.com/gitlab-org/gitlab-shell/go/internal/command/commandargs"
- "gitlab.com/gitlab-org/gitlab-shell/go/internal/command/readwriter"
- "gitlab.com/gitlab-org/gitlab-shell/go/internal/config"
- "gitlab.com/gitlab-org/gitlab-shell/go/internal/gitlabnet/accessverifier"
- "gitlab.com/gitlab-org/gitlab-shell/go/internal/gitlabnet/testserver"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/command/commandargs"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/command/readwriter"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/config"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/gitlabnet/accessverifier"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/gitlabnet/testserver"
)
func TestCustomReceivePack(t *testing.T) {
diff --git a/internal/command/receivepack/gitalycall.go b/internal/command/receivepack/gitalycall.go
index d735f17..f440672 100644
--- a/internal/command/receivepack/gitalycall.go
+++ b/internal/command/receivepack/gitalycall.go
@@ -7,9 +7,9 @@ import (
"gitlab.com/gitlab-org/gitaly/client"
pb "gitlab.com/gitlab-org/gitaly/proto/go/gitalypb"
- "gitlab.com/gitlab-org/gitlab-shell/go/internal/command/commandargs"
- "gitlab.com/gitlab-org/gitlab-shell/go/internal/command/shared/accessverifier"
- "gitlab.com/gitlab-org/gitlab-shell/go/internal/handler"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/command/commandargs"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/command/shared/accessverifier"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/handler"
)
func (c *Command) performGitalyCall(response *accessverifier.Response) error {
diff --git a/internal/command/receivepack/gitalycall_test.go b/internal/command/receivepack/gitalycall_test.go
index eac9218..361596a 100644
--- a/internal/command/receivepack/gitalycall_test.go
+++ b/internal/command/receivepack/gitalycall_test.go
@@ -6,11 +6,11 @@ import (
"github.com/stretchr/testify/require"
- "gitlab.com/gitlab-org/gitlab-shell/go/internal/command/commandargs"
- "gitlab.com/gitlab-org/gitlab-shell/go/internal/command/readwriter"
- "gitlab.com/gitlab-org/gitlab-shell/go/internal/config"
- "gitlab.com/gitlab-org/gitlab-shell/go/internal/gitlabnet/testserver"
- "gitlab.com/gitlab-org/gitlab-shell/go/internal/testhelper/requesthandlers"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/command/commandargs"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/command/readwriter"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/config"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/gitlabnet/testserver"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/testhelper/requesthandlers"
)
func TestReceivePack(t *testing.T) {
diff --git a/internal/command/receivepack/receivepack.go b/internal/command/receivepack/receivepack.go
index eb0b2fe..aaaf7b0 100644
--- a/internal/command/receivepack/receivepack.go
+++ b/internal/command/receivepack/receivepack.go
@@ -1,11 +1,11 @@
package receivepack
import (
- "gitlab.com/gitlab-org/gitlab-shell/go/internal/command/commandargs"
- "gitlab.com/gitlab-org/gitlab-shell/go/internal/command/readwriter"
- "gitlab.com/gitlab-org/gitlab-shell/go/internal/command/shared/accessverifier"
- "gitlab.com/gitlab-org/gitlab-shell/go/internal/command/shared/disallowedcommand"
- "gitlab.com/gitlab-org/gitlab-shell/go/internal/config"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/command/commandargs"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/command/readwriter"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/command/shared/accessverifier"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/command/shared/disallowedcommand"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/config"
)
type Command struct {
diff --git a/internal/command/receivepack/receivepack_test.go b/internal/command/receivepack/receivepack_test.go
index a45d054..1d7bd21 100644
--- a/internal/command/receivepack/receivepack_test.go
+++ b/internal/command/receivepack/receivepack_test.go
@@ -6,11 +6,11 @@ import (
"github.com/stretchr/testify/require"
- "gitlab.com/gitlab-org/gitlab-shell/go/internal/command/commandargs"
- "gitlab.com/gitlab-org/gitlab-shell/go/internal/command/readwriter"
- "gitlab.com/gitlab-org/gitlab-shell/go/internal/config"
- "gitlab.com/gitlab-org/gitlab-shell/go/internal/gitlabnet/testserver"
- "gitlab.com/gitlab-org/gitlab-shell/go/internal/testhelper/requesthandlers"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/command/commandargs"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/command/readwriter"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/config"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/gitlabnet/testserver"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/testhelper/requesthandlers"
)
func TestForbiddenAccess(t *testing.T) {