Skip to content

Commit 571587e

Browse files
committed
fix(deps): move to new gitlab dep
1 parent 4da999b commit 571587e

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111
github.com/slack-go/slack v0.17.1
1212
github.com/stretchr/testify v1.10.0
1313
github.com/urfave/cli/v2 v2.27.7
14-
github.com/xanzy/go-gitlab v0.115.0
14+
gitlab.com/gitlab-org/api/client-go v0.130.1
1515
golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b
1616
golang.org/x/sync v0.15.0
1717
)

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,12 @@ github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOf
108108
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
109109
github.com/urfave/cli/v2 v2.27.7 h1:bH59vdhbjLv3LAvIu6gd0usJHgoTTPhCFib8qqOwXYU=
110110
github.com/urfave/cli/v2 v2.27.7/go.mod h1:CyNAG/xg+iAOg0N4MPGZqVmv2rCoP267496AOXUZjA4=
111-
github.com/xanzy/go-gitlab v0.115.0 h1:6DmtItNcVe+At/liXSgfE/DZNZrGfalQmBRmOcJjOn8=
112-
github.com/xanzy/go-gitlab v0.115.0/go.mod h1:5XCDtM7AM6WMKmfDdOiEpyRWUqui2iS9ILfvCZ2gJ5M=
113111
github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM=
114112
github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw=
115113
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 h1:gEOO8jv9F4OT7lGCjxCBTO/36wtF6j2nSip77qHd4x4=
116114
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1/go.mod h1:Ohn+xnUBiLI6FVj/9LpzZWtj1/D6lUovWYBkxHVV3aM=
115+
gitlab.com/gitlab-org/api/client-go v0.130.1 h1:1xF5C5Zq3sFeNg3PzS2z63oqrxifne3n/OnbI7nptRc=
116+
gitlab.com/gitlab-org/api/client-go v0.130.1/go.mod h1:ZhSxLAWadqP6J9lMh40IAZOlOxBLPRh7yFOXR/bMJWM=
117117
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
118118
golang.org/x/crypto v0.39.0 h1:SHs+kF4LP+f+p14esP5jAoDpHU8Gu/v9lFRK6IT5imM=
119119
golang.org/x/crypto v0.39.0/go.mod h1:L+Xg3Wf6HoL4Bn4238Z6ft6KfEpN0tJGo53AAPC632U=

internal/repository/gitlab/gitlab.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"github.com/go-git/go-git/v5"
1111
"github.com/go-git/go-git/v5/plumbing/transport/http"
1212
"github.com/rs/zerolog/log"
13-
"github.com/xanzy/go-gitlab"
13+
gitlab "gitlab.com/gitlab-org/api/client-go"
1414
)
1515

1616
type gitlabService struct {

internal/repository/gitlab/gitlab_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package gitlab
66
// As such this MUST be as thin as possible and MUST not contain any business logic, since it is not testable.
77

88
import (
9-
"github.com/xanzy/go-gitlab"
9+
gitlab "gitlab.com/gitlab-org/api/client-go"
1010
)
1111

1212
type iclient interface {

internal/repository/gitlab/gitlab_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
"github.com/stretchr/testify/assert"
99
"github.com/stretchr/testify/mock"
10-
"github.com/xanzy/go-gitlab"
10+
gitlab "gitlab.com/gitlab-org/api/client-go"
1111
)
1212

1313
func TestNewService(t *testing.T) {

0 commit comments

Comments
 (0)