Skip to content

Commit ff46222

Browse files
author
Nick Thomas
committed
Rename import paths
1 parent 83d11f4 commit ff46222

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+225
-225
lines changed

cmd/check/main.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import (
44
"fmt"
55
"os"
66

7-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command"
8-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/readwriter"
9-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/config"
10-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/executable"
7+
"gitlab.com/gitlab-org/gitlab-shell/internal/command"
8+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/readwriter"
9+
"gitlab.com/gitlab-org/gitlab-shell/internal/config"
10+
"gitlab.com/gitlab-org/gitlab-shell/internal/executable"
1111
)
1212

1313
func main() {

cmd/gitlab-shell-authorized-keys-check/main.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import (
44
"fmt"
55
"os"
66

7-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command"
8-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/readwriter"
9-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/config"
10-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/executable"
7+
"gitlab.com/gitlab-org/gitlab-shell/internal/command"
8+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/readwriter"
9+
"gitlab.com/gitlab-org/gitlab-shell/internal/config"
10+
"gitlab.com/gitlab-org/gitlab-shell/internal/executable"
1111
)
1212

1313
func main() {

cmd/gitlab-shell-authorized-principals-check/main.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import (
44
"fmt"
55
"os"
66

7-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command"
8-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/readwriter"
9-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/config"
10-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/executable"
7+
"gitlab.com/gitlab-org/gitlab-shell/internal/command"
8+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/readwriter"
9+
"gitlab.com/gitlab-org/gitlab-shell/internal/config"
10+
"gitlab.com/gitlab-org/gitlab-shell/internal/executable"
1111
)
1212

1313
func main() {

cmd/gitlab-shell/main.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import (
44
"fmt"
55
"os"
66

7-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command"
8-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/readwriter"
9-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/config"
10-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/executable"
7+
"gitlab.com/gitlab-org/gitlab-shell/internal/command"
8+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/readwriter"
9+
"gitlab.com/gitlab-org/gitlab-shell/internal/config"
10+
"gitlab.com/gitlab-org/gitlab-shell/internal/executable"
1111
)
1212

1313
func main() {

internal/command/authorizedkeys/authorized_keys.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import (
44
"fmt"
55
"strconv"
66

7-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/commandargs"
8-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/readwriter"
9-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/config"
10-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/gitlabnet/authorizedkeys"
11-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/keyline"
7+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/commandargs"
8+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/readwriter"
9+
"gitlab.com/gitlab-org/gitlab-shell/internal/config"
10+
"gitlab.com/gitlab-org/gitlab-shell/internal/gitlabnet/authorizedkeys"
11+
"gitlab.com/gitlab-org/gitlab-shell/internal/keyline"
1212
)
1313

1414
type Command struct {

internal/command/authorizedkeys/authorized_keys_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import (
88

99
"github.com/stretchr/testify/require"
1010

11-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/commandargs"
12-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/readwriter"
13-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/config"
14-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/gitlabnet/testserver"
11+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/commandargs"
12+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/readwriter"
13+
"gitlab.com/gitlab-org/gitlab-shell/internal/config"
14+
"gitlab.com/gitlab-org/gitlab-shell/internal/gitlabnet/testserver"
1515
)
1616

1717
var (

internal/command/authorizedprincipals/authorized_principals.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ package authorizedprincipals
33
import (
44
"fmt"
55

6-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/commandargs"
7-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/readwriter"
8-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/config"
9-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/keyline"
6+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/commandargs"
7+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/readwriter"
8+
"gitlab.com/gitlab-org/gitlab-shell/internal/config"
9+
"gitlab.com/gitlab-org/gitlab-shell/internal/keyline"
1010
)
1111

1212
type Command struct {

internal/command/authorizedprincipals/authorized_principals_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66

77
"github.com/stretchr/testify/require"
88

9-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/commandargs"
10-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/readwriter"
11-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/config"
9+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/commandargs"
10+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/readwriter"
11+
"gitlab.com/gitlab-org/gitlab-shell/internal/config"
1212
)
1313

1414
func TestExecute(t *testing.T) {

internal/command/command.go

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
package command
22

33
import (
4-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/authorizedkeys"
5-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/authorizedprincipals"
6-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/commandargs"
7-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/discover"
8-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/healthcheck"
9-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/lfsauthenticate"
10-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/readwriter"
11-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/receivepack"
12-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/shared/disallowedcommand"
13-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/twofactorrecover"
14-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/uploadarchive"
15-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/uploadpack"
16-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/config"
17-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/executable"
4+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/authorizedkeys"
5+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/authorizedprincipals"
6+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/commandargs"
7+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/discover"
8+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/healthcheck"
9+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/lfsauthenticate"
10+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/readwriter"
11+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/receivepack"
12+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/shared/disallowedcommand"
13+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/twofactorrecover"
14+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/uploadarchive"
15+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/uploadpack"
16+
"gitlab.com/gitlab-org/gitlab-shell/internal/config"
17+
"gitlab.com/gitlab-org/gitlab-shell/internal/executable"
1818
)
1919

2020
type Command interface {

internal/command/command_test.go

+13-13
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ import (
66

77
"github.com/stretchr/testify/require"
88

9-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/authorizedkeys"
10-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/authorizedprincipals"
11-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/discover"
12-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/healthcheck"
13-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/lfsauthenticate"
14-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/receivepack"
15-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/shared/disallowedcommand"
16-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/twofactorrecover"
17-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/uploadarchive"
18-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/uploadpack"
19-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/config"
20-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/executable"
21-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/testhelper"
9+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/authorizedkeys"
10+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/authorizedprincipals"
11+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/discover"
12+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/healthcheck"
13+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/lfsauthenticate"
14+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/receivepack"
15+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/shared/disallowedcommand"
16+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/twofactorrecover"
17+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/uploadarchive"
18+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/uploadpack"
19+
"gitlab.com/gitlab-org/gitlab-shell/internal/config"
20+
"gitlab.com/gitlab-org/gitlab-shell/internal/executable"
21+
"gitlab.com/gitlab-org/gitlab-shell/internal/testhelper"
2222
)
2323

2424
var (

internal/command/commandargs/command_args.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package commandargs
22

33
import (
4-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/executable"
4+
"gitlab.com/gitlab-org/gitlab-shell/internal/executable"
55
)
66

77
type CommandType string

internal/command/commandargs/command_args_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package commandargs
33
import (
44
"testing"
55

6-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/executable"
7-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/testhelper"
6+
"gitlab.com/gitlab-org/gitlab-shell/internal/executable"
7+
"gitlab.com/gitlab-org/gitlab-shell/internal/testhelper"
88

99
"github.com/stretchr/testify/require"
1010
)

internal/command/discover/discover.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ package discover
33
import (
44
"fmt"
55

6-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/commandargs"
7-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/readwriter"
8-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/config"
9-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/gitlabnet/discover"
6+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/commandargs"
7+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/readwriter"
8+
"gitlab.com/gitlab-org/gitlab-shell/internal/config"
9+
"gitlab.com/gitlab-org/gitlab-shell/internal/gitlabnet/discover"
1010
)
1111

1212
type Command struct {

internal/command/discover/discover_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import (
99

1010
"github.com/stretchr/testify/require"
1111

12-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/commandargs"
13-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/readwriter"
14-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/config"
15-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/gitlabnet/testserver"
12+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/commandargs"
13+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/readwriter"
14+
"gitlab.com/gitlab-org/gitlab-shell/internal/config"
15+
"gitlab.com/gitlab-org/gitlab-shell/internal/gitlabnet/testserver"
1616
)
1717

1818
var (

internal/command/healthcheck/healthcheck.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package healthcheck
33
import (
44
"fmt"
55

6-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/readwriter"
7-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/config"
8-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/gitlabnet/healthcheck"
6+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/readwriter"
7+
"gitlab.com/gitlab-org/gitlab-shell/internal/config"
8+
"gitlab.com/gitlab-org/gitlab-shell/internal/gitlabnet/healthcheck"
99
)
1010

1111
var (

internal/command/healthcheck/healthcheck_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import (
88

99
"github.com/stretchr/testify/require"
1010

11-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/readwriter"
12-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/config"
13-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/gitlabnet/healthcheck"
14-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/gitlabnet/testserver"
11+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/readwriter"
12+
"gitlab.com/gitlab-org/gitlab-shell/internal/config"
13+
"gitlab.com/gitlab-org/gitlab-shell/internal/gitlabnet/healthcheck"
14+
"gitlab.com/gitlab-org/gitlab-shell/internal/gitlabnet/testserver"
1515
)
1616

1717
var (

internal/command/lfsauthenticate/lfsauthenticate.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ import (
55
"encoding/json"
66
"fmt"
77

8-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/commandargs"
9-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/readwriter"
10-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/shared/accessverifier"
11-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/shared/disallowedcommand"
12-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/config"
13-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/gitlabnet/lfsauthenticate"
8+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/commandargs"
9+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/readwriter"
10+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/shared/accessverifier"
11+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/shared/disallowedcommand"
12+
"gitlab.com/gitlab-org/gitlab-shell/internal/config"
13+
"gitlab.com/gitlab-org/gitlab-shell/internal/gitlabnet/lfsauthenticate"
1414
)
1515

1616
const (

internal/command/lfsauthenticate/lfsauthenticate_test.go

+7-7
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ import (
99

1010
"github.com/stretchr/testify/require"
1111

12-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/commandargs"
13-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/readwriter"
14-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/config"
15-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/gitlabnet/accessverifier"
16-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/gitlabnet/lfsauthenticate"
17-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/gitlabnet/testserver"
18-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/testhelper/requesthandlers"
12+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/commandargs"
13+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/readwriter"
14+
"gitlab.com/gitlab-org/gitlab-shell/internal/config"
15+
"gitlab.com/gitlab-org/gitlab-shell/internal/gitlabnet/accessverifier"
16+
"gitlab.com/gitlab-org/gitlab-shell/internal/gitlabnet/lfsauthenticate"
17+
"gitlab.com/gitlab-org/gitlab-shell/internal/gitlabnet/testserver"
18+
"gitlab.com/gitlab-org/gitlab-shell/internal/testhelper/requesthandlers"
1919
)
2020

2121
func TestFailedRequests(t *testing.T) {

internal/command/receivepack/customaction.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"net/http"
1010
"strings"
1111

12-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/gitlabnet"
13-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/gitlabnet/accessverifier"
12+
"gitlab.com/gitlab-org/gitlab-shell/internal/gitlabnet"
13+
"gitlab.com/gitlab-org/gitlab-shell/internal/gitlabnet/accessverifier"
1414
)
1515

1616
type Request struct {

internal/command/receivepack/customaction_test.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ import (
99

1010
"github.com/stretchr/testify/require"
1111

12-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/commandargs"
13-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/readwriter"
14-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/config"
15-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/gitlabnet/accessverifier"
16-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/gitlabnet/testserver"
12+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/commandargs"
13+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/readwriter"
14+
"gitlab.com/gitlab-org/gitlab-shell/internal/config"
15+
"gitlab.com/gitlab-org/gitlab-shell/internal/gitlabnet/accessverifier"
16+
"gitlab.com/gitlab-org/gitlab-shell/internal/gitlabnet/testserver"
1717
)
1818

1919
func TestCustomReceivePack(t *testing.T) {

internal/command/receivepack/gitalycall.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77

88
"gitlab.com/gitlab-org/gitaly/client"
99
pb "gitlab.com/gitlab-org/gitaly/proto/go/gitalypb"
10-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/commandargs"
11-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/shared/accessverifier"
12-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/handler"
10+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/commandargs"
11+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/shared/accessverifier"
12+
"gitlab.com/gitlab-org/gitlab-shell/internal/handler"
1313
)
1414

1515
func (c *Command) performGitalyCall(response *accessverifier.Response) error {

internal/command/receivepack/gitalycall_test.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ import (
66

77
"github.com/stretchr/testify/require"
88

9-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/commandargs"
10-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/readwriter"
11-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/config"
12-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/gitlabnet/testserver"
13-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/testhelper/requesthandlers"
9+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/commandargs"
10+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/readwriter"
11+
"gitlab.com/gitlab-org/gitlab-shell/internal/config"
12+
"gitlab.com/gitlab-org/gitlab-shell/internal/gitlabnet/testserver"
13+
"gitlab.com/gitlab-org/gitlab-shell/internal/testhelper/requesthandlers"
1414
)
1515

1616
func TestReceivePack(t *testing.T) {

internal/command/receivepack/receivepack.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
package receivepack
22

33
import (
4-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/commandargs"
5-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/readwriter"
6-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/shared/accessverifier"
7-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/shared/disallowedcommand"
8-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/config"
4+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/commandargs"
5+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/readwriter"
6+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/shared/accessverifier"
7+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/shared/disallowedcommand"
8+
"gitlab.com/gitlab-org/gitlab-shell/internal/config"
99
)
1010

1111
type Command struct {

internal/command/receivepack/receivepack_test.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ import (
66

77
"github.com/stretchr/testify/require"
88

9-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/commandargs"
10-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/command/readwriter"
11-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/config"
12-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/gitlabnet/testserver"
13-
"gitlab.com/gitlab-org/gitlab-shell/go/internal/testhelper/requesthandlers"
9+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/commandargs"
10+
"gitlab.com/gitlab-org/gitlab-shell/internal/command/readwriter"
11+
"gitlab.com/gitlab-org/gitlab-shell/internal/config"
12+
"gitlab.com/gitlab-org/gitlab-shell/internal/gitlabnet/testserver"
13+
"gitlab.com/gitlab-org/gitlab-shell/internal/testhelper/requesthandlers"
1414
)
1515

1616
func TestForbiddenAccess(t *testing.T) {

0 commit comments

Comments
 (0)